ccnlab / hip-edl

Error-driven learning (EDL) in the hippocampus
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

./sims NSInternalInconsistencyException #1

Open lungerjo opened 8 months ago

lungerjo commented 8 months ago

I'm getting this exception after building and executing sims

NThreads: 4 go max procs: 8 num cpu:8 NThreads: 4 go max procs: 8 num cpu:8 2024-01-19 17:09:53.231 sims[6198:66971] Assertion failure in -[NSMenu _setMenuName:], NSMenu.m:772 Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'API misuse warning: setting the main menu on a non-main thread. Main menu contents should only be modified from the main thread.' *** First throw call stack: ( 0 CoreFoundation 0x0000000188324570 __exceptionPreprocess + 176 1 libobjc.A.dylib 0x0000000187e15eb4 objc_exception_throw + 60 2 Foundation 0x000000018946c43c -[NSCalendarDate initWithCoder:] + 0 3 AppKit 0x000000018ba67d54 -[NSMenu _setMenuName:] + 488 4 AppKit 0x000000018ba7c8f8 -[NSApplication setMainMenu:] + 372 5 sims 0x00000001013ef108 newMainMenu + 368 6 sims 0x00000001013ee814 _cgo_21fe0b179b7b_Cfunc_doNewMainMenu + 36 7 sims 0x00000001003648cc runtime.asmcgocall.abi0 + 124 )

I'm on MacOS 14.2.1. I've installed Go and VulkanSDK and I am able to build and run widgets.go from Goki examples and ra25 from emergent examples.

rcoreilly commented 8 months ago

You need to update the go.mod dependencies -- see https://github.com/CompCogNeuro/sims for example. may need to tweak a few things to get it to build -- lmk if you can't get it to work and I could fix it..

lungerjo commented 7 months ago

I don't understand the project structure enough to update the dependencies without breaking something. Can you take a look?