Ticket #804 (new bug)

Opened 4 months ago

Last modified 10 days ago

DAAP not working in trunk (rev 930)

Reported by: JulienV Owned by:
Priority: major Milestone: 0.6
Component: Other Version: trunk
Keywords: DAAP Cc:

Description

Here is the output when lauching listen with DAAP plugin enabled:

ERROR dbus.connection Exception in handler for D-Bus signal: Traceback (most recent call last):

File "/var/lib/python-support/python2.5/dbus/connection.py", line 214, in maybe_handle_message

self._handler(*args, **kwargs)

File "/usr/lib/listen/source/daapclient.py", line 59, in connect

add,port,name = service_discover.resolve(*args)

File "/usr/lib/listen/service_discover.py", line 59, in resolve

interface, protocol, name, type, domain, host, aprotocol, address, port, txt, flags = self.server.ResolveService?(interface, protocol, name, type, domain, avahi.PROTO_UNSPEC, dbus.UInt32(0))

File "/var/lib/python-support/python2.5/dbus/proxies.py", line 140, in call

**keywords)

File "/var/lib/python-support/python2.5/dbus/connection.py", line 622, in call_blocking

message, timeout)

DBusException: org.freedesktop.Avahi.TimeoutError?: Timeout reached ERROR dbus.connection Exception in handler for D-Bus signal: Traceback (most recent call last):

File "/var/lib/python-support/python2.5/dbus/connection.py", line 214, in maybe_handle_message

self._handler(*args, **kwargs)

File "/usr/lib/listen/source/daapclient.py", line 59, in connect

add,port,name = service_discover.resolve(*args)

File "/usr/lib/listen/service_discover.py", line 59, in resolve

interface, protocol, name, type, domain, host, aprotocol, address, port, txt, flags = self.server.ResolveService?(interface, protocol, name, type, domain, avahi.PROTO_UNSPEC, dbus.UInt32(0))

File "/var/lib/python-support/python2.5/dbus/proxies.py", line 140, in call

**keywords)

File "/var/lib/python-support/python2.5/dbus/connection.py", line 622, in call_blocking

message, timeout)

DBusException: org.freedesktop.Avahi.TimeoutError?: Timeout reached

Cheers, Julien

Change History

Changed 4 months ago by JulienV

All my aplogies, the above message is the output when listen is already loaded (that should have been a second bug report)!

here is the ouput for DAAP: Exception in thread Thread-15: Traceback (most recent call last):

File "/usr/lib/python2.5/threading.py", line 486, in bootstrap_inner

self.run()

File "/usr/lib/python2.5/threading.py", line 446, in run

self.target(*self.args, **self.kwargs)

File "/usr/lib/listen/source/daapclient.py", line 64, in add_service

l = DaapLibrary?(address, port)

File "/usr/lib/listen/source/daapclient.py", line 125, in init

self.client.connect( address, port )

File "/usr/lib/python2.5/site-packages/daap.py", line 367, in connect

self.getContentCodes() # practically required

File "/usr/lib/python2.5/site-packages/daap.py", line 455, in getContentCodes

response = self.request('/content-codes')

File "/usr/lib/python2.5/site-packages/daap.py", line 418, in request

response = self._get_response(r, params)

File "/usr/lib/python2.5/site-packages/daap.py", line 406, in _get_response

self.socket.connect()

File "/usr/lib/python2.5/httplib.py", line 683, in connect

raise socket.error, msg

error: (22, 'Argument invalide')

Exception in thread Thread-16: Traceback (most recent call last):

File "/usr/lib/python2.5/threading.py", line 486, in bootstrap_inner

self.run()

File "/usr/lib/python2.5/threading.py", line 446, in run

self.target(*self.args, **self.kwargs)

File "/usr/lib/listen/source/daapclient.py", line 64, in add_service

l = DaapLibrary?(address, port)

File "/usr/lib/listen/source/daapclient.py", line 125, in init

self.client.connect( address, port )

File "/usr/lib/python2.5/site-packages/daap.py", line 367, in connect

self.getContentCodes() # practically required

File "/usr/lib/python2.5/site-packages/daap.py", line 455, in getContentCodes

response = self.request('/content-codes')

File "/usr/lib/python2.5/site-packages/daap.py", line 418, in request

response = self._get_response(r, params)

File "/usr/lib/python2.5/site-packages/daap.py", line 406, in _get_response

self.socket.connect()

File "/usr/lib/python2.5/httplib.py", line 683, in connect

raise socket.error, msg

error: (22, 'Argument invalide')

DaapSource? Loading DAAP songs AT 192.168.1.70:3689 Loading DAAP songs AT 192.168.1.70:3689

No more output, and nothing shown on the GUI... 192.168.1.70 is a rhythmbox DAAP server, working with other media players.

Cheers, Julien

Changed 10 days ago by JulienV

Hi,

As of revision 1020, DAAP seems to work better. However, I can see the unique share in my network appearing 4 times: twice in Devices, twice in Shared Libraries. The shared playlists appear more than this, I'll attach a screenshot.

Cheers, Julien

Changed 10 days ago by JulienV

As I cannot attach a file (see #833), I put a link here to my screenshot: http://img134.imageshack.us/my.php?image=capturelistenkj0.png

Note: See TracTickets for help on using tickets.