You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sonic Pi Boot Error Report
==================
System Information
----------------
* Sonic Pi version: 3.3.1
* OS: Windows 10 Version 2009
GUI Log
-------
**`C:\Users\Joey.Joey-PC\.sonic-pi\log\gui.log`**
[GUI] -
[GUI] -
[GUI] -
[GUI] - Welcome to the Sonic Pi GUI
[GUI] - ===========================
[GUI] -
[GUI] - {1c2eff99-8bb2-43c7-ae22-7c96a2b599ec}
[GUI] - ui locale: fr-FR
[GUI] - sys locale: fr_FR
[GUI] - translations available
[GUI] - Discovering port numbers...
[GUI] - Port entry server-listen-to-gui : 51235 : 51235
[GUI] - Port entry gui-send-to-server : 51235 : 51235
[GUI] - Port entry gui-listen-to-server : 51236 : 51236
[GUI] - Port entry server-send-to-gui : 51236 : 51236
[GUI] - Port entry scsynth : 51237 : 51237
[GUI] - Port entry scsynth-send : 51237 : 51237
[GUI] - Port entry server-osc-cues : 4560 : 4560
[GUI] - Port entry erlang-router : 51238 : 51238
[GUI] - Port entry websocket : 51239 : 51239
[GUI] - Detecting port numbers...
[GUI] - GUI listen to server port 51236
[GUI] - port: 51236 [OK]
[GUI] - Server listen to gui port 51235
[GUI] - port: 51235 [OK]
[GUI] - Server incoming OSC cues port 4560
[GUI] - port: 4560 [OK]
[GUI] - Scsynth port 51237
[GUI] - port: 51237 [OK]
[GUI] - Server send to GUI port 51236
[GUI] - port: 51236 [OK]
[GUI] - GUI send to server port 51235
[GUI] - port: 51235 [OK]
[GUI] - Scsynth send port 51237
[GUI] - port: 51237 [OK]
[GUI] - Erlang router port 51238
[GUI] - port: 51238 [OK]
[GUI] - Websocket port 51239
[GUI] - port: 51239 [OK]
[GUI] - All ports OK
[GUI] - hiding main window
[GUI] - initialising toolbar icons
[GUI] - setting up window structure
[GUI] - restoring scope states
[GUI] - creating status bar
[GUI] - creating info panel
[GUI] - creating shortcuts
[GUI] - creating tool bar
[GUI] - initialising documentation window
[GUI] - launching Sonic Pi Runtime Server:
[GUI] - starting UDP OSC Server on port 51236...
[GUI] - UDP OSC Server ready and listening
[GUI] - Ruby server pid registered: 8744
[GUI] - wait for sync
[GUI] - waiting for Sonic Pi Server to boot...
............................................................
[GUI] - Critical error! Could not boot Sonic Pi Server.
[GUI] - stopping UDP OSC Server...
[GUI] - Critical Error. Unable to connect to server..
[GUI] - UDP OSC Server no longer listening
Server Errors
-------------
**`C:\Users\Joey.Joey-PC\.sonic-pi\log\server-errors.log`**
Server Output
-------------
**`C:\Users\Joey.Joey-PC\.sonic-pi\log\server-output.log`**
Sonic Pi server booting...
The time is 2021-10-18 20:37:12 +0200
Using primary protocol: udp
Detecting port numbers...
Listen port: 51235
OK
Scsynth port: 51237
OK
Scsynth send port: 51237
OK
OSC cues port: 4560
OK
Erlang port: 51238
OK
Websocket port: 4562
OK
Opening UDP Server to listen to GUI on port: 51235
ERROR: Unable to write information for PID 3168 to path C:/Users/JOEY~1.JOE/AppData/Local/Temp/sonic-pi-pids/3168!
undefined method `cmdline' for nil:NilClass
Windows WDM-KS : MIDI (Avnex Virtual Audio Device) (device CPU usage #25 with 2 ins 0 outs)
Windows WDM-KS : Speakers (Avnex Virtual Audio Device) (device Using sonic pi remotely #26 with 0 ins 2 outs)
Windows WDM-KS : Microphone (Screaming Bee Wave) (device Usage of QProcess #27 with 2 ins 0 outs)
Requested devices:
In:
(default)
Out:
(default)
Selecting default system input/output devices
Booting with:
In: MME : Microphone (Avnex Virtual Audio
Out: MME : Speakers (Realtek High Definiti
SC_PortAudioDriver: PortAudio failed at Pa_OpenStream with error: 'Unanticipated host error'
could not initialize audio.
Process Log
--------------
**`C:\Users\Joey.Joey-PC\.sonic-pi\log\processes.log`**
ask-clear.rb
Clearing pids: []
No pids to clear :-)
Started [8744] [-] "C:\Program Files\Sonic Pi\app\gui\qt\build\Release..........\app\server\native\ruby\bin\ruby.exe" --enable-frozen-string-literal -E utf-8 "C:\Program Files\Sonic Pi\app\gui\qt\build\Release..........\app\server\ruby\bin\sonic-pi-server.rb" -u 51235 51236 51237 51237 4560 51238 51239 [-] C:/Users/JOEY1.JOE/AppData/Local/Temp/sonic-pi-pids/8744
ERROR: Unable to write information for PID 3168 to path C:/Users/JOEY1.JOE/AppData/Local/Temp/sonic-pi-pids/3168!
undefined method `cmdline' for nil:NilClass
How do I fix this problem? What's this 'cmdline' method I'm supposed to have, how can I fix this?
Edit: If there is additional information you require, please let me know so I can provide them. all I did is copy-paste the logs, not sure if that's all that was needed to be done, nonetheless I really appreciate the help!
The text was updated successfully, but these errors were encountered:
The cmdline error is a side effect of some of our code for handling the Sonic Pi boot up process, only vaguely related to your particular problem. It is generally harmless. (Thankfully also, it will no longer be a problem in the upcoming v4.0 release of Sonic Pi, as we have completely rewritten that part of the system 😄 )
Looking at the log files above, it seems that PortAudio (the audio driver that Windows is using) is unable to successfully open the mentioned devices for input and output.
Unfortunately PortAudio is not always smart enough to work with diverse combinations of devices like this... and it doesn't really provide very helpful error messages either!
There is something that you can try: if you are willing to test booting Sonic Pi with alternate input/output devices - you can edit a config file we have, which will tell Sonic Pi to try to connect to specific audio devices.
See an example of the config file here: https://github.com/sonic-pi-net/sonic-pi/blob/dev/app/config/user-examples/audio-settings.toml
(The real version belongs in your .sonic-pi\config folder, found from your home folder).
We have completely overhauled the process with which we boot the system, and it would still be really great to know if this has somehow not resolved your situation.
[GUI] -
[GUI] -
[GUI] -
[GUI] - Welcome to the Sonic Pi GUI
[GUI] - ===========================
[GUI] -
[GUI] - {1c2eff99-8bb2-43c7-ae22-7c96a2b599ec}
[GUI] - ui locale: fr-FR
[GUI] - sys locale: fr_FR
[GUI] - translations available
[GUI] - Discovering port numbers...
[GUI] - Port entry server-listen-to-gui : 51235 : 51235
[GUI] - Port entry gui-send-to-server : 51235 : 51235
[GUI] - Port entry gui-listen-to-server : 51236 : 51236
[GUI] - Port entry server-send-to-gui : 51236 : 51236
[GUI] - Port entry scsynth : 51237 : 51237
[GUI] - Port entry scsynth-send : 51237 : 51237
[GUI] - Port entry server-osc-cues : 4560 : 4560
[GUI] - Port entry erlang-router : 51238 : 51238
[GUI] - Port entry websocket : 51239 : 51239
[GUI] - Detecting port numbers...
[GUI] - GUI listen to server port 51236
[GUI] - port: 51236 [OK]
[GUI] - Server listen to gui port 51235
[GUI] - port: 51235 [OK]
[GUI] - Server incoming OSC cues port 4560
[GUI] - port: 4560 [OK]
[GUI] - Scsynth port 51237
[GUI] - port: 51237 [OK]
[GUI] - Server send to GUI port 51236
[GUI] - port: 51236 [OK]
[GUI] - GUI send to server port 51235
[GUI] - port: 51235 [OK]
[GUI] - Scsynth send port 51237
[GUI] - port: 51237 [OK]
[GUI] - Erlang router port 51238
[GUI] - port: 51238 [OK]
[GUI] - Websocket port 51239
[GUI] - port: 51239 [OK]
[GUI] - All ports OK
[GUI] - hiding main window
[GUI] - initialising toolbar icons
[GUI] - setting up window structure
[GUI] - restoring scope states
[GUI] - creating status bar
[GUI] - creating info panel
[GUI] - creating shortcuts
[GUI] - creating tool bar
[GUI] - initialising documentation window
[GUI] - launching Sonic Pi Runtime Server:
[GUI] - starting UDP OSC Server on port 51236...
[GUI] - UDP OSC Server ready and listening
[GUI] - Ruby server pid registered: 8744
[GUI] - wait for sync
[GUI] - waiting for Sonic Pi Server to boot...
............................................................
[GUI] - Critical error! Could not boot Sonic Pi Server.
[GUI] - stopping UDP OSC Server...
[GUI] - Critical Error. Unable to connect to server..
[GUI] - UDP OSC Server no longer listening
Sonic Pi server booting...
The time is 2021-10-18 20:37:12 +0200
Using primary protocol: udp
Detecting port numbers...
Listen port: 51235
Scsynth port: 51237
Scsynth send port: 51237
OSC cues port: 4560
Erlang port: 51238
Websocket port: 4562
Opening UDP Server to listen to GUI on port: 51235
ERROR: Unable to write information for PID 3168 to path C:/Users/JOEY~1.JOE/AppData/Local/Temp/sonic-pi-pids/3168!
undefined method `cmdline' for nil:NilClass
Starting SuperCollider 2021-10-18 20:37:13
Device options:
Requested devices:
In:
Out:
Selecting default system input/output devices
Booting with:
In: MME : Microphone (Avnex Virtual Audio
Out: MME : Speakers (Realtek High Definiti
SC_PortAudioDriver: PortAudio failed at Pa_OpenStream with error: 'Unanticipated host error'
could not initialize audio.
Clearing pids: []
No pids to clear :-)
Started [8744] [-] "C:\Program Files\Sonic Pi\app\gui\qt\build\Release..........\app\server\native\ruby\bin\ruby.exe" --enable-frozen-string-literal -E utf-8 "C:\Program Files\Sonic Pi\app\gui\qt\build\Release..........\app\server\ruby\bin\sonic-pi-server.rb" -u 51235 51236 51237 51237 4560 51238 51239 [-] C:/Users/JOEY
1.JOE/AppData/Local/Temp/sonic-pi-pids/87441.JOE/AppData/Local/Temp/sonic-pi-pids/3168!ERROR: Unable to write information for PID 3168 to path C:/Users/JOEY
undefined method `cmdline' for nil:NilClass
How do I fix this problem? What's this 'cmdline' method I'm supposed to have, how can I fix this?
Edit: If there is additional information you require, please let me know so I can provide them. all I did is copy-paste the logs, not sure if that's all that was needed to be done, nonetheless I really appreciate the help!
The text was updated successfully, but these errors were encountered: