ferretcomp / mylar

An automated Comic Book downloader (cbr/cbz) for use with SABnzbd, NZBGet and torrents - my fork, with a few custom additions
0 stars 0 forks source link

500 Error when adding new comic #10

Open quark5980 opened 7 years ago

quark5980 commented 7 years ago

500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.

Traceback (most recent call last): File "c:\Mylar\lib\cherrypy_cprequest.py", line 645, in respond response.body = self.handler() File "c:\Mylar\lib\cherrypy\lib\encoding.py", line 188, in call self.body = self.oldhandler(*args, *kwargs) File "c:\Mylar\lib\cherrypy_cpdispatch.py", line 29, in call return self.callable(self.args, **self.kwargs) File "c:\Mylar\mylar\webserve.py", line 76, in home comics = helpers.havetotals() File "c:\Mylar\mylar\helpers.py", line 1369, in havetotals "ComicPublished": re.sub('(N)', '', comic['ComicPublished']).strip(), File "c:\Python27\lib\re.py", line 155, in sub return _compile(pattern, flags).sub(repl, string, count) TypeError: expected string or buffer

quark5980 commented 7 years ago

500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.

Traceback (most recent call last): File "c:\Mylar\lib\cherrypy_cprequest.py", line 645, in respond response.body = self.handler() File "c:\Mylar\lib\cherrypy\lib\encoding.py", line 188, in call self.body = self.oldhandler(*args, *kwargs) File "c:\Mylar\lib\cherrypy_cpdispatch.py", line 29, in call return self.callable(self.args, **self.kwargs) File "c:\Mylar\mylar\webserve.py", line 76, in home comics = helpers.havetotals() File "c:\Mylar\mylar\helpers.py", line 1369, in havetotals "ComicPublished": re.sub('(N)', '', comic['ComicPublished']).strip(), File "c:\Python27\lib\re.py", line 155, in sub return _compile(pattern, flags).sub(repl, string, count) TypeError: expected string or buffer