zigbert wrote:Any terminal output?
Can you use the pmusic backend?
Can you test the gui-code?
Code: Select all
gtkdialog -f /root/.pmusic/tmp/xml_pmusic
Hi Sigmund,
thank you for the troubleshooting steps. While i was running through those steps I was able to see a little better what was happening:
1) pmusic 445
does work ok on my system, but only if I let it initialise by running it for the first time by starting it
from the menu.
2) If I trigger pmusic's firstrun by clicking on an mp3 file
that is when it hangs during the initialise phase with the onscreen splash.
so
- the backend works
- the gui works
- the firstrun initialise has some issue on my system - when triggered by clicking an audio file icon.
When the initialise phase was in the hung state I noticed a couple of things showing in pprocess - see pic below.
Also, during the troubleshooting steps you mentioned I did see some error messages but I don't know if they are related to the initialise problem:
(please forgive the length of the post):
Code: Select all
pmusic --debug
cat: /root/.pmusic/tmp/MY_PID: No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
/usr/local/pmusic/func_player: line 141: /root/.pmusic/tmp/SS: No such file or directory
widget_statusbar_input_by_file(): Couldn't open '/root/.pmusic/tmp/statusbar' for reading.
(gtkdialog:17809): Gtk-CRITICAL **: IA__gtk_tree_view_set_fixed_height_mode: assertion `gtk_tree_view_column_get_sizing (c) == GTK_TREE_VIEW_COLUMN_FIXED' failed
** (gtkdialog:17809): WARNING **: Invalid borders specified for theme pixmap:
/usr/share/themes/ShallowThought/gtk-2.0/radio5.png,
borders don't fit within the image
# cat: /root/.pmusic/index_mymusic: No such file or directory
Input #0, mp3, from 'http://api.jamendo.com/get2/stream/track/redirect/?streamencoding=mp31&id=859743':
/usr/local/pmusic/func_trackinfo: line 13: /root/.pmusic/tmp/trackinfo_ID3_ARTIST: No such file or directory
/usr/local/pmusic/func_trackinfo: line 14: /root/.pmusic/tmp/trackinfo_ID3_TITLE: No such file or directory
/usr/local/pmusic/func_trackinfo: line 15: /root/.pmusic/tmp/trackinfo_ID3_ALBUM: No such file or directory
/usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
--2014-11-22 06:50:43-- http://api.jamendo.com/get2/name+artist_name+album_name+numalbum+dates+genre+artist_id+album_id+artist_url/track/plain/track_album+album_artist/?id=859743
Resolving api.jamendo.com (api.jamendo.com)... 31.12.66.13
Connecting to api.jamendo.com (api.jamendo.com)|31.12.66.13|:80... connected.
HTTP request sent, awaiting response... /usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
302 Found
Location: http://api.jamendo.com/en/?id=859743&m=get2&m_params=name+artist_name+album_name+numalbum+dates+genre+artist_id+album_id+artist_url%2Ftrack%2Fplain%2Ftrack_album+album_artist%2F [following]
--2014-11-22 06:50:43-- http://api.jamendo.com/en/?id=859743&m=get2&m_params=name+artist_name+album_name+numalbum+dates+genre+artist_id+album_id+artist_url%2Ftrack%2Fplain%2Ftrack_album+album_artist%2F
Connecting to api.jamendo.com (api.jamendo.com)|31.12.66.13|:80... connected.
HTTP request sent, awaiting response... /usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
200 OK
Length: 116 [text/plain]
Saving to: 'STDOUT'
100%[======================================>] 116 --.-K/s in 0s
2014-11-22 06:50:44 (4.89 MB/s) - written to stdout [116/116]
/usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
du: cannot access 'http://api.jamendo.com/get2/stream/track/redirect/?streamencoding=mp31&id=859743': No such file or directory
du: cannot access 'http://api.jamendo.com/get2/stream/track/redirect/?streamencoding=mp31&id=859743': No such file or directory
/usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
/usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
--2014-11-22 06:50:48-- http://api.jamendo.com/get2/track_name/album/plain/track_album/?id=100637
Resolving api.jamendo.com (api.jamendo.com)... 31.12.66.13
Connecting to api.jamendo.com (api.jamendo.com)|31.12.66.13|:80... connected.
HTTP request sent, awaiting response... /usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
200 OK
Length: 157 [text/plain]
Saving to: 'STDOUT'
100%[======================================>] 157 --.-K/s in 0s
2014-11-22 06:50:48 (7.55 MB/s) - written to stdout [157/157]
--2014-11-22 06:50:48-- http://www.jamendo.com/en/track/859743
Resolving www.jamendo.com (www.jamendo.com)... /usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
31.12.66.13
Connecting to www.jamendo.com (www.jamendo.com)|31.12.66.13|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.jamendo.com/en/track/859743 [following]
--2014-11-22 06:50:50-- https://www.jamendo.com/en/track/859743
Connecting to www.jamendo.com (www.jamendo.com)|31.12.66.13|:443... connected.
/usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
ERROR: cannot verify www.jamendo.com's certificate, issued by '/C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com, Inc./OU=http://certificates.godaddy.com/repository/CN=Go Daddy Secure Certification Authority/serialNumber=07969287':
Self-signed certificate encountered.
To connect to www.jamendo.com insecurely, use `--no-check-certificate'.
/usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
/usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
/usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
/usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
/usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
/usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
/usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
/usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
/usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
/usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
/usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
/usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
/usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
/usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
/usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
/us
At this point I may have missed capturing some of the moving messages, but after closing pmusic I captured this tail:
Code: Select all
(gtkdialog:17809): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity - escape ampersand as &
/usr/local/pmusic/func_progressbar: line 55: /root/.pmusic/tmp/SS: No such file or directory
(standard_in) 2: syntax error
/usr/local/pmusic/func_progressbar: line 60: (*100/352)+1: syntax error: operand expected (error token is "*100/352)+1")
grep: write error: Broken pipe
/root/.pmusic/tmp/exec: line 2: 17553 Broken pipe LANG=C exec ffmpeg -i 'http://api.jamendo.com/get2/stream/track/redirect/?streamencoding=mp31&id=859743' -ss 0 -f au - 2>> /root/.pmusic/tmp/ffmpeg_output
17554 Killed | aplay 2> /root/.pmusic/tmp/aplay_error
Can you use the pmusic backend?
- yes this works - I hear the mp3 playing correctly.
Can you test the gui-code?
Code: Select all
gtkdialog -f /root/.pmusic/tmp/xml_pmusic
- Here is the result when I entered this during the hung phase:
Code: Select all
# gtkdialog -f /root/.pmusic/tmp/xml_pmusic
** (gtkdialog:1668): ERROR **: Error opening file '/root/.pmusic/tmp/xml_pmusic': No such file or directory
Trace/breakpoint trap
#
Many thanks for your help with this problem.
cheers!