#3461: Filenames with unicode not working
----------------------+------------------------------------------
Reporter: razaq | Owner:
Type: bug | Status: new
Priority: minor | Milestone: needs verified
Component: Unknown | Version: 2.0.3
Resolution: | Keywords: unicode, filename, file name
----------------------+------------------------------------------
Comment (by razaq):
{{{
00:35:03 [CRITICAL][twisted :154 ] Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/deluge/core/daemon_entry.py",
line 122, in run_daemon
daemon.start()
File "/usr/lib/python3.9/site-packages/deluge/core/daemon.py", line 164,
in start
reactor.run()
File "/usr/lib/python3.9/site-packages/twisted/internet/base.py", line
1283, in run
self.mainLoop()
File "/usr/lib/python3.9/site-packages/twisted/internet/base.py", line
1292, in mainLoop
self.runUntilCurrent()
--- <exception caught here> ---
File "/usr/lib/python3.9/site-packages/twisted/internet/base.py", line
913, in runUntilCurrent
call.func(*call.args, **call.kw)
File "/usr/lib/python3.9/site-packages/deluge/core/torrentmanager.py",
line 1258, in on_alert_add_torrent
self.add_async_callback(alert.handle, *add_async_params)
File "/usr/lib/python3.9/site-packages/deluge/core/torrentmanager.py",
line 697, in add_async_callback
torrent = self._add_torrent_obj(
File "/usr/lib/python3.9/site-packages/deluge/core/torrentmanager.py",
line 639, in _add_torrent_obj
torrent = Torrent(handle, options, state, filename, magnet)
File "/usr/lib/python3.9/site-packages/deluge/core/torrent.py", line
283, in __init__
self.set_options(self.options)
File "/usr/lib/python3.9/site-packages/deluge/core/torrent.py", line
315, in set_options
options_set_func(value)
File "/usr/lib/python3.9/site-packages/deluge/core/torrent.py", line
515, in set_file_priorities
if file_priorities and len(file_priorities) == len(self.get_files()):
File "/usr/lib/python3.9/site-packages/deluge/core/torrent.py", line
770, in get_files
return convert_lt_files(files)
File "/usr/lib/python3.9/site-packages/deluge/core/torrent.py", line
114, in convert_lt_files
file_path = _file.path.decode('utf8')
builtins.UnicodeDecodeError: 'utf-8' codec can't decode byte 0xed in
position 41: invalid continuation byte
}}}
--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3461#comment:2>
Deluge <https://deluge-torrent.org/>
Deluge Project
--
You received this message because you are subscribed to the Google Groups
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/deluge-dev/059.a632c627e1b2e698a95c4e76007d7e96%40deluge-torrent.org.