Skip to content
This repository has been archived by the owner on Jan 2, 2021. It is now read-only.

"Want" on Weekly pull list fails #14

Closed
steffenhk opened this issue Sep 18, 2012 · 3 comments
Closed

"Want" on Weekly pull list fails #14

steffenhk opened this issue Sep 18, 2012 · 3 comments
Assignees
Labels

Comments

@steffenhk
Copy link
Contributor

Whenever I click "want" on any comic on the weekly pull list i get an "There was an error" and the following traceback:

Traceback (most recent call last):
  File "/volume1/homes/admin/mylar/cherrypy/_cprequest.py", line 645, in respond
    response.body = self.handler()
  File "/volume1/homes/admin/mylar/cherrypy/lib/encoding.py", line 188, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/volume1/homes/admin/mylar/cherrypy/_cpdispatch.py", line 29, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/volume1/homes/admin/mylar/mylar/webserve.py", line 232, in queueissue
    issues = myDB.action("SELECT IssueDate FROM issues WHERE IssueID=?", [IssueID]).fetchone()
UnboundLocalError: local variable 'myDB' referenced before assignment
@evilhero
Copy link
Owner

not sure what happened - but missing the DB connection string. Added in newest commit and should be fixed. However I think there's still an outstanding issue of being able to successfully add a comic on the pullist via the want option (different traceback, but you might get it when you try now).

@ghost ghost assigned evilhero Sep 19, 2012
@steffenhk
Copy link
Contributor Author

Yes I tried again and now I get:

Traceback (most recent call last):
  File "/volume1/homes/admin/mylar/cherrypy/_cprequest.py", line 645, in respond
    response.body = self.handler()
  File "/volume1/homes/admin/mylar/cherrypy/lib/encoding.py", line 188, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/volume1/homes/admin/mylar/cherrypy/_cpdispatch.py", line 29, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/volume1/homes/admin/mylar/mylar/webserve.py", line 233, in queueissue
    ComicYear = str(issues['IssueDate'])[:4]
TypeError: 'NoneType' object has no attribute '__getitem__'

@steffenhk steffenhk reopened this Sep 19, 2012
@evilhero
Copy link
Owner

evilhero commented Feb 6, 2013

The 'Want' a single issue from the Wanted tab is no longer available as an option. Perhaps in the future it will return, but currently it's too much work to try and do individual comics and track them in a meaningful manner.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants