chenqingyu / auto-sub

Automatically exported from code.google.com/p/auto-sub
0 stars 0 forks source link

Very often subs will be downloaded and can't start Auto-Sub in daemon mode #67

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. launching Auto-Sub: python AutoSub.py -d
2. When started normally the wanted list is full of subtitles, but the log 
shows me this message all the time: 2012-03-21 13:34:45,760 WARNING  
downloadSubs: out of api calls
3.

What is the expected output? What do you see instead?
It's expected he will download the subs, but instead I get the out of api calls 
message (in the log)

What version of the product are you using? On what operating system?
Im using version Alpha 0.5.2 on Mac OSX 10.7.3

Please provide any additional information below.
I start AutoSub normally: python AutoSub.py , without any additions because 
python will crash.
Python version: Python 2.7.1 (r271:86832, Jun 16 2011, 16:59:05) 
Console output log: 3/21/12 1:42:33.377 PM ReportCrash: Saved crash report for 
Python[12640] version ??? (???) to 
/Users/Joost/Library/Logs/DiagnosticReports/Python_2012-03-21-134233_Joosts-MacB
ook-Pro.crash

Original issue reported on code.google.com by joostbam...@gmail.com on 21 Mar 2012 at 12:54

Attachments:

GoogleCodeExporter commented 9 years ago
Hi thanks for reporting this issue. 

I am more interrested in the logs when AutoSub crashes when going into daemon 
mode.
Could you post the log when that happens? Make sure you delete 
AutoSubService.log AND set logging to debug using the config page, because now 
you have given me info log (not very usefull for me)

"downloadSubs: out of api calls" means that you asked Bierdopje more then 300 
times this hour. After 1 hour the API Calls will reset. 

Original comment by romke.va...@gmail.com on 21 Mar 2012 at 1:34

GoogleCodeExporter commented 9 years ago
Ok, here's the output of the debug log when starting in daemon mode.

Original comment by joostbam...@gmail.com on 21 Mar 2012 at 11:02

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the logging, still have no idea why this crashed. 
Looks like it is caused by the database. 

Original comment by romke.va...@gmail.com on 23 Mar 2012 at 10:31

GoogleCodeExporter commented 9 years ago
I deleted the database and log file before starting in daemon mode, but still 
the error.

Original comment by joostbam...@gmail.com on 23 Mar 2012 at 10:48

GoogleCodeExporter commented 9 years ago
There is no log or database file created when starting in clean daemon mode.

Original comment by joostbam...@gmail.com on 23 Mar 2012 at 10:50

GoogleCodeExporter commented 9 years ago
What is the output to the console?

Original comment by romke.va...@gmail.com on 23 Mar 2012 at 1:17

GoogleCodeExporter commented 9 years ago
Only this:

"3/23/12 3:12:49.004 PM ReportCrash: Saved crash report for Python[49055] 
version ??? (???) to 
/Users/Joost/Library/Logs/DiagnosticReports/Python_2012-03-23-151249_Joosts-MacB
ook-Pro.crash
" with the same python crash log as posted before

Original comment by joostbam...@gmail.com on 23 Mar 2012 at 2:13

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Problem with daemon mode solved!

Reinstalled python-cheetah, and it's running like it should.

The subtitles also get downloaded.

Thanks for the support.

Original comment by joostbam...@gmail.com on 28 Mar 2012 at 9:30

GoogleCodeExporter commented 9 years ago
Thanks for letting me know!

Original comment by romke.va...@gmail.com on 28 Mar 2012 at 9:32