Ticket #2007 (closed bug: fixed)
UnicodeDecodeError when logging to file
| Reported by: | non7top | Owned by: | Cas |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.4.0 |
| Component: | core | Version: | master (git branch) |
| Keywords: | Cc: |
Description
On latest git master
$ deluged --do-not-daemonize -L debug -l /home/non7top/.config/deluge/deluged.log
Traceback (most recent call last):
File "/usr/lib/python2.7/logging/__init__.py", line 865, in emit
stream.write(fs % msg.encode("UTF-8"))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 104: ordinal not in range(128)
Logged from file alertmanager.py, line 124
Traceback (most recent call last):
File "/usr/lib/python2.7/logging/__init__.py", line 865, in emit
stream.write(fs % msg.encode("UTF-8"))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 106: ordinal not in range(128)
Logged from file alertmanager.py, line 124
Traceback (most recent call last):
File "/usr/lib/python2.7/logging/__init__.py", line 865, in emit
stream.write(fs % msg.encode("UTF-8"))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 107: ordinal not in range(128)
Logged from file alertmanager.py, line 124
Traceback (most recent call last):
File "/usr/lib/python2.7/logging/__init__.py", line 865, in emit
stream.write(fs % msg.encode("UTF-8"))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 104: ordinal not in range(128)
Logged from file alertmanager.py, line 124
Traceback (most recent call last):
File "/usr/lib/python2.7/logging/__init__.py", line 865, in emit
stream.write(fs % msg.encode("UTF-8"))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 104: ordinal not in range(128)
Logged from file alertmanager.py, line 124
Traceback (most recent call last):
File "/usr/lib/python2.7/logging/__init__.py", line 865, in emit
stream.write(fs % msg.encode("UTF-8"))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 107: ordinal not in range(128)
Logged from file alertmanager.py, line 124
Traceback (most recent call last):
File "/usr/lib/python2.7/logging/__init__.py", line 865, in emit
stream.write(fs % msg.encode("UTF-8"))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 106: ordinal not in range(128)
Logged from file alertmanager.py, line 124
Traceback (most recent call last):
File "/usr/lib/python2.7/logging/__init__.py", line 865, in emit
stream.write(fs % msg.encode("UTF-8"))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 104: ordinal not in range(128)
Logged from file alertmanager.py, line 124
^C^CUnhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/twisted/internet/defer.py", line 286, in addCallbacks
self._runCallbacks()
File "/usr/lib/python2.7/site-packages/twisted/internet/defer.py", line 542, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/usr/lib/python2.7/site-packages/deluge/component.py", line 275, in on_depends_started
return self.components[name]._component_start()
File "/usr/lib/python2.7/site-packages/deluge/component.py", line 126, in _component_start
d = maybeDeferred(self.start)
--- <exception caught here> ---
File "/usr/lib/python2.7/site-packages/twisted/internet/defer.py", line 133, in maybeDeferred
result = f(*args, **kw)
File "/usr/lib/python2.7/site-packages/deluge/core/torrentmanager.py", line 216, in start
self.load_state()
File "/usr/lib/python2.7/site-packages/deluge/core/torrentmanager.py", line 677, in load_state
resume_data=resume_data.get(torrent_state.torrent_id))
File "/usr/lib/python2.7/site-packages/deluge/core/torrentmanager.py", line 505, in add
torrent = Torrent(handle, options, state, filename, magnet, owner)
File "/usr/lib/python2.7/site-packages/deluge/core/torrent.py", line 192, in __init__
self.set_options(self.options)
File "/usr/lib/python2.7/site-packages/deluge/core/torrent.py", line 247, in set_options
OPTIONS_FUNCS[key](value)
File "/usr/lib/python2.7/site-packages/deluge/core/torrent.py", line 381, in set_file_priorities
self.set_prioritize_first_last(self.options["prioritize_first_last_pieces"])
File "/usr/lib/python2.7/site-packages/deluge/core/torrent.py", line 316, in set_prioritize_first_last
slices = ti.map_block(n, 0, ti.piece_size(n))
exceptions.KeyboardInterrupt:
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
