Sixthhokage2 / remuco

Automatically exported from code.google.com/p/remuco
1 stars 1 forks source link

No library browsing in Rhythmbox 0.13.3 #157

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What is your environment?
* OS: Ubuntu 11.04
* Remuco version: 0.9.5
* Client device: Nokia E71
* Player: Rhythmbox 0.13.3

What steps will reproduce the problem?
1. Connect to Rhythmbox with a client
2. Try to browse library

It seems that Rhythmbox changed its source list methods. I'm not capable to fix 
it myself. 

Quote from the changelog:

    Reimplement the source list, introduce display pages

    The main impact of this change is to introduce a new abstraction
    above RBSource that allows the inclusion of things that don't
    contain music and cannot be played from.  For want of a meaningful
    name, the new class is called RBDisplayPage.  A few of the basic
    methods from RBSource are now on the RBDisplayPage class, but
    otherwise this doesn't change any existing sources. The DACP
    pairing source and the last.fm profile source are now direct
    subclasses of RBDisplayPage.

    RBDisplayPageModel and RBDisplayPageTree are reimplementations of
    RBSourcelistModel and RBSourceList respectively, with a few minor
    bugs fixed and with the addition that the page group expansion state
    is now stored in gconf.

    RBDisplayPageGroup replaces RBSourceGroup, and becomes an actual
    object that exists in the page tree.  It's also a subclass of
    RBDisplayPage, but page groups cannot be selected in the page tree
    and don't have any visible content.  The same predefined groups
    exist.  Rather than being specified as a property on an RBSource
    instance, the group for a page is determined by where it is inserted
    into the page tree.

Original issue reported on code.google.com by bur...@gmail.com on 4 May 2011 at 2:01

GoogleCodeExporter commented 9 years ago
This seems awfully similar to what I've had today.
I didn't test it very hard as I was in a big hurry to go to work, but I did try 
to grab as much data as I could about my problem, wrote out a draft bug report, 
and ran off to work.
Seems like I was going to report a duplicate of this problem, so I'll just post 
all my data as-is here.

It won't solve anything but it is very verbose and you can hopefully see 
everything that's happening on my network :-)

PS I'm attaching a dump from wireshark so that you can see what works.
ATTACHMENT IS CALLED "REQ_MLIB" AND CAN BE "File->Open"ed FROM WIRESHARK

=================================
life story ends, other stuff begins...
=================================

rhythmbox -d at the moment of receiving REQ_MLIB:

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/remuco/net.py", line 242, in __io_recv
    self.__msg_handler_fn(self, msg_id, msg_data)
  File "/usr/lib/pymodules/python2.7/remuco/adapter.py", line 1247, in __handle_message
    self.__handle_message_request(client, id, bindata)
  File "/usr/lib/pymodules/python2.7/remuco/adapter.py", line 1385, in __handle_message_request
    self.request_mlib(reply, request.path)
  File "/usr/lib/rhythmbox/plugins/remuco/remythm.py", line 450, in request_mlib
    slm = self.__shell.props.sourcelist_model
AttributeError: 'gobject.GProps' object has no attribute 'sourcelist_model'

wireshark display filter:
tcp.port == 34271 && tcp.len > 6

CONN_CINFO:
00780000005a02000000c80400044a50454702000000320700000004000776657273696f6e000475
74663800046e616d650005746f75636807000000040005302e392e32000379657300114e6f6b6961
4e39352f33312e302e30313700026e6f

0000   00 78 00 00 00 5a 02 00 00 00 c8 04 00 04 4a 50  .x...Z........JP
0010   45 47 02 00 00 00 32 07 00 00 00 04 00 07 76 65  EG....2.......ve
0020   72 73 69 6f 6e 00 04 75 74 66 38 00 04 6e 61 6d  rsion..utf8..nam
0030   65 00 05 74 6f 75 63 68 07 00 00 00 04 00 05 30  e..touch.......0
0040   2e 39 2e 32 00 03 79 65 73 00 11 4e 6f 6b 69 61  .9.2..yes..Nokia
0050   4e 39 35 2f 33 31 2e 30 2e 30 31 37 00 02 6e 6f                          
                        N95/31.0.017..no

CONN_PINFO:
006e0000004904000952687974686d626f78021c0f8e1f0105060000000007000000000b00000000
07000000050003416e79000641727469737400055469746c650005416c62756d000547656e726500
c80000000f01000100020000000003010300030000c90000000a0200000000020000000000ca0000
000d04000007000000000500000000

0000   00 6e 00 00 00 49 04 00 09 52 68 79 74 68 6d 62  .n...I...Rhythmb
0010   6f 78 02 1c 0f 8e 1f 01 05 06 00 00 00 00 07 00  ox..............
0020   00 00 00 0b 00 00 00 00 07 00 00 00 05 00 03 41  ...............A
0030   6e 79 00 06 41 72 74 69 73 74 00 05 54 69 74 6c  ny..Artist..Titl
0040   65 00 05 41 6c 62 75 6d 00 05 47 65 6e 72 65 00  e..Album..Genre.
0050   c8 00 00 00 0f 01 00 01 00 02 00 00 00 00 03 01  ................
0060   03 00 03 00 00 c9 00 00 00 0a 02 00 00 00 00 02  ................
0070   00 00 00 00 00 ca 00 00 00 0d 04 00 00 07 00 00  ................
0080   00 00 05 00 00 00 00                             .......

REQ_MLIB:
01f700000012022323f1fb04000007000000000200000000

0000   01 f7 00 00 00 12 02 23 23 f1 fb 04 00 00 07 00  .......##.......
0010   00 00 00 02 00 00 00 00                          ........

$ apt-cache policy rhythmbox
rhythmbox:
  Installed: 0.13.3-0ubuntu5
  Candidate: 0.13.3-0ubuntu5
  Version table:
 *** 0.13.3-0ubuntu5 0
        500 http://mirror.ihug.co.nz/ubuntu/ natty/main i386 Packages
        100 /var/lib/dpkg/status

$ apt-cache policy libglib2.0-0 python-gobject
libglib2.0-0:
  Installed: 2.28.6-0ubuntu1
  Candidate: 2.28.6-0ubuntu1
  Version table:
 *** 2.28.6-0ubuntu1 0
        500 http://mirror.ihug.co.nz/ubuntu/ natty/main i386 Packages
        100 /var/lib/dpkg/status
python-gobject:
  Installed: 2.28.3-1ubuntu1.1
  Candidate: 2.28.3-1ubuntu1.1
  Version table:
 *** 2.28.3-1ubuntu1.1 0
        500 http://mirror.ihug.co.nz/ubuntu/ natty-updates/main i386 Packages
        100 /var/lib/dpkg/status
     2.28.3-1ubuntu1 0
        500 http://mirror.ihug.co.nz/ubuntu/ natty/main i386 Packages

$ apt-cache policy remuco*
remuco-amarok:
  Installed: 0.9.2-1
  Candidate: 0.9.2-1
  Version table:
 *** 0.9.2-1 0
        500 http://mirror.ihug.co.nz/ubuntu/ natty/universe i386 Packages
        100 /var/lib/dpkg/status
remuco-base:
  Installed: 0.9.2-1
  Candidate: 0.9.2-1
  Version table:
 *** 0.9.2-1 0
        500 http://mirror.ihug.co.nz/ubuntu/ natty/universe i386 Packages
        100 /var/lib/dpkg/status
remuco-audacious:
  Installed: 0.9.2-1
  Candidate: 0.9.2-1
  Version table:
 *** 0.9.2-1 0
        500 http://mirror.ihug.co.nz/ubuntu/ natty/universe i386 Packages
        100 /var/lib/dpkg/status
remuco-banshee:
  Installed: 0.9.2-1
  Candidate: 0.9.2-1
  Version table:
 *** 0.9.2-1 0
        500 http://mirror.ihug.co.nz/ubuntu/ natty/universe i386 Packages
        100 /var/lib/dpkg/status
remuco-mpd:
  Installed: (none)
  Candidate: 0.9.2-1
  Version table:
     0.9.2-1 0
        500 http://mirror.ihug.co.nz/ubuntu/ natty/universe i386 Packages
remuco-mplayer:
  Installed: 0.9.2-1
  Candidate: 0.9.2-1
  Version table:
 *** 0.9.2-1 0
        500 http://mirror.ihug.co.nz/ubuntu/ natty/universe i386 Packages
        100 /var/lib/dpkg/status
remuco-rhythmbox:
  Installed: 0.9.2-1
  Candidate: 0.9.2-1
  Version table:
 *** 0.9.2-1 0
        500 http://mirror.ihug.co.nz/ubuntu/ natty/universe i386 Packages
        100 /var/lib/dpkg/status
remuco-totem:
  Installed: 0.9.2-1
  Candidate: 0.9.2-1
  Version table:
 *** 0.9.2-1 0
        500 http://mirror.ihug.co.nz/ubuntu/ natty/universe i386 Packages
        100 /var/lib/dpkg/status
remuco-tvtime:
  Installed: 0.9.2-1
  Candidate: 0.9.2-1
  Version table:
 *** 0.9.2-1 0
        500 http://mirror.ihug.co.nz/ubuntu/ natty/universe i386 Packages
        100 /var/lib/dpkg/status
remuco-vlc:
  Installed: 0.9.2-1
  Candidate: 0.9.2-1
  Version table:
 *** 0.9.2-1 0
        500 http://mirror.ihug.co.nz/ubuntu/ natty/universe i386 Packages
        100 /var/lib/dpkg/status
remuco-xmms2:
  Installed: 0.9.2-1
  Candidate: 0.9.2-1
  Version table:
 *** 0.9.2-1 0
        500 http://mirror.ihug.co.nz/ubuntu/ natty/universe i386 Packages
        100 /var/lib/dpkg/status

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.04
DISTRIB_CODENAME=natty
DISTRIB_DESCRIPTION="Ubuntu 11.04"

$ uname -a
Linux gsc2 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 
i686 i386 GNU/Linux

Problem:
remuco-rhythmbox _handling client requests_ broken since upgrading from 
Maverick to Natty.

Reproduction:
- start rhythmbox (remuco adapter already activated in Edit->Plugins)
- start remuco on n95
- connect over wlan to remuco host
(the remuco mascot appears. nothing is playing. It says "None" and "0:00". 
Shuffle is off, repeat is on. All of this is correct.)
- Press "Media" to open media menu
- Press "Library" to open library submenu

Actual Result:
- The screen title says "Updating" and a perpetual progress bar appears.
- The progress bar will never disappear
- Wireshark says that the correct message was sent from the client
- The server spits out a traceback and never replies
- The client hangs on "Updating" until "Cancel" is pressed

Expected Result:
- A list of folders from rhythmbox appears

What works:
- Displaying info about the currently playing song (ie server-initiated 
messages)
- Client and server hello / info messages

What doesn't work:
- Sending anything from the client to the server that involves interfacing with 
rhythmbox itself (this is broken on the server end)
- Play
- Pause
- Next
- Previous
- Volume Up
- Volume Down
- Media Library
- Change rating (display on phone changes but not in Rhythmbox,even after 60 
seconds)

What wasn't tested:
- Playlist
- Queue
- Library
- Search
- Reinstalling ubuntu

Original comment by SneakyWh...@gmail.com on 2 Jun 2011 at 6:50

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by obensonne@googlemail.com on 19 Jul 2011 at 8:21

GoogleCodeExporter commented 9 years ago
Thanks for these detailed reports. Currently I'm using Rhythmbox 13.1, thus I 
cannot replicate this problem. I'll try to get a recent Rhythmbox installation 
... get back to you then.

Original comment by obensonne@googlemail.com on 15 Aug 2011 at 6:46

GoogleCodeExporter commented 9 years ago
I also have problems with remuco & rhythmbox, and it might be related to this 
issue. Apperently, rhythmbox has 2 methologies to allow plugins. 1 of them is 
currently disabled, it appears they recognise it as a bug:
https://bugs.launchpad.net/ubuntu/+source/rhythmbox/+bug/878352
But, I think the API might change completely to the new methodology...

Original comment by DriesF...@gmail.com on 23 Oct 2011 at 3:24