Re: Issue 102 in auto-sub: Unicode bug, variable error

10 views
Skip to first unread message

auto...@googlecode.com

unread,
May 29, 2012, 3:12:41 AM5/29/12
to aut...@googlegroups.com
Updates:
Summary: Unicode bug, variable error
Status: Accepted
Owner: romke.va...@gmail.com
Labels: -Priority-Medium Priority-High Milestone-Release0.5.5

Comment #3 on issue 102 by romke.va...@gmail.com: Unicode bug, variable
error
http://code.google.com/p/auto-sub/issues/detail?id=102

Ah k, got enough info to work on this issue. Thanks for reporting! I will
try to fix this before the upcoming release.

auto...@googlecode.com

unread,
Jun 1, 2012, 2:26:48 PM6/1/12
to aut...@googlegroups.com
Updates:
Labels: -Milestone-Release0.5.5 Milestone-Release0.5.6

Comment #4 on issue 102 by romke.va...@gmail.com: Unicode bug, variable
error
http://code.google.com/p/auto-sub/issues/detail?id=102

Didn't had enough time to test and fixes this. A known workaround is there
to search for a file containing a weird character and rename it. But I am
finally able to reproduce this issue! :)

auto...@googlecode.com

unread,
Jun 2, 2012, 6:10:34 AM6/2/12
to aut...@googlegroups.com

Comment #5 on issue 102 by romke.va...@gmail.com: Unicode bug, variable
error
http://code.google.com/p/auto-sub/issues/detail?id=102

Issue 95 has been merged into this issue.

auto...@googlecode.com

unread,
Jun 2, 2012, 7:02:59 AM6/2/12
to aut...@googlegroups.com

Comment #6 on issue 102 by Fighting...@gmail.com: Unicode bug, variable
error
http://code.google.com/p/auto-sub/issues/detail?id=102

looking forward to the final sollution

auto...@googlecode.com

unread,
Jun 9, 2012, 9:28:35 AM6/9/12
to aut...@googlegroups.com

Comment #7 on issue 102 by romke.va...@gmail.com: Unicode bug, variable
error
http://code.google.com/p/auto-sub/issues/detail?id=102

Issue 106 has been merged into this issue.

auto...@googlecode.com

unread,
Oct 8, 2012, 3:18:30 PM10/8/12
to aut...@googlegroups.com

Comment #8 on issue 102 by romke.va...@gmail.com: Unicode bug, variable
error
http://code.google.com/p/auto-sub/issues/detail?id=102

Issue 135 has been merged into this issue.

auto...@googlecode.com

unread,
Dec 3, 2012, 3:17:43 PM12/3/12
to aut...@googlegroups.com

Comment #10 on issue 102 by romke.va...@gmail.com: Unicode bug, variable
error
http://code.google.com/p/auto-sub/issues/detail?id=102

Issue 157 has been merged into this issue.

auto...@googlecode.com

unread,
Dec 9, 2012, 10:26:11 AM12/9/12
to aut...@googlegroups.com

Comment #11 on issue 102 by carstenk...@gmail.com: Unicode bug, variable
error
http://code.google.com/p/auto-sub/issues/detail?id=102

Traceback (most recent call last):

File "/opt/sybhttpd/localhost.drives/USB_DRIVE/Apps/autosub/autosub/Scheduler.py",
line 21, in __init__
self.command.run()

File "/opt/sybhttpd/localhost.drives/USB_DRIVE/Apps/autosub/autosub/scanDisk.py",
line 102, in run
walkDir(str(autosub.ROOTPATH))

File "/opt/sybhttpd/localhost.drives/USB_DRIVE/Apps/autosub/autosub/scanDisk.py",
line 40, in walkDir
srtfile = os.path.splitext(filename)[0] + u".srt"
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 63:
ordinal not in range(128)

I think this is because the filename has a - in it. 'Re-entry'.

auto...@googlecode.com

unread,
Dec 23, 2012, 9:46:26 AM12/23/12
to aut...@googlegroups.com

Comment #12 on issue 102 by bliz...@gmail.com: Unicode bug, variable error
http://code.google.com/p/auto-sub/issues/detail?id=102

Same issue here

auto...@googlecode.com

unread,
Feb 24, 2013, 5:11:57 PM2/24/13
to aut...@googlegroups.com

Comment #13 on issue 102 by michelb...@gmail.com: Unicode bug, variable
error
http://code.google.com/p/auto-sub/issues/detail?id=102

[/share/HDA_DATA/.qpkg/auto-sub] # python AutoSub.py
AutoSub: Initializing variables and loading config
AutoSub: Starting output to log. Bye!
[24/Feb/2013:22:09:45] ENGINE Serving on 0.0.0.0:8003
Traceback (most recent call last):
File "/share/HDA_DATA/.qpkg/auto-sub/autosub/Scheduler.py", line 21, in
__init__
self.command.run()
File "/share/HDA_DATA/.qpkg/auto-sub/autosub/scanDisk.py", line 102, in
run
walkDir(str(autosub.ROOTPATH))
File "/share/HDA_DATA/.qpkg/auto-sub/autosub/scanDisk.py", line 38, in
walkDir
srtfile = os.path.splitext(filename)[0] + u"." + autosub.SUBNL + u".srt"
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 21:
ordinal not in range(128)


Same problem here. This is after setting the TV download dir and restarting.

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

auto...@googlecode.com

unread,
Apr 19, 2013, 1:18:32 PM4/19/13
to aut...@googlegroups.com
Updates:
Labels: -Milestone-Release0.5.7 Milestone-Release0.5.8

Comment #14 on issue 102 by romke.va...@gmail.com: Unicode bug, variable
error
http://code.google.com/p/auto-sub/issues/detail?id=102

(No comment was entered for this change.)

auto...@googlecode.com

unread,
May 12, 2013, 8:56:17 AM5/12/13
to aut...@googlegroups.com

Comment #15 on issue 102 by romke.va...@gmail.com: Unicode bug, variable
error
http://code.google.com/p/auto-sub/issues/detail?id=102

Issue 190 has been merged into this issue.

auto...@googlecode.com

unread,
May 15, 2013, 3:21:04 PM5/15/13
to aut...@googlegroups.com

Comment #16 on issue 102 by romke.va...@gmail.com: Unicode bug, variable
error
http://code.google.com/p/auto-sub/issues/detail?id=102

Issue 191 has been merged into this issue.

auto...@googlecode.com

unread,
Aug 23, 2013, 3:05:33 AM8/23/13
to aut...@googlegroups.com

Comment #18 on issue 102 by thc...@gmail.com: Unicode bug, variable error
http://code.google.com/p/auto-sub/issues/detail?id=102

Hai, same here, i attached my script, its a nicer way for auto-subs startup.
( its a copy of sabnzbdplus script )

I only have the error at boot, afer boot, i login and manualy start it up
and it words.
This looks like a coding problem, so the simpel solution is which locales
is needed as default, of which locales is this programmed in.

If we are able to set the locale in the startup script, than its fixed i
think.


Attachments:
auto-sub-etc_default.txt 1.3 KB
auto-sub-initrd.txt 4.8 KB

auto...@googlecode.com

unread,
Aug 23, 2013, 3:08:24 AM8/23/13
to aut...@googlegroups.com

Comment #19 on issue 102 by thc...@gmail.com: Unicode bug, variable error
http://code.google.com/p/auto-sub/issues/detail?id=102

( correction of the startup script, this should be in it.
# Required-Start: $local_fs $network
# Required-Stop: $local_fs $network

auto...@googlecode.com

unread,
Aug 28, 2013, 2:12:00 PM8/28/13
to aut...@googlegroups.com

Comment #20 on issue 102 by ikkeenji...@gmail.com: Unicode bug, variable
error
http://code.google.com/p/auto-sub/issues/detail?id=102

Hi there i also got the same problem and don't know how to fix it.
her's the error log:

[root@zfsguru /home/ssh]# service autosub onestart
Starting autosub.
[root@zfsguru /home/ssh]# AutoSub: Initializing variables and loading config
AutoSub: Starting output to log. Bye!
[28/Aug/2013:18:11:17] ENGINE Serving on 0.0.0.0:8083
Traceback (most recent call last):

File "/schijf1/zfsguru/services/9.1-006/sabnzbdplus/data/autosub/autosub/Sched
uler.py", line 21, in __init__
self.command.run()

File "/schijf1/zfsguru/services/9.1-006/sabnzbdplus/data/autosub/autosub/scanD
isk.py", line 106, in run
walkDir(str(autosub.ROOTPATH))

File "/schijf1/zfsguru/services/9.1-006/sabnzbdplus/data/autosub/autosub/scanD
isk.py", line 42, in walkDir
srtfile = os.path.splitext(filename)[0] + u"." + autosub.SUBNL + u".srt"
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 20:
ordinal
not in range(128)
Reply all
Reply to author
Forward
0 new messages