#1983: Autoadd plugin not loading torrents with non-ascii char names
----------------------+-----------------------------------------------------
Reporter: thepace | Owner: Cas
Type: bug | Status: closed
Priority: minor | Milestone: Future
Component: plugin | Version: 1.3.3
Resolution: invalid | Keywords: autoadd, utf, non ascii
----------------------+-----------------------------------------------------
Changes (by Cas):
* status: accepted => closed
* resolution: => invalid
Comment:
The following code helped a user which the same issue determine that
deluged was actually running with ANSI_X3.4-1968 (ASCII) instead of UTF8
so adding it here for reference.
{{{
diff --git a/deluge/main.py b/deluge/main.py
index b370c65..88268f8 100644
--- a/deluge/main.py
+++ b/deluge/main.py
@@ -209,7 +209,7 @@ def write_pidfile():
pass
deluge.log.setupLogger(level=options.loglevel,
filename=options.logfile)
from deluge.log import LOG as log
-
+ log.error(sys.getfilesystemencoding())
if options.profile:
import hotshot
hsp =
hotshot.Profile(deluge.configmanager.get_config_dir("deluged.profile"))
}}}
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/1983#comment:6>
Deluge <http://deluge-torrent.org/>
Deluge project
--
You received this message because you are subscribed to the Google Groups
"Deluge Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/deluge-dev?hl=en.