Closed winder closed 3 years ago
After further investigation, the first real error seems to be:
_norns._post_startup
# script clear
norns.startup_status.timeout
### SCRIPT ERROR: SUPERCOLLIDER FAIL
Same issue here!
in the OP, it looks like this is the system's first run of supercollider after installing norns/sc/norns-config.sc
to the SC extensions path.
we use this small installed extension as a "trampoline" to tell SC how to bring in all the other norns-related SC code (system and user/engines.)
on the second run you should see more stuff, including a block like
-------------------------------------------------
Norns startup
OSC rx port: 57120
OSC tx port: 8888
server port: 57110
crone port: 9999
--------------------------------------------------
and it should boot an scsynth
server and make the norns startup sound. (warbly stereo sinewaves.)
that should take care of this particular error. of course there are likely to be other issues...
@catfact thanks. Running it twice did change things:
we@6e9b2feae228:~/norns$ sclang
compiling class library...
Found 738 primitives.
Compiling directory '/usr/local/share/SuperCollider/SCClassLibrary'
Compiling directory '/usr/local/share/SuperCollider/Extensions'
Compiling directory '/home/we/.local/share/SuperCollider/Extensions'
Compiling directory '/home/we/norns/sc/core'
Compiling directory '/home/we/norns/sc/engines'
WARNING: Could not open directory: '/home/we/norns/sc/ugens'
To resolve this, either create the directory or remove it from your compilation paths.
Compiling directory '/home/we/dust'
ERROR: duplicate Class found: 'AudioTaper'
/home/we/norns/sc/engines/AudioTaper.sc
/home/we/dust/lib/sc/abstractions/AudioTaper.sc
ERROR: duplicate Class found: 'ReverseAudioTaper'
/home/we/norns/sc/engines/AudioTaper.sc
/home/we/dust/lib/sc/abstractions/AudioTaper.sc
ERROR: duplicate Class found: 'PatchMatrix'
/home/we/norns/sc/engines/PatchMatrix.sc
/home/we/dust/lib/sc/abstractions/PatchMatrix.sc
ERROR: duplicate Class found: 'CroneGenEngine'
/home/we/norns/sc/engines/CroneGenEngine.sc
/home/we/dust/lib/sc/abstractions/CroneGenEngine.sc
ERROR: duplicate Class found: 'CroneSynthDefIntrospectionUtil'
/home/we/norns/sc/engines/CroneGenEngine.sc
/home/we/dust/lib/sc/abstractions/CroneGenEngine.sc
ERROR: duplicate Class found: 'BufUtil'
/home/we/norns/sc/engines/BufUtil.sc
/home/we/dust/lib/sc/abstractions/BufUtil.sc
ERROR: There is a discrepancy.
numClassDeps 1560 gNumClasses 3108
sc3> ?
Library has not been compiled successfully.
sc3>
One thing I noticed is that supercollider is no longer listed by waf configure in the beta branches, do you know if that could be related?
Setting top to : /home/we/norns
Setting out to : /home/we/norns/build
Checking for 'gcc' (C compiler) : /usr/bin/gcc
Checking for 'g++' (C++ compiler) : /usr/bin/g++
Checking for program 'pkg-config' : /usr/bin/pkg-config
Checking for 'alsa' : yes
Checking for 'libudev' : yes
Checking for 'libevdev' : yes
Checking for 'liblo' : yes
Checking for 'cairo' : yes
Checking for 'cairo-ft' : yes
Checking for 'lua53' : yes
Checking for 'nanomsg' : yes
Checking for 'avahi-compat-libdns_sd' : yes
Checking for 'sndfile' : yes
Checking for 'jack' : yes
Checking for libmonome : yes
Checking for program 'dpkg-architecture' : /usr/bin/dpkg-architecture
Checking boost includes : 1.67.0
Checking for 'gcc' (C compiler) : /usr/bin/gcc
Checking for 'g++' (C++ compiler) : /usr/bin/g++
Checking for 'ncursesw' : yes
Checking for 'panel' : yes
Checking for 'nanomsg' : yes
'configure' finished successfully (0.296s)
I may try going back to the 2.5.4 branch
remove /home/we/dust/lib
, that shouldn't be there. it looks like you cloned the monome/dust
repo. this is not recommended anywhere - if it is, that is a mistake: i don't know how @tehn constructs ~/dust
in the norns image but i don't think it is that way. (and we should either clean up that repo, retire it, and/or clarify its use.)
i would just create empty folders ~/dust/code
and ~/dust/data
. (these are intended to be locations administered by the user, where scripts are installed (code
) and where scripts and system can write persistent state (data
).) if the lua stack complains about missing subdirectories then you can go ahead and create those too.
One thing I noticed is that supercollider is no longer listed by waf configure in the beta branches, do you know if that could be related?
we removed build targets for some custom ugens that are no longer needed and would be better distributed as quarks/packages anyway. therefore we do not need to compile any c/c++ targets against SC sources. no, it's not related to this issue of duplicate classes in the sclang class library.
@catfact thanks for the hint. After fixing the dust folder supercollider starts and matron gets further!
i've added a note to the dust repo and archived it, sorry for the confusion
This is working now, thanks for all of the help.
I'm trying to get the norns environment running in a docker container. The configuration is based on norns-dev, which works (including audio passthrough from the container), but it's configured to use software from 2018. I've updated the software to recent versions and everything is building and the stack runs, but is not working properly.
If someone could review the output I have below and suggest where to go from here I would really appreciate it.
jackd started with no error (once things are working I'll try :
crone started with no error:
Maiden starts with a dbus error, but I'm able to load the webapp, and the REPL connection to matron works:
Matron starts but there are errors. The ones during startup don't seem to be a problem, but the lua engine is not properly started and there is a timeout failure. When loading a script there are more errors and a stack trace: