sonic-pi icon indicating copy to clipboard operation
sonic-pi copied to clipboard

/usr/app/server/native/extra-ugens/ no such file or directory

Open Botspot opened this issue 5 years ago • 2 comments

Sonic Pi 3.0.1 is crashing on my Pi 4. Looking at the log, the only error listed is ERROR: open directory failed '/usr/app/server/native/extra-ugens/': No such file or directory Do I just create a directory at /usr/app/server/native/extra-ugens/? Or has Sonic Pi not been correctly installed for some reason?

Botspot avatar Jan 21 '20 01:01 Botspot

Here is the full output of the error report. Sonic Pi Boot Error Report

System Information

  • Sonic Pi version: 3.1.0
  • OS: Raspbian GNU/Linux 10 (buster)

GUI Log

/home/pi/.sonic-pi/log/gui.log

[GUI] - Detecting port numbers...
[GUI] - GUI OSC listen port 4558
[GUI] -    port: 4558 [OK]
[GUI] - Server OSC listen port 4557
[GUI] -    port: 4557 [OK]
[GUI] - Server incoming OSC cues port 4559
[GUI] -    port: 4559 [OK]
[GUI] - Scsynth port 4556
[GUI] -    port: 4556 [OK]
[GUI] - Server OSC out port 4558
[GUI] - GUI OSC out port 4557
[GUI] - Scsynth send port 4556
[GUI] - Erlang router port 4560
[GUI] -    port: 4560 [OK]
[GUI] - OSC MIDI out port 4561
[GUI] -    port: 4561 [OK]
[GUI] - OSC MIDI in port 4562
[GUI] -    port: 4562 [OK]
[GUI] - Init script completed
[GUI] - using default editor colours
[GUI] - launching Sonic Pi Server:
[GUI] - starting UDP OSC Server on port 4558...
[GUI] - UDP OSC Server ready and listening
[GUI] - Ruby server pid registered: 29349
[GUI] - waiting for Sonic Pi Server to boot...
............................................................
[GUI] - Critical error! Could not boot Sonic Pi Server.
[GUI] - stopping UDP OSC Server...
[GUI] - UDP OSC Server no longer listening

Server Errors

/home/pi/.sonic-pi/log/server-errors.log

Failed to load the fast_osc c-extension, falling back to pure Ruby version
Overriding fast_osc c-extension FastOsc::decode_single_message, falling back to pure Ruby version
ruby: No such file or directory -- /usr/app/server/ruby/bin/task-register.rb (LoadError)
ruby: No such file or directory -- /usr/app/server/ruby/bin/task-register.rb (LoadError)
Cannot read socket fd = 6 err = Success
CheckRes error
JackSocketClientChannel read fail
Cannot open SuperCollider client
JackShmReadWritePtr1::~JackShmReadWritePtr1 - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
terminate called without an active exception

Botspot avatar Jan 21 '20 01:01 Botspot

@Botspot - since this issue was raised there have been more recent releases of Sonic Pi. Someone has helpfully created a deb file to install the latest version on a RPi - check https://in-thread.sonic-pi.net/t/sonic-pi-3-2-2-deb-file-for-raspbian-released/3606. If that works for you, feel free to close this issue.

ethancrawford avatar Apr 13 '20 08:04 ethancrawford