Can't add to the library

Asked by Travis Abram

When I try to add any files to the library that have an odd character, none of my library shows up. Pretty much, once this happens, I have to delete /.exaile to try again. The log shows lines like these a ton:
[01:42:57] -----------------------
[01:42:57] run ( /usr/share/exaile/xl/library.py @ 616):
[01:42:57] -----------------------
[01:42:57] Traceback (most recent call last):
[01:42:57] File "/usr/share/exaile/xl/library.py", line 654, in run
[01:42:57] self.do_function(loc)
[01:42:57] File "/usr/share/exaile/xl/library.py", line 804, in do_function
[01:42:57] path_id = get_column_id(db, 'paths', 'name', unicode(loc, xlmisc.get_default_encoding()))
[01:42:57] UnicodeDecodeError: 'utf8' codec can't decode bytes in position 67-70: invalid data
[01:42:57]
[01:42:59] Committing 1500 scanned tracks...
[01:43:03] Couldn't read tags from file: /home/travis/Music/g/Gorillaz/Demon Days/07 - Gorillaz - El Mañana.mp3

The common problems seems to be the unique character in all of my files...

[01:43:56] Couldn't read tags from file: /home/travis/Music/m/Motörhead/Ace of Spades [Bonus Tracks]/12 - Motörhead - The Hammer.m4a
...
[01:44:15] Couldn't read tags from file: /home/travis/Music/n/nofx/So Long And Thanks For All The Shoes/09 - NoFX - Champs Elysées.m4a

Am I missing something?

Question information

Language:
English Edit question
Status:
Answered
For:
Exaile Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Travis Abram (inthought) said :
#1

I experimented a little, and the issue is with these characters in the file name, but not the tag. In nautilus, the characters come across as question marks. Just an update.

Revision history for this message
Nicholas Omann (alphacluster) said :
#2

First are you using Ubuntu? and if so what version also what version of Exaile are you using?

Revision history for this message
Travis Abram (inthought) said :
#3

Yes, Ubuntu 7.10. Exaile 0.2.11
Using the log file, I identified the problem files and changed the character in question manually. This was a time consuming workaround, but gave me the ability to work in exaile again. I know that if I restore the original file names, exile won't load the library.

Revision history for this message
Adam Olsen (arolsen) said :
#4

Please try the bzr version, and let me know if you have the same problem. It might not add the tracks with the unicode issues, but it will load the library.

Can you help with this problem?

Provide an answer of your own, or ask Travis Abram for more information if necessary.

To post a message you must log in.