Crash at startup if pulseaudio-dlna is already running

Bug #1458621 reported by ML
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
stream2ip
Fix Released
High
Takkat

Bug Description

:~$ stream2ip -v

(stream2ip.py:30386): Gtk-CRITICAL **: gtk_widget_grab_default: assertion 'gtk_widget_get_can_default (widget)' failed
<W> Python mutagen module not available
 [STREAM2IP] 2015-05-25:18:18:28>> *** Starting stream2ip 1.1.1 ('Ubuntu', '14.04', 'trusty') ***
 [STREAM2IP] 2015-05-25:18:18:28>> Default audio sink: 8
 [STREAM2IP] 2015-05-25:18:18:28>> We are using these settings:
 [STREAM2IP] 2015-05-25:18:18:28>> ['3', 'xxx.xxx.xxx.xxx', 'Auto', '/path/music', 'Name@IP', '', 'Preferences to set up streaming', 'Y', 'Y', 'N', 'Y', 'N', '', '6', '0', 'admin', 'hackme', 'Y', 'N']
 [STREAM2IP] 2015-05-25:18:18:28>> <E>pulseaudo-dlna was already running - trying to restart...
 [STREAM2IP] 2015-05-25:18:18:28>> Default sink set to 8
 [STREAM2IP] 2015-05-25:18:18:28>> Input Index:
 [STREAM2IP] 2015-05-25:18:18:28>> PulseAudio default sink restored
 [STREAM2IP] 2015-05-25:18:18:28>> Terminating DLNA server pulseaudio-dlna
Traceback (most recent call last):
  File "/usr/share/stream2ip/stream2ip-gtk3/stream2ip.py", line 1594, in <module>
    main()
  File "/usr/share/stream2ip/stream2ip-gtk3/stream2ip.py", line 1584, in main
    connected = connect(defaults)
  File "/usr/share/stream2ip/stream2ip-gtk3/stream2ip.py", line 279, in connect
    pamodul = DLNA_connect(settings[pos])
  File "/usr/share/stream2ip/stream2ip-gtk3/stream2ip.py", line 569, in DLNA_connect
    disconnect('DLNA live')
  File "/usr/share/stream2ip/stream2ip-gtk3/stream2ip.py", line 848, in disconnect
    subprocess.call(args)
  File "/usr/lib/python3.4/subprocess.py", line 533, in call
    with Popen(*popenargs, **kwargs) as p:
  File "/usr/lib/python3.4/subprocess.py", line 848, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.4/subprocess.py", line 1384, in _execute_child
    restore_signals, start_new_session, preexec_fn)
TypeError: Can't convert 'int' object to str implicitly

summary: - Crash at startup
+ Crash at startup if pulseaudio-dlna already running
summary: - Crash at startup if pulseaudio-dlna already running
+ Crash at startup if pulseaudio-dlna is already running
Takkat (takkat-nebuk)
Changed in stream2ip:
status: New → Fix Committed
assignee: nobody → Takkat (takkat-nebuk)
importance: Undecided → High
Revision history for this message
Takkat (takkat-nebuk) wrote :

Thank you for reporting this. This will be fixed in the upcoming release of 1.1.2.

Takkat (takkat-nebuk)
Changed in stream2ip:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.