Skip to content

Error if filename contains umlauts #17

Closed
@kTitan

Description

I have always this problem if I try to run tvnamer on a file which contain german umlauts in it.

%% tvnamer testserieswithä_s01e01.avi
Loading config: /root/.tvnamer.json
####################
# Starting tvnamer
# Found 1 episode
####################
Traceback (most recent call last):
  File "/usr/bin/tvnamer-2.6", line 9, in 
    load_entry_point('tvnamer==2.1', 'console_scripts', 'tvnamer')()
  File "/usr/lib64/python2.6/site-packages/tvnamer/main.py", line 351, in main
    tvnamer(paths = sorted(args))
  File "/usr/lib64/python2.6/site-packages/tvnamer/main.py", line 268, in tvnamer
    processFile(tvdb_instance, episode)
  File "/usr/lib64/python2.6/site-packages/tvnamer/main.py", line 112, in processFile
    p("# Processing file: %s" % episode.fullfilename)
  File "/usr/lib64/python2.6/site-packages/tvnamer/utils.py", line 518, in fullfilename
    return u"%s.%s" % (self.filename, self.extension)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 14: ordinal not in range(128)

Currently I am using tvnamer version 2.1 with python 2.6

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions