Unhandled Exception

1 view
Skip to first unread message

mangamonk

unread,
Feb 9, 2011, 7:33:14 AM2/9/11
to Pinax Users
I'm in the process of moving a Pinax site developed last year to a new
server. I'm getting the following message:
'An unhandled exception was thrown by the application.'

Can anyone advise on the next steps?
Here is a description of the two servers:

OLD SERVER
Pinax version 0.7
Django version 1.2.1
Deployment is through the mod_wsgi module running on Apache 2 behind
an nginx proxy on a virtual Ubuntu 9.10 server.

NEW SERVER
Pinax version 0.9a1
Django version 1.2.1
Deployment is through the FastCGI module running on Nginx behind an
nginx proxy on a virtual Ubuntu 10.04 server.

File "/home/mark/virtualenvs/mysite2/lib/python2.6/site-packages/
django/core/urlresolvers.py", line 243, in _get_url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns",
self.urlconf_module)
File "/home/mark/virtualenvs/mysite2/lib/

http://pastebin.com/tS6gsFqR

Carl Karsten

unread,
Feb 9, 2011, 2:51:11 PM2/9/11
to pinax...@googlegroups.com

I would do the following:

1. post your urls.py
2. run the site with "python manage.py runserver
3. paste the stack dump here. I would anyway, I can't think of a good
reason not to. "mobile device" isn't it, cuz for me it would be
harder to follow the link.

--
Carl K

Daniel Greenfeld

unread,
Feb 9, 2011, 3:00:40 PM2/9/11
to pinax...@googlegroups.com

Please don't the stack dump here. Email clients screw up the
formatting, it adds a lot of noise to your signal, and without code
highlighting it is more challenging to diagnose your issue.

Use dpaste.de or dpaste.com or whatever service you want.


--
'Knowledge is Power'
Daniel Greenfeld
http://pydanny.com
http://cartwheelweb.com

mangamonk

unread,
Feb 9, 2011, 3:11:01 PM2/9/11
to Pinax Users
thanks for the feedback.

here is the the urls.py detail
http://dpaste.de/DQrz/


Here is the result of runserver
Validating models...
0 errors found

Django version 1.2.1, using settings 'africanmom.settings'
Development server is running at http://127.0.0.1:8000/
Quit the server with CONTROL-C.


On Feb 9, 8:00 pm, Daniel Greenfeld <pyda...@gmail.com> wrote:
> On Wed, Feb 9, 2011 at 11:51 AM, Carl Karsten <c...@personnelware.com> wrote:

Daniel Greenfeld

unread,
Feb 9, 2011, 3:27:59 PM2/9/11
to pinax...@googlegroups.com
Alas, I've only done the Python hosting thing via Apache for dynamic content.

> --
> You received this message because you are subscribed to the Google Groups "Pinax Users" group.
> To post to this group, send email to pinax...@googlegroups.com.
> To unsubscribe from this group, send email to pinax-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/pinax-users?hl=en.
>
>

--
'Knowledge is Power'

mangamonk

unread,
Feb 11, 2011, 11:22:56 AM2/11/11
to Pinax Users
Here is a larger stack trace. Hopefully this will describe the issue
http://dpaste.com/405959/

On Feb 9, 8:27 pm, Daniel Greenfeld <pyda...@gmail.com> wrote:
> Alas, I've only done the Python hosting thing via Apache for dynamic content.
>
>
>
>
>
>
>
>
>
> On Wed, Feb 9, 2011 at 12:11 PM, mangamonk <mark.herrin...@gmail.com> wrote:
> > thanks for the feedback.
>
> > here is the the urls.py detail
> >http://dpaste.de/DQrz/
>
> > Here is the result of runserver
> > Validating models...
> > 0 errors found
>
> > Django version 1.2.1, using settings 'africanmom.settings'
> > Development server is running athttp://127.0.0.1:8000/
> > Quit the server with CONTROL-C.
>
> > On Feb 9, 8:00 pm, Daniel Greenfeld <pyda...@gmail.com> wrote:
> >> On Wed, Feb 9, 2011 at 11:51 AM, Carl Karsten <c...@personnelware.com> wrote:
> >> > On Wed, Feb 9, 2011 at 6:33 AM, mangamonk <mark.herrin...@gmail.com> wrote:
>
> >> > I would do the following:
>
> >> > 1. post your urls.py
> >> > 2. run the site with "python manage.py runserver
> >> > 3. paste the stack dump here.  I would anyway, I can't think of a good
> >> > reason not to.  "mobile device" isn't it, cuz for me it would be
> >> > harder to follow the link.
>
> >> Please don't the stack dump here. Email clients screw up the
> >> formatting, it adds a lot of noise to your signal, and without code
> >> highlighting it is more challenging to diagnose your issue.
>
> >> Use dpaste.de or dpaste.com or whatever service you want.
>
> >> --
> >> 'Knowledge is Power'
> >> Daniel Greenfeldhttp://pydanny.comhttp://cartwheelweb.com
>
> > --
> > You received this message because you are subscribed to the Google Groups "Pinax Users" group.
> > To post to this group, send email to pinax...@googlegroups.com.
> > To unsubscribe from this group, send email to pinax-users...@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/pinax-users?hl=en.
Reply all
Reply to author
Forward
0 new messages