Rescanning collection gives Invalid filename error

Bug #426096 reported by David Wagner
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Exaile
Fix Released
High
reacocard

Bug Description

I downloaded and installed the latest version of exaile in bzr (revision 2486). When I try to rescan my collection, I get the following errors:

INFO : Scanning library: file:///home/daw/more/music/taverner
Exception in thread Thread-8:
Traceback (most recent call last):
  File "/usr/lib64/python2.6/threading.py", line 522, in __bootstrap_inner
    self.run()
  File "/usr/lib64/python2.6/threading.py", line 477, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/local/lib/exaile/xl/collection.py", line 230, in __count_files
    file_count += library._count_files()
  File "/usr/local/lib/exaile/xl/collection.py", line 401, in _count_files
    for file in self._walk(gio.File(self.location)):
  File "/usr/local/lib/exaile/xl/collection.py", line 477, in _walk
    fil = dir.get_child_for_display_name(fileinfo.get_name())
Error: Invalid filename (7)Partita sopra Sei gegr��e.mp3

Exception in thread Thread-7:
Traceback (most recent call last):
  File "/usr/lib64/python2.6/threading.py", line 522, in __bootstrap_inner
    self.run()
  File "/usr/local/lib/exaile/xlgui/collection.py", line 87, in run
    self.collection.rescan_libraries()
  File "/usr/local/lib/exaile/xl/collection.py", line 204, in rescan_libraries
    library.rescan(notify_interval=scan_interval)
  File "/usr/local/lib/exaile/xl/collection.py", line 548, in rescan
    for fil in self._walk(libloc):
  File "/usr/local/lib/exaile/xl/collection.py", line 477, in _walk
    fil = dir.get_child_for_display_name(fileinfo.get_name())
Error: Invalid filename (7)Partita sopra Sei gegr��e.mp3

In addition, the collection re-scan never completes: the "Scanning collection" progress bar just stays at 0% and never goes away.

Here's the file that this is probably referring to:

njb3/The Art of Fugue Vol_ 2/(7)Partita sopra Sei gegr��e.mp3

where the two funny characters (after "gegr") are 0xFC and 0xDF, respectively.

This is on a Fedora 11 x86-64 Linux platform.

Revision history for this message
Niko Wenselowski (nik0) wrote :

I can confirm this running Linux Mint 7 and bzr revision 2486.

Scanning remains at 0% after detection of a track with invalid filename.

Scanning that track worked with version 0.3.0.1.

Revision history for this message
reacocard (reacocard) wrote :

should be fixed in r2492

Changed in exaile:
assignee: nobody → Aren Olson (reacocard)
importance: Undecided → High
milestone: none → 0.3.1
status: New → Fix Committed
Revision history for this message
David Wagner (daw-bugzilla) wrote :

Unfortunately I can't confirm with certainty whether it's fixed or not for me, because now when I re-scan collection I encounter bug #426396. The good news is I don't get the "Invalid filename" error I reported earlier, so that's promising. However the scan never completes (it never gets past 0%, due to bug #426396), so I can't confirm that the bug is fixed for me. Once bug #426396 is fixed, I'll try to confirm that this bug is fixed for me, too.

reacocard (reacocard)
Changed in exaile:
status: Fix Committed → Fix Released
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.