lxmusic does not work correctly

Bug #474086 reported by baltasarq on 2009-11-04
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lxde-common (Ubuntu)
Undecided
Unassigned
lxmusic (Ubuntu)
Medium
Unassigned
xmms2 (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: lxde-common

This is happening in Ubuntu 9.10 Karmic-koala with lxmusic 0.4.0. Apparently, this is the last version for this package, so I didn't tried installing from sources.

$ apt-cache policy lxmusic
lxmusic:
  Installed: 0.4.0-0ubuntu1
  Candidate: 0.4.0-0ubuntu1
  Version table:
 *** 0.4.0-0ubuntu1 0
        500 http://mirror.ousli.org karmic/universe Packages
        100 /var/lib/dpkg/status

Summary: LXMusic never reproduces *anything*

How to reproduce: click in the "Playlists" menu >> Add to current playlist >> add files or folders
Then you choose your favorite mp3 folder.
lxmusic then walks all over the subfolders of that folder you chose (it updates its main window section for the list of songs while doing this).
After the process ends, the music list is again totally empty, and there is no way to make it play anything. It does not matter whether you create another playlist or use the default one.

Revision history for this message
Julien Lavergne (gilir) wrote :

Thanks for your bug report.
I'm adding it to lxmusic package instead of lxde-common.
Could you please launch lxmusic in a terminal and paste the output when you add the files ?

Changed in lxde-common (Ubuntu):
status: New → Invalid
Changed in lxmusic (Ubuntu):
status: New → Incomplete
importance: Undecided → Medium
Revision history for this message
baltasarq (baltasarq) wrote :
Download full text (5.5 KiB)

Certainly!
The output is as follows:

==
$ lxmusic > lxmusic_output.txt
Failed in file ../src/lib/xmmstypes/value.c on row 1610

(lxmusic:19644): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(lxmusic:19644): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(lxmusic:19644): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(lxmusic:19628): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(lxmusic:19628): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

** (lxmusic:19644): WARNING **: Charset guessed:

** (lxmusic:19644): WARNING **: Charset guessed:

** (lxmusic:19644): WARNING **: Charset guessed:

** (lxmusic:19644): WARNING **: Charset guessed:

** (lxmusic:19644): WARNING **: Charset guessed:

** (lxmusic:19628): WARNING **: Charset guessed:

** (lxmusic:19628): WARNING **: Charset guessed:

** (lxmusic:19628): WARNING **: Charset guessed:

** (lxmusic:19628): WARNING **: Charset guessed:

(lxmusic:19644): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

** (lxmusic:19628): WARNING **: Charset guessed:

(lxmusic:19628): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(lxmusic:19628): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(lxmusic:19628): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(lxmusic:19628): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(lxmusic:19644): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(lxmusic:19644): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(lxmusic:19644): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(lxmusic:19628): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(lxmusic:19628): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(lxmusic:19644): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(lxmusic:19644): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(lxmusic:19644): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(lxmusic:19628): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(lxmusic:19628): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(lxmusic:19628): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(lxmusic:19628): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(lxmusic:19628): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(lxmusic:19644): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(lxmusic:19644): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(lxmusic:19644): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(lxmusic:19644): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(lxmusic:19644): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(lxmusic:19644): Pango...

Read more...

Revision history for this message
Julien Lavergne (gilir) wrote :

Thanks.

I think the pango warning is not the cause of the bug. I could reproduce it without this warning.
It's stange because when I played a bit with other client of xmms, I was not able to reproduce it for a specific directory. And after I retry with lxmusic in the same directory, and it was working good.

If you want to debug it more, you can open in another terminal "xmms2d --verbose" and see the messages when you do your testing. I'll be interesting also to test other xmms2 client and try to reproduce this behavior.

Revision history for this message
baltasarq (baltasarq) wrote :
Download full text (28.6 KiB)

Of course I can, I'm glad to be helpful.

Output for lxmusic:
==
Failed in file ../src/lib/xmmstypes/value.c on row 1610 [appears on adding files to playlist]
Failed in file ../src/lib/xmmstypes/value.c on row 1473 [appears when clicking play]
==

Output for xmms2d:
==
$ xmms2d --verbose
 INFO: ../src/xmms/log.c:49: Initialized logging system :)
09:48:20 INFO: ../src/xmms/ipc.c:795: IPC listening on 'unix:///tmp/xmms-ipc-baltasarq'.
09:48:20 DEBUG: ../src/xmms/ipc.c:811: IPC setup done.
09:48:20 DEBUG: ../src/xmms/plugin.c:345: Scanning directory for plugins (/usr/lib/xmms2/lib*.so)
09:48:20 DEBUG: ../src/xmms/plugin.c:368: Trying to load file: /usr/lib/xmms2/libxmms_file.so
09:48:20 DEBUG: ../src/xmms/xform.c:1176: Registering xform 'file'
09:48:20 DEBUG: ../src/xmms/plugin.c:368: Trying to load file: /usr/lib/xmms2/libxmms_wave.so
09:48:20 DEBUG: ../src/xmms/xform.c:1176: Registering xform 'wave'
09:48:20 DEBUG: ../src/xmms/magic.c:299: adding magic spec to tree 'wave header'
09:48:20 DEBUG: ../src/xmms/magic.c:299: adding magic spec to tree 'wave header'
09:48:20 DEBUG: ../src/xmms/magic.c:299: adding magic spec to tree 'wave header'
09:48:20 DEBUG: ../src/xmms/plugin.c:368: Trying to load file: /usr/lib/xmms2/libxmms_equalizer.so
09:48:20 DEBUG: ../src/xmms/xform.c:1176: Registering xform 'equalizer'
09:48:20 DEBUG: ../src/xmms/plugin.c:368: Trying to load file: /usr/lib/xmms2/libxmms_replaygain.so
09:48:20 DEBUG: ../src/xmms/xform.c:1176: Registering xform 'replaygain'
09:48:20 DEBUG: ../src/xmms/plugin.c:368: Trying to load file: /usr/lib/xmms2/libxmms_diskwrite.so
09:48:20 DEBUG: ../src/xmms/outputplugin.c:93: Registering output 'diskwrite'
09:48:20 DEBUG: ../src/xmms/plugin.c:368: Trying to load file: /usr/lib/xmms2/libxmms_null.so
09:48:20 DEBUG: ../src/xmms/outputplugin.c:93: Registering output 'null'
09:48:20 DEBUG: ../src/xmms/plugin.c:368: Trying to load file: /usr/lib/xmms2/libxmms_nulstripper.so
09:48:20 DEBUG: ../src/xmms/xform.c:1176: Registering xform 'nulstripper'
09:48:20 DEBUG: ../src/xmms/magic.c:299: adding magic spec to tree 'NUL padded'
09:48:20 DEBUG: ../src/xmms/xform.c:1176: Registering xform 'ringbuf'
09:48:20 DEBUG: ../src/xmms/xform.c:1176: Registering xform 'magic'
09:48:20 DEBUG: ../src/xmms/xform.c:1176: Registering xform 'converter'
09:48:20 DEBUG: ../src/xmms/xform.c:1176: Registering xform 'segment'
09:48:20 DEBUG: ../src/xmms/xform.c:1176: Registering xform 'visualization'
09:48:20 DEBUG: ../src/xmms/sqlite.c:398: xmms_sqlite_create done!
09:48:20 INFO: ../src/xmms/main.c:517: Using output plugin: diskwrite
09:48:20 DEBUG: ../src/xmms/output.c:897: Trying to open output
09:48:20 DEBUG: ../src/xmms/output.c:908: Using buffersize 32768
09:48:20 DEBUG: ../src/xmms/main.c:139: Running scripts in /home/baltasarq/.config/xmms2/startup.d
09:48:20 DEBUG: ../src/xmms/mediainfo.c:159: got 0 as not resolved
09:48:33 DEBUG: ../src/xmms/ipc.c:472: Client connected
09:48:33 DEBUG: ../src/xmms/main.c:271: Client 'lxmusic' connected
09:48:45 DEBUG: ../src/xmms/playlist.c:202: PLAYLIST: updated chg!
09:48:55 DEBUG: ../src/xmms/collsync.c:65: Syncing collections to database.
09:49:12 DEBUG: ../src/xmms/playlist.c:202: ...

Revision history for this message
baltasarq (baltasarq) wrote :
Download full text (42.0 KiB)

I've also tried the Esperanza client, and I get *exactly* the same behaviour: you add mp3 files, in the process, they are being showing up in the file list of the client (lxmusic or esperanza), but finally, the list is gone and you can't play anything.

Does this mean it is an error of xmms2d?

Output for esperanza
==
$ esperanza &
[1] 30948
baltasarq@pcjgarcia:~$ "misc.cpp:54" [ connectXmms2 ] - trying to connect to: ""
QTreeView::rowsInserted internal representation of the model has been corrupted, resetting.
[1]+ Done esperanza
==

Output for xmms2d:
==
$ xmms2d --verbose
 INFO: ../src/xmms/log.c:49: Initialized logging system :)
10:04:40 INFO: ../src/xmms/ipc.c:795: IPC listening on 'unix:///tmp/xmms-ipc-baltasarq'.
10:04:40 DEBUG: ../src/xmms/ipc.c:811: IPC setup done.
10:04:40 DEBUG: ../src/xmms/plugin.c:345: Scanning directory for plugins (/usr/lib/xmms2/lib*.so)
10:04:40 DEBUG: ../src/xmms/plugin.c:368: Trying to load file: /usr/lib/xmms2/libxmms_file.so
10:04:40 DEBUG: ../src/xmms/xform.c:1176: Registering xform 'file'
10:04:40 DEBUG: ../src/xmms/plugin.c:368: Trying to load file: /usr/lib/xmms2/libxmms_wave.so
10:04:40 DEBUG: ../src/xmms/xform.c:1176: Registering xform 'wave'
10:04:40 DEBUG: ../src/xmms/magic.c:299: adding magic spec to tree 'wave header'
10:04:40 DEBUG: ../src/xmms/magic.c:299: adding magic spec to tree 'wave header'
10:04:40 DEBUG: ../src/xmms/magic.c:299: adding magic spec to tree 'wave header'
10:04:40 DEBUG: ../src/xmms/plugin.c:368: Trying to load file: /usr/lib/xmms2/libxmms_equalizer.so
10:04:40 DEBUG: ../src/xmms/xform.c:1176: Registering xform 'equalizer'
10:04:40 DEBUG: ../src/xmms/plugin.c:368: Trying to load file: /usr/lib/xmms2/libxmms_replaygain.so
10:04:40 DEBUG: ../src/xmms/xform.c:1176: Registering xform 'replaygain'
10:04:40 DEBUG: ../src/xmms/plugin.c:368: Trying to load file: /usr/lib/xmms2/libxmms_diskwrite.so
10:04:40 DEBUG: ../src/xmms/outputplugin.c:93: Registering output 'diskwrite'
10:04:40 DEBUG: ../src/xmms/plugin.c:368: Trying to load file: /usr/lib/xmms2/libxmms_null.so
10:04:40 DEBUG: ../src/xmms/outputplugin.c:93: Registering output 'null'
10:04:40 DEBUG: ../src/xmms/plugin.c:368: Trying to load file: /usr/lib/xmms2/libxmms_nulstripper.so
10:04:40 DEBUG: ../src/xmms/xform.c:1176: Registering xform 'nulstripper'
10:04:40 DEBUG: ../src/xmms/magic.c:299: adding magic spec to tree 'NUL padded'
10:04:40 DEBUG: ../src/xmms/xform.c:1176: Registering xform 'ringbuf'
10:04:40 DEBUG: ../src/xmms/xform.c:1176: Registering xform 'magic'
10:04:40 DEBUG: ../src/xmms/xform.c:1176: Registering xform 'converter'
10:04:40 DEBUG: ../src/xmms/xform.c:1176: Registering xform 'segment'
10:04:40 DEBUG: ../src/xmms/xform.c:1176: Registering xform 'visualization'
10:04:40 DEBUG: ../src/xmms/sqlite.c:398: xmms_sqlite_create done!
10:04:40 INFO: ../src/xmms/main.c:517: Using output plugin: diskwrite
10:04:40 DEBUG: ../src/xmms/output.c:897: Trying to open output
10:04:40 DEBUG: ../src/xmms/output.c:908: Using buffersize 32768
10:04:40 DEBUG: ../src/xmms/main.c:139: Running scripts in /home/baltasarq/.config/xmms2/startup.d
10:04:40 DEBUG: ../src/xmms/mediainfo.c:159: got 0 as not resolv...

Revision history for this message
Julien Lavergne (gilir) wrote :

Yes, it seems that it's a problem with xmms2, not only with lxmusic.

Revision history for this message
Daniel Svensson (dsvensson) wrote :

If you repport bugs upstream they will be handled faster.

Anyways.. from the looks of it.. you're adding files that are later removed once the media info scanner has determined them to not be playable. I would guess it's a matter of trying to play files you don't have the correct plugin for, or a permissions issue.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers