Exception in DAAP server plugin encountering unhandled media file while building list

Bug #923680 reported by VinzC
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Exaile
Fix Released
Undecided
Brian Parma

Bug Description

Exaile version: 0.3.2.1
Platform: Gentoo Linux (x86_64)
Python: 2.6.6

I'm using DAAP client module for Songbird on a Windows machine to connect to the media library on my laptop, which is running Exaile 0.3.2.1 on Gentoo. Songbird never builds the library and hangs forever. On my Gentoo laptop there's the following exception in .xsession-errors:

Caught exception: while processing 'Inconnu (a_file_encoded_in_DTS_that_has_no_properties_in_exaile.wav)' from 'Inconnu' by 'Inconnu': unsupported operand type(s) for *: 'NoneType' and 'int' Traceback (most recent call last):
  File "/usr/lib64/python2.6/SocketServer.py", line 560, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib64/python2.6/SocketServer.py", line 322, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib64/python2.6/SocketServer.py", line 617, in __init__
    self.handle()
  File "/usr/lib64/python2.6/BaseHTTPServer.py", line 329, in handle
    self.handle_one_request()
  File "/usr/lib64/python2.6/BaseHTTPServer.py", line 323, in handle_one_request
    method()
  File "/usr/share/exaile/plugins/daapserver/spydaap/server.py", line 79, in do_GET
    self.do_GET_item_list(md.group(1))
  File "/usr/share/exaile/plugins/daapserver/spydaap/server.py", line 188, in do_GET_item_list
    data = build()
  File "/usr/share/exaile/plugins/daapserver/spydaap/server.py", line 177, in build
    children = [ build_item (md) for md in md_cache ]
  File "/usr/share/exaile/plugins/daapserver/spydaap/server.py", line 173, in build_item
    md.get_dmap_raw()
  File "/usr/share/exaile/plugins/daapserver/__init__.py", line 21, in get_dmap_raw
    self.daap = ''.join([d.encode() for d in self.parser.parse(self.track)[0]])
TypeError: 'NoneType' object is not iterable

Have wanted to fix the code myself but it's too complicated for my level of understanding in Python :( .

VinzC (v-cadet)
summary: - Execption in DAAP server plugin encountering unhandled media file while
+ Exception in DAAP server plugin encountering unhandled media file while
building list
description: updated
Changed in exaile:
assignee: nobody → Brian Parma (bj0)
milestone: none → 0.3.3.0
status: New → Fix Committed
Changed in exaile:
status: Fix Committed → Fix Released
Revision history for this message
VinzC (v-cadet) wrote :

Thanks a lot!

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.