mottobug / mp3pi

11 stars 9 forks source link

ValueError: invalid literal for int() with base 10: '' #1

Open Tesseract990 opened 7 years ago

Tesseract990 commented 7 years ago

Hello, i can't start mp3pi because there is always this message i wrote below. I have everything installed and pulseaudio runs, but somehow it isn't detected by mp3pi. I'm not a expert in python so i don't know how to fix it.

[INFO ] [Kivy ] v1.9.1 [INFO ] [Python ] v2.7.9 (default, Sep 17 2016, 20:26:04) [GCC 4.9.2] [INFO ] [Factory ] 179 symbols loaded [INFO ] [Image ] Providers: img_tex, img_dds, img_gif, img_sdl2 (img_pil, img_ffpyplayer ignored) [INFO ] [Text ] Provider: sdl2 [INFO ] [Window ] Provider: egl_rpi [INFO ] [GL ] OpenGL version <OpenGL ES 2.0> [INFO ] [GL ] OpenGL vendor [INFO ] [GL ] OpenGL renderer [INFO ] [GL ] OpenGL parsed version: 2, 0 [INFO ] [GL ] Shading version <OpenGL ES GLSL ES 1.00> [INFO ] [GL ] Texture max size <2048> [INFO ] [GL ] Texture max units <8> [INFO ] [Shader ] fragment shader: [INFO ] [Shader ] vertex shader: [INFO ] [Window ] virtual keyboard not allowed, single mode, not docked None [INFO ] [Loader ] using a thread pool of 2 workers No PulseAudio daemon running, or not running as session daemon. No PulseAudio daemon running, or not running as session daemon. No PulseAudio daemon running, or not running as session daemon. No PulseAudio daemon running, or not running as session daemon. No PulseAudio daemon running, or not running as session daemon. Traceback (most recent call last): File "mp3.py", line 475, in Mp3PiApp().run() File "/usr/lib/python2.7/dist-packages/kivy/app.py", line 802, in run root = self.build() File "mp3.py", line 362, in build sm.add_widget(Mp3PiAppLayout()) File "mp3.py", line 89, in init self.ids.volume_slider.value = int(subprocess.check_output(["pulseaudio-ctl", "full-status"]).split(" ")[0]) ValueError: invalid literal for int() with base 10: ''

mottobug commented 7 years ago

Could you check the presence of "pulseaudio-ctl" on your system?