login community faq

When I try to access my webpage, it reports an internal server error and writes a very long traceback into the logs. The last two lines of the traceback are:

1
2
[Mon Jan 23 19:33:05 2012] [error] [client 127.0.0.1] from django.db import utils
[Mon Jan 23 19:33:05 2012] [error] [client 127.0.0.1] TemplateSyntaxError: Caught ImportError while rendering: cannot import name utils

I'm at a loss here, as the error appears to be happening inside django itself. (I'm trying to use postgreSQL, if that makes a difference.)

EDIT: Just noticed, this may be a duplicate of this. I can't really tell because the page won't load right now.

asked Jan 23 '12 at 19:43

JohnH's gravatar image

JohnH
12

edited Jan 23 '12 at 19:47


An import error means 1 of 2 things, that the python module is missing and needs to be installed or the sys.path parameter is not configured to find the module where its installed. Look for the sys.path info and check that it is valid and includes all needed directories. If you submit a support ticket we can look with you.

answered Jan 24 '12 at 17:15

johns's gravatar image

johns ♦♦
345427

I'm using (or trying to use) mongodb now, but you still might want to check the django setup script as this error happened on a fresh install with only the db user, pass and backend set.

(Jan 26 '12 at 15:57) JohnH JohnH's gravatar image

I just tested the current installer and the default build works, so it had to be something you changed in the code that broke the import paths. But we would need to know exactly what you changed to determine that. If you want us to look please submit a support ticket.

(Jan 26 '12 at 17:48) johns ♦♦ johns's gravatar image
Your answer
If you have an answer to the above question, then use the form below. Otherwise, use the appropriate 'add new comment' button above to post your feedback.
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×653
×22
×19
×1

Asked: Jan 23 '12 at 19:43

Seen: 2,324 times

Last updated: Jan 26 '12 at 17:48

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited