chenqingyu / auto-sub

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

error 500 #130

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Even after latest update from source when saving the config in various screens 
(save namemapping, registering twitter) we see issues
1. Error 500 (no debug info yet) .. 

also, but maybe this is an user error: suddenly the english subs where selected 
and suddenly the min match score was set to 15 and 11 . .causing nothing to 
download anymore .. 

Original issue reported on code.google.com by aroundmyroom on 3 Oct 2012 at 6:52

GoogleCodeExporter commented 9 years ago
For the 500 error, please provide debug info.

For your config:

The minmatch score is normal, I've implemented codec support and the minimal 
matchscore need to be recalculated, your config was update from version 1 to 2. 
Check the "i" behind the matchingscore to see the changes. And what caused no 
subtitles to be download, please provide more debug info.

Original comment by romke.va...@gmail.com on 3 Oct 2012 at 7:50

GoogleCodeExporter commented 9 years ago
Ill check it myself this weekend, have a job again, if you implement my
email fix, i can test myself better from source again

Op woensdag 3 oktober 2012 schreef (auto-sub@googlecode.com) het volgende:

Original comment by aroundmyroom on 4 Oct 2012 at 4:34

GoogleCodeExporter commented 9 years ago
Mail fix implemented

Original comment by romke.va...@gmail.com on 4 Oct 2012 at 8:34

GoogleCodeExporter commented 9 years ago
will check this asap in my source

Original comment by aroundmyroom on 4 Oct 2012 at 1:47

GoogleCodeExporter commented 9 years ago
just cloned a new version: initial setup, trying to store the config

Request Headers:
  COOKIE: plushContainerWidth=100%25; plushNoTopMenu=0
  HOST: nblinux.local:8083
  CONNECTION: keep-alive
  Remote-Addr: 192.168.1.199
  ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
  USER-AGENT: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20100101 Firefox/15.0.1
  ACCEPT-LANGUAGE: en-us,en;q=0.5
  ACCEPT-ENCODING: gzip, deflate
[04/Oct/2012:19:03:56] HTTP Traceback (most recent call last):
  File "/usr/local/src/auto-sub/cherrypy/_cprequest.py", line 656, in respond
    response.body = self.handler()
  File "/usr/local/src/auto-sub/cherrypy/lib/encoding.py", line 188, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/usr/local/src/auto-sub/cherrypy/_cpdispatch.py", line 34, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/usr/local/src/auto-sub/cherrypy/_cptools.py", line 168, in handle_func
    handled = self.callable(*args, **self._merged_args(kwargs))
TypeError: staticfile() got multiple values for keyword argument 'filename'

192.168.1.199 - - [04/Oct/2012:19:03:56] "GET /favicon.ico HTTP/1.1" 500 513 "" 
"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20100101 Firefox/15.0.1"

Original comment by aroundmyroom on 4 Oct 2012 at 5:05

GoogleCodeExporter commented 9 years ago
Ahhhhhhh .. info info info .. 

If rootpath and/or path does not match with what is used, above issue is seen
(I had swapped the mediapath with the path of the program.

Original comment by aroundmyroom on 4 Oct 2012 at 5:18

GoogleCodeExporter commented 9 years ago
Can you please post your config file?

Original comment by romke.va...@gmail.com on 4 Oct 2012 at 5:19

GoogleCodeExporter commented 9 years ago
So this problem is fixed?

Original comment by romke.va...@gmail.com on 4 Oct 2012 at 5:23

GoogleCodeExporter commented 9 years ago
yep ..
maybe there could be a check if a certain file like AutoSub.py is present
before 'trying to save' something (validation on the path)

Original comment by aroundmyroom on 4 Oct 2012 at 7:20

GoogleCodeExporter commented 9 years ago
With the implementation of multipath the difference will be clear between path 
and rootpath. And thus preventing this issue.

Original comment by romke.va...@gmail.com on 4 Oct 2012 at 7:33