Closed felixtriller closed 14 years ago
Weird, not sure why this is failing.. Shall look into this later (I've added a currently-failing test, to remind me..)
More output:
$ tvnamer Der\ gefährlichste\ Job\ Alaskas\ -\ \[01x02\]\ -\ Schlaflose\ Nächte.avi #################### # Starting tvnamer # Found 1 episodes #################### Traceback (most recent call last): File "/usr/bin/tvnamer", line 9, inload_entry_point('tvnamer==2.0', 'console_scripts', 'tvnamer')() File "/usr/lib/python2.5/site-packages/tvnamer-2.0-py2.5.egg/tvnamer/main.py", line 236, in main tvnamer(paths = sorted(args)) File "/usr/lib/python2.5/site-packages/tvnamer-2.0-py2.5.egg/tvnamer/main.py", line 155, in tvnamer processFile(tvdb_instance, episode) File "/usr/lib/python2.5/site-packages/tvnamer-2.0-py2.5.egg/tvnamer/main.py", line 28, in processFile print "# Processing file: %s" % episode.fullfilename File "/usr/lib/python2.5/site-packages/tvnamer-2.0-py2.5.egg/tvnamer/utils.py", line 390, in fullfilename return u"%s.%s" % (self.filename, self.extension) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 7: ordinal not in range(128)
Hmm, are you using the latest version of tvnamer? The traceback looks like it's from an older version (and is likely caused by that print statement, which I've replaced entirely with a p()
function which handles unicode better)
There's something odd with either tvdb_api
or thetvdb.com's search API.. For now, you can replace ä
with a
using the custom replacements feature (or do this manually)
Made a ticket for this on the Lighthouse project:
tvnamer is unable to scan my TV episodes containing umlauts in the filename.
Example output for: Der gefährlichste Job Alaskas S01E02 - Schlaflose Nächte
ShowNotFound(u'Show Der gefa\u0308hrlichste Job Alaskas not found on www.thetvdb.com',)