Sonic-pi: Sonic Pi Portable & MSI version not working anymore, Win10

Created on 27 Jul 2018  Â·  13Comments  Â·  Source: sonic-pi-net/sonic-pi

After the new windows update both versions stopped working for me. I reinstalled them multiple times but always the same error: The loading window appears, disappears again, .exe runs in the background (visible in the task manager) but the application never appears (visibly).

Is this a known issue?

Most helpful comment

Interesting. I wish I could help you more but my own troubleshooting knowledge is a little limited. The most I've been able to do is search the issues here and more generally on the internet for similar messages to the 'Exception in World_New: Access is denied.' error, to see if there's anything obvious about a cause. There were one or two cases where it was a firewall issue, but I'm not totally convinced that's the issue here as the port checks seemed ok according to the Sonic Pi logs. It's also interesting that you were able to start an independent SuperCollider server successfully.

I might have to defer to @samaaron or someone else who might know a bit more about what to try. Sorry I can't solve your problem directly! Hopefully someone will have an idea though.

All 13 comments

@andrelandgraf - not sure if the portable version stores its log files somewhere different, but at least for the MSI version, they are in C:\Users\[your user name]\.sonic-pi\log. It may help to look there and see if there's anything that looks like an error message.

Please, find below the error logs of the portable version:

"Scsynth Output: Zugriff verweigert", means permission denied in German 👍 .
Also, it just stopped working with the new windows update and was working before.
Because of permission denied, I also tried to run it as an admin, but unfortunately same result.

Sonic Pi Boot Error Report

System Information

  • Sonic Pi version: 3.1.0
  • OS: Windows 10

GUI Log

C:\Users\[my user name]\.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: 4748
[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

C:\Users\[my user name]\.sonic-pi\log\server-errors.log


Server Output

C:\Users\[my user name]\.sonic-pi\log\server-output.log

Sonic Pi server booting...
Using protocol: udp
Detecting port numbers...
Send port: 4558
Listen port: 4557
  - OK
Scsynth port: 4556
  - OK
Scsynth send port: 4556
  - OK
OSC cues port: 4559
  - OK
Erlang port: 4560
  - OK
OSC MIDI out port: 4561
  - OK
OSC MIDI in port: 4562
  - OK

Scsynth Output

C:\Users\[my user name]\.sonic-pi\log\scsynth.log

# Starting SuperCollider 2018-07-28 13:52:12
Exception in World_New: Zugriff verweigert

Process Log

C:\Users\[my user name]\.sonic-pi\log\processes.log

No pids store found here: C:/Users/[my user name]/AppData/Local/Temp/SonicPiPortableTemp/sonic-pi-pids
Exiting
Creating pids store: C:/Users/[my user name]/AppData/Local/Temp/SonicPiPortableTemp/sonic-pi-pids
Started [4748] [-] "C:\Users\Public\SonicPiPortable\App\Sonic Pi\app\gui\qt\release\..\..\..\..\app\server\native\ruby\bin\ruby.exe"  --enable-frozen-string-literal -E utf-8 "C:\Users\Public\SonicPiPortable\App\Sonic Pi\app\gui\qt\release\..\..\..\..\app\server\ruby\bin\sonic-pi-server.rb" -u 4557 4558 4556 4556 4559 4560 4561 4562 [-] C:/Users/[my user name]/AppData/Local/Temp/SonicPiPortableTemp/sonic-pi-pids/4748

Out of curiosity, are you able to run SuperCollider separately and boot up a server in it?
http://supercollider.github.io

Thanks for your reply. Yep, I am able to boot up the SuperCollider server. Any idea how to solve my startup issue?

* Welcome to SuperCollider 3.9.3. * For help press Ctrl-D.
booting server 'localhost' on address: 127.0.0.1:57110

Device options:

  • MME : Microsoft Soundmapper - Input (device 0 with 2 ins 0 outs)
  • MME : Mikrofonarray (Realtek High Def (device 1 with 2 ins 0 outs)
  • MME : Microsoft Soundmapper - Output (device 2 with 0 ins 2 outs)
  • MME : CF791 (Intel(R) Display-Audio) (device 3 with 0 ins 2 outs)
  • MME : Lautsprecher (Realtek High Defi (device 4 with 0 ins 2 outs)
  • Windows DirectSound : Primärer Soundaufnahmetreiber (device 5 with 2 ins 0 outs)
  • Windows DirectSound : Mikrofonarray (Realtek High Definition Audio) (device 6 with 2 ins 0 outs)
  • Windows DirectSound : Primärer Soundtreiber (device 7 with 0 ins 2 outs)
  • Windows DirectSound : CF791 (Intel(R) Display-Audio) (device 8 with 0 ins 2 outs)
  • Windows DirectSound : Lautsprecher (Realtek High Definition Audio) (device #9 with 0 ins 2 outs)
  • Windows WASAPI : CF791 (Intel(R) Display-Audio) (device 10 with 0 ins 2 outs)
  • Windows WASAPI : Lautsprecher (Realtek High Definition Audio) (device 11 with 0 ins 2 outs)
  • Windows WASAPI : Mikrofonarray (Realtek High Definition Audio) (device#12 with 2 ins 0 outs)
  • Windows WDM-KS : Speakers (Realtek HD Audio output) (device 13 with 0 ins 2 outs)
  • Windows WDM-KS : Mikrofonarray (Realtek HD Audio Mic input) (device 14 with 2 ins 0 outs)
  • Windows WDM-KS : Stereomix (Realtek HD Audio Stereo input) (device 15 with 2 ins 0 outs)
  • Windows WDM-KS : Output (Intel(R) Display-Audio - Ausgang 1) (device 16 with 0 ins 2 outs)

Booting with:
In: MME : Mikrofonarray (Realtek High Def
Out: MME : CF791 (Intel(R) Display-Audio)
Sample rate: 44100.000
Latency (in/out): 0.013 / 0.091 sec
SC_AudioDriver: sample rate = 44100.000000, driver's block size = 64
SuperCollider 3 server ready.
Requested notification messages from server 'localhost'
localhost: server process's maxLogins (1) matches with my options.
localhost: keeping clientID (0) as confirmed by server process.
Shared memory server interface initialized

Interesting. I wish I could help you more but my own troubleshooting knowledge is a little limited. The most I've been able to do is search the issues here and more generally on the internet for similar messages to the 'Exception in World_New: Access is denied.' error, to see if there's anything obvious about a cause. There were one or two cases where it was a firewall issue, but I'm not totally convinced that's the issue here as the port checks seemed ok according to the Sonic Pi logs. It's also interesting that you were able to start an independent SuperCollider server successfully.

I might have to defer to @samaaron or someone else who might know a bit more about what to try. Sorry I can't solve your problem directly! Hopefully someone will have an idea though.

same here.

wich one is the last version you can tell me that would work?

i did not knew this software, it mustnot be there on my disk and not possible to use it, it's torture… i Need to try it out X´

It's promising that you can start up vanilla SuperCollider :-)

It's possible that recent releases of Supercollider have fixed this issue. Would it be possible to download v3.8.1 and v3.9 and share the server boot logs?

https://github.com/supercollider/supercollider/releases

3.8.1 has a critical library Problem :

" […]

ERROR: Class extension for nonexistent class 'Volume'
In file:'deprecated3.9deprecated-3.9.sc'
[…]
ERROR: There is a discrepancy.
numClassDeps 32 gNumClasses 82
Library has not been compiled successfully. "

3.9.0 gives the same Output as 3.9.3 :
"[…]
Booting with:
In: MME : Mikrofon (High Definition Audio
Out: MME : Kopfhörer (High Definition Audi
SC_PortAudioDriver: PortAudio failed at Pa_OpenStream with error: 'Unanticipated host error'
could not initialize audio.
RESULT = -1073740791
"

2.9 does not boot anymore :(

V2.9 of what? :)

So at this point is it fair to say that you can’t get any version of vanilla SuperCollider (not Sonic Pi) working?

no, with the OnBoard soundcard and the so far tried Methods i sadly can't

Please could you report this issue on the SuperCollider GitHub page?

okay

Was this page helpful?
0 / 5 - 0 ratings

Related issues

emlyn picture emlyn  Â·  7Comments

datramt picture datramt  Â·  5Comments

kivancguckiran picture kivancguckiran  Â·  4Comments

ostephagus picture ostephagus  Â·  4Comments

emlyn picture emlyn  Â·  4Comments