# Error on startup

**URL:** <https://in-thread.sonic-pi.net/t/error-on-startup/4544>\
**Category:** \[P\] Patreon Support\
**Created:** [October 27, 2020, 10:45am UTC](https://in-thread.sonic-pi.net/t/error-on-startup/4544 "2020-10-27T10:45:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![keys](https://avatars.discourse-cdn.com/v4/letter/k/96bed5/32.png) [@keys](https://in-thread.sonic-pi.net/u/keys)\
**Post date:** [October 27, 2020, 10:45am UTC](https://in-thread.sonic-pi.net/t/error-on-startup/4544/1 "2020-10-27T10:45:43Z")

</div>

Hi  
I have a student who have issues starting Sonic Pi. Any suggestions on what we can try?

# Sonic Pi Boot Error Report

## System Information

- Sonic Pi version: 3.2.2
- OS: Windows 10 Version 2004

## GUI Log

**`C:\Users\51esigjoh\.sonic-pi\log\gui.log`**

```ruby
[GUI] - Welcome to the Sonic Pi GUI
[GUI] - ===========================
[GUI] -                            
[GUI] - {207ca3c9-b79a-4f27-91e4-c12827f9ebb2}
[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 osc-midi-out : 51238 : 51238
[GUI] - Port entry osc-midi-in : 51239 : 51239
[GUI] - Port entry server-osc-cues : 4560 : 4560
[GUI] - Port entry erlang-router : 51240 : 51240
[GUI] - Port entry websocket : 51241 : 51241
[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 51240
[GUI] - port: 51240 [OK]
[GUI] - OSC MIDI out port 51238
[GUI] - port: 51238 [OK]
[GUI] - OSC MIDI in port 51239
[GUI] - port: 51239 [OK]
[GUI] - Websocket port 51241
[GUI] - port: 51241 [OK]
[GUI] - All ports OK
[GUI] - launching Sonic Pi Runtime Server:
[GUI] - Ruby server pid registered: 10644
[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] - wait for sync
[GUI] - waiting for Sonic Pi Server to boot...
[GUI] - starting UDP OSC Server on port 51236...
[GUI] - UDP OSC Server ready and listening
............................................................
[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\51esigjoh\.sonic-pi\log\server-errors.log`**

```ruby

```

## Server Output

**`C:\Users\51esigjoh\.sonic-pi\log\server-output.log`**

```ruby
Sonic Pi server booting...
This is version 3.2.0 running on Ruby 2.7.1.
The time is 2020-10-20 12:56:17 +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: 51240
  - OK
OSC MIDI out port: 51238
  - OK
OSC MIDI in port: 51239
  - OK
Websocket port: 51241
  - OK
Opening UDP Server to listen to GUI on port: 51235
Started [10620] [-] "C:\Users\51esigjoh\Downloads\Sonic Pi Portable\App\Sonic Pi\app\server\native\scsynth.exe" -u 51237 -m 131072 -a 1024 -D 0 -R 0 -l 1 -i 16 -o 16 -U "C:/Users/51esigjoh/Downloads/Sonic Pi Portable/App/Sonic Pi/app/server/native/plugins/" -b 4096 -B 127.0.0.1 [-] C:/Users/51ESIG~1/AppData/Local/Temp/Sonic Pi PortableTemp/sonic-pi-pids/10620

```

## Scsynth Output

**`C:\Users\51esigjoh\.sonic-pi\log\scsynth.log`**

```ruby
# Starting SuperCollider 2020-10-20 12:56:19

Device options:
  - MME : - Input (device #0 with 2 ins 0 outs)
  - MME : Mikrofon (Realtek High Definiti (device #1 with 2 ins 0 outs)
  - MME : - Output (device #2 with 0 ins 2 outs)
  - MME : Høyttalere (Realtek High Defini (device #3 with 0 ins 2 outs)
  - Windows DirectSound : Primærdriver for lydinnspilling (device #4 with 2 ins 0 outs)
  - Windows DirectSound : Mikrofon (Realtek High Definition Audio(SST)) (device #5 with 2 ins 0 outs)
  - Windows DirectSound : Primær lyddriver (device #6 with 0 ins 2 outs)
  - Windows DirectSound : Høyttalere (Realtek High Definition Audio(SST)) (device #7 with 0 ins 2 outs)
  - Windows WASAPI : Høyttalere (Realtek High Definition Audio(SST)) (device #8 with 0 ins 2 outs)
  - Windows WASAPI : Mikrofon (Realtek High Definition Audio(SST)) (device #9 with 0 ins 0 outs)
  - Windows WDM-KS : Stereo miks (Realtek HD Audio Stereo input) (device #10 with 2 ins 0 outs)
  - Windows WDM-KS : Speakers 1 (Realtek HD Audio output with SST) (device #11 with 0 ins 2 outs)
  - Windows WDM-KS : Speakers 2 (Realtek HD Audio output with SST) (device #12 with 0 ins 2 outs)
  - Windows WDM-KS : PC-høyttaler (Realtek HD Audio output with SST) (device #13 with 2 ins 0 outs)
  - Windows WDM-KS : Mikrofon (Realtek HD Audio Mic input) (device #14 with 2 ins 0 outs)

Requested devices:
  In (matching device NOT found):
  - (null)
  Out (matching device NOT found):
  - (null)

Selecting default system input/output devices

Booting with:
  In: MME : Mikrofon (Realtek High Definiti
  Out: MME : Høyttalere (Realtek High Defini
SC_PortAudioDriver: PortAudio failed at Pa_OpenStream with error: 'Unanticipated host error'
could not initialize audio.

```

## Process Log

**`C:\Users\51esigjoh\.sonic-pi\log\processes.log`**

```ruby
No pids store found here: C:/Users/51ESIG~1/AppData/Local/Temp/Sonic Pi PortableTemp/sonic-pi-pids
Exiting
Creating pids store: C:/Users/51ESIG~1/AppData/Local/Temp/Sonic Pi PortableTemp/sonic-pi-pids
Started [10644] [-] "C:\Users\51esigjoh\Downloads\Sonic Pi Portable\App\Sonic Pi\app\gui\qt\build\release\..\..\..\..\..\app\server\native\ruby\bin\ruby.exe" --enable-frozen-string-literal -E utf-8 "C:\Users\51esigjoh\Downloads\Sonic Pi Portable\App\Sonic Pi\app\gui\qt\build\release\..\..\..\..\..\app\server\ruby\bin\sonic-pi-server.rb" -u 51235 51236 51237 51237 4560 51240 51238 51239 51241 [-] C:/Users/51ESIG~1/AppData/Local/Temp/Sonic Pi PortableTemp/sonic-pi-pids/10644
Started [10620] [-] "C:\Users\51esigjoh\Downloads\Sonic Pi Portable\App\Sonic Pi\app\server\native\scsynth.exe" -u 51237 -m 131072 -a 1024 -D 0 -R 0 -l 1 -i 16 -o 16 -U "C:/Users/51esigjoh/Downloads/Sonic Pi Portable/App/Sonic Pi/app/server/native/plugins/" -b 4096 -B 127.0.0.1 [-] C:/Users/51ESIG~1/AppData/Local/Temp/Sonic Pi PortableTemp/sonic-pi-pids/10620
```

---

<div class="post-metadata">

**Author:** ![samaaron](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/samaaron/32/7_2.png) [@samaaron](https://in-thread.sonic-pi.net/u/samaaron)\
**Post date:** [October 27, 2020, 11:09am UTC](https://in-thread.sonic-pi.net/t/error-on-startup/4544/2 "2020-10-27T11:09:18Z")

</div>

> [@keys](#):
>
> `Out: MME : Høyttalere (Realtek High Defini`

I believe it might be the Unicode characters in this audio device name that’s causing the issue. I’ll message you directly with a link to very pre-alpha beta (that has other major known issues that stop me making it generally available for people to play with at this stage). However, it might solve this particular issue and I’d be very interested to know if it does.

---

<div class="post-metadata">

**Author:** ![keys](https://avatars.discourse-cdn.com/v4/letter/k/96bed5/32.png) [@keys](https://in-thread.sonic-pi.net/u/keys)\
**Post date:** [October 27, 2020, 2:12pm UTC](https://in-thread.sonic-pi.net/t/error-on-startup/4544/3 "2020-10-27T14:12:40Z")

</div>

Thank you so much! I will test with student asap. I meet him again next week and I will let you know as soon as we have tested.

---

<div class="post-metadata">

**Author:** ![samaaron](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/samaaron/32/7_2.png) [@samaaron](https://in-thread.sonic-pi.net/u/samaaron)\
**Post date:** [October 27, 2020, 6:32pm UTC](https://in-thread.sonic-pi.net/t/error-on-startup/4544/4 "2020-10-27T18:32:17Z")

</div>

Thanks - do let me know how it goes!
