Closed impo closed 4 years ago
Yes, unicoding issues need to be fixed. I'm running into this too
Adding filename = filename.decode('utf-8')
in normalize_filename()
in db.py
seems to work
Yes, unicoding issues need to be fixed. I'm running into this too
Adding
filename = filename.decode('utf-8')
innormalize_filename()
indb.py
seems to work
I got this:
File "/usr/lib64/python3.8/site-packages/autotorrent/db.py", line 288, in normalize_filename filename = filename.decode('utf-8') AttributeError: 'str' object has no attribute 'decode'
I opened my db.py with nano, but cannot figure out how to apply @adamwinn fix. @bobbintb did this work for you?
I opened my db.py with nano, but cannot figure out how to apply @adamwinn fix. @bobbintb did this work for you?
No, it didn't. I think it's because I'm on Python 3. I ended up using Python 2 because it was less of a pain than trying to fix it for something I only needed momentarily.
@bobbintb how can I add this to the python 2 version ? Id really like to get this working
@bobbintb how can I add this to the python 2 version ? Id really like to get this working
I think I just did adamwinn's fix in Python2. It didn't work in Python3.
Thanks for reporting this.
This is folded into #45
The same bug referenced in issues #20 and #21.
autotorrent -r
seems to have a hard time handling the unicode in my downloads folder.