[Deluge] #1983: Autoadd plugin not loading torrents with non-ascii char names

172 views
Skip to first unread message

Deluge

unread,
Nov 28, 2011, 10:01:09 AM11/28/11
to delug...@googlegroups.com
#1983: Autoadd plugin not loading torrents with non-ascii char names
-------------------------------------+--------------------------------------
Reporter: thepace | Owner:
Type: bug | Status: new
Priority: major | Milestone: 1.3.x
Component: plugin | Version: 1.3.3
Keywords: autoadd, utf, non ascii |
-------------------------------------+--------------------------------------
I load torrent by dropping them into watch folder and autoadd plugin loads
them into deluge. On torrents with non-ascii character names files are not
loaded into deluge and they stay in watch folder until i manually delete
them. On manuall add via gui same torrent load properley.

sample file name that was not loaded:Los cronocrímenes

following error is written in deluged log:

[ERROR ] 00:56:46 core:204 Unable to auto add torrent due to inproper
filename encoding: 'ascii' codec can't decode byte 0xc3 in position 19:
ordinal not in range(128

OS used: ubuntu x64

--
Ticket URL: <http://dev.deluge-torrent.org/ticket/1983>
Deluge <http://deluge-torrent.org/>
Deluge project

Deluge

unread,
Nov 29, 2011, 1:19:01 PM11/29/11
to delug...@googlegroups.com
#1983: Autoadd plugin not loading torrents with non-ascii char names
-------------------------------------+--------------------------------------
Reporter: thepace | Owner:
Type: bug | Status: new
Priority: major | Milestone: 1.3.4
Component: plugin | Version: 1.3.3
Keywords: autoadd, utf, non ascii |
-------------------------------------+--------------------------------------
Changes (by Cas):

* milestone: 1.3.x => 1.3.4


--
Ticket URL: <http://dev.deluge-torrent.org/ticket/1983#comment:1>

Deluge

unread,
Dec 21, 2011, 11:55:52 PM12/21/11
to delug...@googlegroups.com
#1983: Autoadd plugin not loading torrents with non-ascii char names
-------------------------------------+--------------------------------------
Reporter: thepace | Owner:
Type: bug | Status: new
Priority: major | Milestone: 1.3.4
Component: plugin | Version: 1.3.3
Keywords: autoadd, utf, non ascii |
-------------------------------------+--------------------------------------
Changes (by non7top):

* cc: non7top@… (added)


Comment:

Same issue here with latest git

--
Ticket URL: <http://dev.deluge-torrent.org/ticket/1983#comment:2>

Deluge

unread,
Jan 4, 2012, 8:41:20 PM1/4/12
to delug...@googlegroups.com
#1983: Autoadd plugin not loading torrents with non-ascii char names
-------------------------------------+--------------------------------------
Reporter: thepace | Owner: Cas
Type: bug | Status: accepted
Priority: major | Milestone: 1.3.4
Component: plugin | Version: 1.3.3
Keywords: autoadd, utf, non ascii |
-------------------------------------+--------------------------------------
Changes (by Cas):

* owner: => Cas
* status: new => accepted


--
Ticket URL: <http://dev.deluge-torrent.org/ticket/1983#comment:3>

Deluge

unread,
Jan 30, 2012, 6:49:50 PM1/30/12
to delug...@googlegroups.com
#1983: Autoadd plugin not loading torrents with non-ascii char names
-------------------------------------+--------------------------------------
Reporter: thepace | Owner: Cas
Type: bug | Status: accepted
Priority: major | Milestone: 1.3.4
Component: plugin | Version: 1.3.3
Keywords: autoadd, utf, non ascii |
-------------------------------------+--------------------------------------

Comment(by Cas):

I am unable replicate this unless I set LC_ALL=C, can you check that you
have UTF8 language set for the OS?

--
Ticket URL: <http://dev.deluge-torrent.org/ticket/1983#comment:4>

Deluge

unread,
Jan 31, 2012, 1:31:33 AM1/31/12
to delug...@googlegroups.com
#1983: Autoadd plugin not loading torrents with non-ascii char names
-------------------------------------+--------------------------------------
Reporter: thepace | Owner: Cas
Type: bug | Status: accepted
Priority: minor | Milestone: Future
Component: plugin | Version: 1.3.3
Keywords: autoadd, utf, non ascii |
-------------------------------------+--------------------------------------
Changes (by thepace):

* priority: major => minor
* milestone: 1.3.4 => Future


Comment:

i pmd my seedbox provider to check this , but you are probably right since
on other box i took later it worked fine. other one is dedi box so
probably it does have utf on by default. thx for pointing out possible
cause of this. i will probably close ticket once cause is confirmed

--
Ticket URL: <http://dev.deluge-torrent.org/ticket/1983#comment:5>

Deluge

unread,
Feb 19, 2012, 8:28:40 AM2/19/12
to delug...@googlegroups.com
#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

unread,
Apr 23, 2014, 5:05:59 AM4/23/14
to delug...@googlegroups.com
#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
----------------------+-------------------------------------

Comment (by keretamalam):

I am about to leave and cannot look into this further right now, but I do
want to mention that relying on pkg-config itself is not a problem (as you
said, we also use it later), the problem is that on some systems, the .pc
file for pkg-config is supplying wrong information (whereas on yours, it's
botan-config that is wrong), so that's why I'm trying to make it work with
both (while one of them is bad).
[http://maskodoq.blogspot.com/2014/03/unit-link-terbaik-di-indonesia.html
Unit Link Terbaik di Indonesia Commonwealth Life Investra Link]
[http://maskodoq.blogspot.com/2013/07/CiptoJunaedy.html Cipto Junaedy]
[http://etnisjawa.blogspot.com/2013/08/apakah-cipto-junaedy-bohong.html
Cipto Junaedy]

--
Ticket URL: <http://dev.deluge-torrent.org/ticket/1983#comment:7>

Reply all
Reply to author
Forward
0 new messages