Leabra problem with updated installtion

11 views
Skip to first unread message

Stephen Read

unread,
Feb 18, 2024, 6:40:17 PM2/18/24
to emergen...@googlegroups.com

As I wrote in an earlier email, at least three of my students were getting the following message when they created their own code directory, using ra25. I just updated the go.mod in one of my code directories for another program because something I built a year ago was now crashing.  When I did that I now get the following errors.  I have also tried with lea...@v1.2.5 and 1.2.9 and get the identical error, except that the version number is different. 

One of my students spent hours on this and finally got it to work, but he has no idea how.

 

When I originally built my program it was using lea...@v1.2.7, so I don’t understand what is suddenly going on.  I’m running Sonoma 14.2.1.

 

# github.com/emer/leabra/leabra

../../go/pkg/mod/github.com/emer/lea...@v1.2.7/leabra/layer.go:155:45: not enough arguments in call to ly.LeabraLay.UnitVal1D

                have (int, int)

                want (int, int, int)

../../go/pkg/mod/github.com/emer/lea...@v1.2.7/leabra/layer.go:178:37: not enough arguments in call to ly.LeabraLay.UnitVal1D

                have (int, int)

                want (int, int, int)

../../go/pkg/mod/github.com/emer/lea...@v1.2.7/leabra/layer.go:220:37: not enough arguments in call to ly.LeabraLay.UnitVal1D

                have (int, int)

                want (int, int, int)

../../go/pkg/mod/github.com/emer/lea...@v1.2.7/leabra/layer.go:238:38: not enough arguments in call to ly.LeabraLay.UnitVal1D

                have (int, int)

                want (int, int, int)

../../go/pkg/mod/github.com/emer/lea...@v1.2.7/leabra/layer.go:348:26: cannot use ly (variable of type *Layer) as type emer.Layer in argument to emer.SendNameTry:

                *Layer does not implement emer.Layer (missing AddClass method)

../../go/pkg/mod/github.com/emer/lea...@v1.2.7/leabra/layer.go:351:30: cannot use ly (variable of type *Layer) as type emer.Layer in argument to emer.SendNameTypeTry:

                *Layer does not implement emer.Layer (missing AddClass method)

../../go/pkg/mod/github.com/emer/lea...@v1.2.7/leabra/layer.go:354:26: cannot use ly (variable of type *Layer) as type emer.Layer in argument to emer.RecvNameTry:

                *Layer does not implement emer.Layer (missing AddClass method)

../../go/pkg/mod/github.com/emer/lea...@v1.2.7/leabra/layer.go:357:30: cannot use ly (variable of type *Layer) as type emer.Layer in argument to emer.RecvNameTypeTry:

                *Layer does not implement emer.Layer (missing AddClass method)

../../go/pkg/mod/github.com/emer/lea...@v1.2.7/leabra/network.go:39:9: cannot use &Layer{} (value of type *Layer) as type emer.Layer in return statement:

                *Layer does not implement emer.Layer (missing AddClass method)

../../go/pkg/mod/github.com/emer/lea...@v1.2.7/leabra/network.go:44:9: cannot use &Prjn{} (value of type *Prjn) as type emer.Prjn in return statement:

                *Prjn does not implement emer.Prjn (missing AddClass method)

../../go/pkg/mod/github.com/emer/lea...@v1.2.7/leabra/network.go:44:9: too many errors

 

Stephen J. Read

Mendel B. Silberberg Professor of Social Psychology

Department of Psychology

University of Southern California

Los Angeles, CA 90089-1061

Website: www.stephenjread.com

 

 

 

Reply all
Reply to author
Forward
0 new messages