Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

AttributeError: 'NoneType' object has no attribute 'id' #532

Closed
chadwhitacre opened this issue Jan 28, 2013 · 3 comments
Closed

AttributeError: 'NoneType' object has no attribute 'id' #532

chadwhitacre opened this issue Jan 28, 2013 · 3 comments

Comments

@chadwhitacre
Copy link
Contributor

https://app.getsentry.com/gittip/gittip/group/3356220/

Stacktrace (most recent call last):

  File "aspen/website.py", line 66, in handle_safely
    response = self.handle(request)
  File "aspen/website.py", line 99, in handle
    response = request.resource.respond(request)
  File "aspen/resources/dynamic_resource.py", line 47, in respond
    exec self.pages[1] in context
  File "/app/www/%participant_id/widget.html", line 7, in <module>
    elif user.id == participant.id:
@chadwhitacre
Copy link
Contributor Author

This comes from hitting bad URLs:

https://www.gittip.com/ffjsdklhfjdksoo/widget.html

This should be 404 instead of 500 (see #479 for public.json).

@chadwhitacre
Copy link
Contributor Author

Still exists.

@Changaco
Copy link
Contributor

Changaco commented Sep 7, 2014

Closing as obsolete.

@Changaco Changaco closed this as completed Sep 7, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants