evilhero / mylar

An automated Comic Book downloader (cbr/cbz) for use with SABnzbd, NZBGet and torrents
GNU General Public License v3.0
976 stars 171 forks source link

Son of 500 internal server error! #151

Closed AtariBaby closed 11 years ago

AtariBaby commented 11 years ago

After updating to latest today,

I tried to add the comic "Fear Agent" http://www.comicvine.com/fear-agent/49-20725/, 2005, 27 issues, and got this:

500 Internal Server Error

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

Traceback (most recent call last):
  File "/home/misterfantastic/.mylar/cherrypy/_cprequest.py", line 645, in respond
    response.body = self.handler()
  File "/home/misterfantastic/.mylar/cherrypy/lib/encoding.py", line 188, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/home/misterfantastic/.mylar/cherrypy/_cpdispatch.py", line 29, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/home/misterfantastic/.mylar/mylar/webserve.py", line 119, in addComic
    loopie, cnt = parseit.ComChk(comicname, comicyear, comicpublisher, comicissues, comicid)
  File "/home/misterfantastic/.mylar/mylar/parseit.py", line 510, in ComChk
    truecnt = cntit.findNext(text=True)
AttributeError: 'NoneType' object has no attribute 'findNext'
evilhero commented 11 years ago

lol leave it to you to find a parser error again! On the plus I don't think that's even needed anymore since I redid the search method for Ultron awhile ago. I'll look into cleaning this up for ya tonight.

evilhero commented 11 years ago

Ugh Ok that sucks - it works for me :( Let me check that code and see what I can do for ya....

evilhero commented 11 years ago

Should work for you now in latest commit - I just removed those entries entirely :)

XxDarkFalconxX commented 11 years ago

I think I have a related error. I got this one when trying to edit the folder in an existing comic book. Note: I did NOT select 'fuzzy the year'. When I click update I get the following;

Traceback (most recent call last): File "C:\Mylar-Development\mylar\cherrypy_cprequest.py", line 645, in respond response.body = self.handler() File "C:\Mylar-Development\mylar\cherrypy\lib\encoding.py", line 188, in call self.body = self.oldhandler(_args, *_kwargs) File "C:\Mylar-Development\mylar\cherrypy_cpdispatch.py", line 35, in call raise sys.exc_info()[1] HTTPError: (404, 'Missing parameters: fuzzy_year')

If this is not related, I can go ahead and open a new issue.

Build info: Version: 7403e7bcf269e8717cb32e4583e221f1304f25c0 (development)

AtariBaby commented 11 years ago

Hmm at one point, after an update, I saw a nice screen apologetically asking me which version I wanted. I selected one, but it just kept spinning without finding issues (information being loaded). I deleted it. After this last update, I tried again. I wasn't asked which one to pick but when I add the comic, same thing, just keeps spinning without populating issues.

evilhero commented 11 years ago

XxDarkFalconxX: that's actually a different error I stumbled across recently. if on the edit screen you have to make sure you select an option for fuzzy - just normal is ok even. The save will work then..I'll have a fix up soon for that.

AtariBaby: delete the line from your custom_exceptions. csv that relates to that particular comic and restart Mylar and try to add it again. What was the comic you were trying to add?

AtariBaby commented 11 years ago

ah, okay, so far so good. now here's a question: which one of these do I want? It's "Fear Agent". If I don't know which one I want, or if I want them all, what do I select? And should I check the box to add to custom exceptions csv? (also confusing that it says "default" yet it's unchecked).

evilhero commented 11 years ago

Well in the blurb that says what is happening, in bold there's the Comic information that you had selected on the previous screen indicating the title, year and number of issues. In the list that's given, you can click on a title and it will bring you into the comics.org site showing you the title (in a new window! huzzah!) You don't have to check off the box, it's enabled regardless of the check currently - I just didn't get around to setting the default value of it yet :)

Ahh ok I just seen what you meant. Fear Agent is a multi-volume series - first 11 issues were published by Image(21777), last 16 by DarkHorse(27671) although the numbering continues between the volumes. I haven't figured out the logic for that one, cause well I don't even know how to go about doing those yet. So you'll have to manually enter it into your custom_exceptions.csv and reload mylar - you'll be brought into another different screen due to the mult-volume:

1,20725,none,21777/27671

AtariBaby commented 11 years ago

Worked!

AtariBaby commented 11 years ago

I'll leave it to you whether to close this, since there is another user in this thread. Thanks for the help.

evilhero commented 11 years ago

Both of these have been resolved idn the last few commits, so imma go ahead and close this.