Issue 190 in auto-sub: Crash when starting

12 views
Skip to first unread message

auto...@googlecode.com

unread,
May 12, 2013, 8:51:27 AM5/12/13
to aut...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 190 by mbeene...@gmail.com: Crash when starting
http://code.google.com/p/auto-sub/issues/detail?id=190

What steps will reproduce the problem?
1. Running Autosub on Ubuntu 12.04 and having our tv dirs added
2. As soon as we start auto-sub we get this error:

Traceback (most recent call last):
File "/home/michiel/auto-sub/autosub/Scheduler.py", line 21, in __init__
self.command.run()
File "/home/michiel/auto-sub/autosub/scanDisk.py", line 106, in run
walkDir(str(autosub.ROOTPATH))
File "/home/michiel/auto-sub/autosub/scanDisk.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 36:
ordinal not in range(128)

What is the expected output? What do you see instead?

The program should just run without problems.
This error shows up and nothing happens, program quits.


What version of the product are you using? On what operating system?
0.5.7 - Ubuntu 12.04



--
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,
May 12, 2013, 8:55:17 AM5/12/13
to aut...@googlegroups.com
Updates:
Status: Duplicate
Mergedinto: 102

Comment #1 on issue 190 by romke.va...@gmail.com: Crash when starting
http://code.google.com/p/auto-sub/issues/detail?id=190

Known issue, there is still a problem that Auto-Sub doesn't support non
ASCII characters. For example é or è that is why you get that crash.
Because of some bad programming choices it is kinda hard to fix. The best
thing you can do it try to find the weird character and rename de file.

auto...@googlecode.com

unread,
Aug 23, 2013, 2:59:32 AM8/23/13
to aut...@googlegroups.com

Comment #2 on issue 190 by thc...@gmail.com: Crash when starting
http://code.google.com/p/auto-sub/issues/detail?id=190

Hai Same here.
This only happens when its starting at boot time.

When i log in, and manually run the startup script ist working ok.

Attached my startup scripts.
I made this of a copy of sabnzbdplus start up script.
I have this script adjusted for sab, sick, couch, autosub, headphone.
All same script only changed the startup paramaters.

If it works ok, when logged in and started manually,
or with /etc/init.d/auto-sub start, of service auto-sub start
then it a coding problemen on the server, how can i set an environment
variable for language in the script, this must be the solution.



Attachments:
auto-sub-initrd.txt 4.8 KB
auto-sub-etc_default.txt 1.3 KB
Reply all
Reply to author
Forward
0 new messages