# I can't open sonic pi

**URL:** <https://in-thread.sonic-pi.net/t/i-cant-open-sonic-pi/4741>\
**Category:** Support, Help & Resources\
**Created:** [December 4, 2020, 9:27pm UTC](https://in-thread.sonic-pi.net/t/i-cant-open-sonic-pi/4741 "2020-12-04T21:27:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SamF7](https://avatars.discourse-cdn.com/v4/letter/s/7feea3/32.png) [@SamF7](https://in-thread.sonic-pi.net/u/SamF7)\
**Post date:** [December 4, 2020, 9:27pm UTC](https://in-thread.sonic-pi.net/t/i-cant-open-sonic-pi/4741/1 "2020-12-04T21:27:02Z")

</div>

Sonic Pi Boot Error  
i can’t open sonic pi even tho i just downloaded it. it just shows the welcome screen for like 30s to 1min then shows a small error box. here are the details

# Sonic Pi Boot Error Report

## System Information

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

## GUI Log

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

```ruby
[GUI] - Welcome to the Sonic Pi GUI
[GUI] - ===========================
[GUI] -                            
[GUI] - {21d5222d-08e4-4ca6-a66e-7603ade8ff41}
[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: 7052
[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\samko\.sonic-pi\log\server-errors.log`**

```ruby

```

## Server Output

**`C:\Users\samko\.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-12-04 20:58:22 +0000
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

Clearing pids: ["7052"]

Clearing [7052]
  -- command "C:\Users\samko\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\samko\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
  -- removing C:/Users/samko/AppData/Local/Temp/Sonic Pi PortableTemp/sonic-pi-pids/7052
  -- force killing 7052
  -- killed 7052

Finished clearing pids

```

## Scsynth Output

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

```ruby
# Starting SuperCollider 2020-12-04 20:58:34

Device options:
  - MME : Microsoft Sound Mapper - Input (device #0 with 2 ins 0 outs)
  - MME : Microphone (Realtek Audio) (device #1 with 2 ins 0 outs)
  - MME : Microsoft Sound Mapper - Output (device #2 with 0 ins 2 outs)
  - MME : Speakers / Headphones (Realtek (device #3 with 0 ins 2 outs)
  - Windows DirectSound : Primary Sound Capture Driver (device #4 with 2 ins 0 outs)
  - Windows DirectSound : Microphone (Realtek Audio) (device #5 with 2 ins 0 outs)
  - Windows DirectSound : Primary Sound Driver (device #6 with 0 ins 2 outs)
  - Windows DirectSound : Speakers / Headphones (Realtek Audio) (device #7 with 0 ins 2 outs)
  - ASIO : Realtek ASIO (device #8 with 2 ins 2 outs)
  - Windows WASAPI : Speakers / Headphones (Realtek Audio) (device #9 with 0 ins 2 outs)
  - Windows WASAPI : Microphone (Realtek Audio) (device #10 with 2 ins 0 outs)
  - Windows WDM-KS : Stereo Mix (Realtek HD Audio Stereo input) (device #11 with 2 ins 0 outs)
  - Windows WDM-KS : Speakers (Realtek HD Audio output) (device #12 with 0 ins 2 outs)
  - Windows WDM-KS : Microphone (Realtek HD Audio Mic input) (device #13 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 : Microphone (Realtek Audio)
  Out: MME : Speakers / Headphones (Realtek 
SC_PortAudioDriver: PortAudio failed at Pa_OpenStream with error: 'Unanticipated host error'
could not initialize audio.

```

## Process Log

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

```ruby
No pids store found here: C:/Users/samko/AppData/Local/Temp/Sonic Pi PortableTemp/sonic-pi-pids
Exiting
Creating pids store: C:/Users/samko/AppData/Local/Temp/Sonic Pi PortableTemp/sonic-pi-pids
Started [7052] [-] "C:\Users\samko\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\samko\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/samko/AppData/Local/Temp/Sonic Pi PortableTemp/sonic-pi-pids/7052

Clearing pids: ["7052"]

Clearing [7052]
  -- command "C:\Users\samko\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\samko\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
  -- removing C:/Users/samko/AppData/Local/Temp/Sonic Pi PortableTemp/sonic-pi-pids/7052
  -- force killing 7052
  -- killed 7052

Finished clearing pids

```

please can you help me fix this coz i really want to do sonic pi. i learnt it from school and i want to carry on at home but it doesn’t work. i read other issues but some aren’t the same or i tried rebooting and stuff so yeah. please can you fix this for me

---

<div class="post-metadata">

**Author:** ![ethancrawford](https://avatars.discourse-cdn.com/v4/letter/e/a88e4f/32.png) [@ethancrawford](https://in-thread.sonic-pi.net/u/ethancrawford)\
**Post date:** [April 14, 2021, 2:48am UTC](https://in-thread.sonic-pi.net/t/i-cant-open-sonic-pi/4741/2 "2021-04-14T02:48:33Z")

</div>

@SamF7 - apologies for the late reply. If you see this: have you tried installing and running the latest version of Sonic Pi? (v3.3.1)
