Srn exercise

2 views
Skip to first unread message

Stephen Read

unread,
Oct 27, 2025, 10:40:12 PM10/27/25
to michae...@brown.edu, emergent-users

Hi Michael,

  My class has discovered that the current version of the srn or maybe the accompanying go.mod is incompatible with the latest version of go, I believe 1.25.4.  But if 1.23.1 is installed the srn works.  Later versions of 1.23.1 probably also work, but we haven’t tried them.

Best, Steve

 

 

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

 

 

 

Michael J Frank

unread,
Oct 28, 2025, 8:01:53 AM10/28/25
to Stephen Read, emergent-users
Ok thanks Steve. Are there any error messages that are given that would suggest how to update the code for the latest version? 

M

Michael J Frank, PhD | Edgar L. Marston Professor
Brown University
website 

Stephen Read

unread,
Oct 28, 2025, 10:20:18 AM10/28/25
to Michael J Frank, emergent-users
Yes I will track down one of the student messages


From: Michael J Frank <Michae...@brown.edu>
Sent: Tuesday, October 28, 2025 5:00:00 AM
To: Stephen Read <re...@usc.edu>
Cc: emergent-users <emergen...@googlegroups.com>
Subject: Re: Srn exercise
 

Stephen Read

unread,
Oct 28, 2025, 12:24:47 PM10/28/25
to Michael J Frank, emergent-users

Here is the error message from one student. Note that other students got basically the same message, even if they did not run go mod tidy.

 

Hello Professor Read! For the midterm project, I am also unable to run the initial version of srn.go without any modifications. I installed the Go version of go version go1.25.0 darwin/arm64. I installed using the installer from golang. I did run “go mod tidy” after installing go and emergent/leabra. The error I get is “# golang.org/x/tools/internal/tokeninternal
../../../../go/pkg/mod/golang.org/x/to...@v0.20.0/internal/tokeninternal/tokeninternal.go:64:9: invalid array length -delta * delta (constant -256 of type int64)
core run failed: error building app: build: error building for platform darwin/arm64: failed to run “go build -ldflags -s -w -X 
cogentcore.org/core/system.CoreVersion=v0.3.5 -o /Users/Selina/Documents/PSYC450/psyc450-SRN_midterm_CogentCore/srn/srn: exit status 1”, which is an incompatibility between a specific older version of the golang.org/x/tools dependency (v0.20.0) and the Go compiler. How can I resolve this problem? Thank you! (edited) 

 

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

 

 

 

 

From: emergen...@googlegroups.com <emergen...@googlegroups.com> on behalf of Stephen Read <re...@usc.edu>
Date: Tuesday, October 28, 2025 at 7:20
AM
To: Michael J Frank <Michae...@brown.edu>
Cc: emergent-users <emergen...@googlegroups.com>
Subject: Re: Srn exercise

Yes I will track down one of the student messages Get Outlook for iOS From: Michael J Frank <Michael_Frank@brown.edu> Sent: Tuesday, October 28, 2025 5:00:00 AM To: Stephen Read <read@usc.edu> Cc: emergent-users <emergent-users@googlegroups.com>

--
You received this message because you are subscribed to the Google Groups "emergent-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to emergent-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/emergent-users/BYAPR07MB46794B65C5966B29DAA54266D7FDA%40BYAPR07MB4679.namprd07.prod.outlook.com.

Reply all
Reply to author
Forward
0 new messages