Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't log-in. No attribute 'newpost' (TemplateSyntaxError at /openid/login/) #4

Closed
alevchuk opened this issue Mar 29, 2011 · 2 comments

Comments

@alevchuk
Copy link
Contributor

fd31af50dc1 introduces a bug.

I get
Caught ViewDoesNotExist while rendering: Tried newpost in module biostar.server.views. Error was: 'module' object has no attribute 'newpost'

In /templates/openid/login.html, error at line 6

every time when I click on:
http://localhost:8080/openid/login/
or
http://localhost:8080/newquestion/

@ialbert
Copy link
Owner

ialbert commented Mar 29, 2011

On Tue, Mar 29, 2011 at 4:40 AM, alevchuk
reply@reply.github.com
wrote:

fd31af5 [1] introduces a bug.

I get
Caught ViewDoesNotExist while rendering: Tried newpost in module biostar.server.views. Error was: 'module' object has no attribute 'newpost'

yeah, sorry about that, the plan was to fix both views in two
refactoring steps and commits, I got the first in but then I did not
have time to finish the second. should come in within an hour or two

Istvan Albert
Associate Professor, Bioinformatics
Pennsylvania State University
http://www.personal.psu.edu/iua1/

@ialbert
Copy link
Owner

ialbert commented Mar 29, 2011

unexpected bug, a view was commented out for refactoring from the code but not the url map. Turns out the openid login does a scan of all url maps and therefore would trigger an error.

@ialbert ialbert closed this as completed Mar 29, 2011
ialbert pushed a commit that referenced this issue Mar 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants