TemplateSyntaxError No module name utils

88 views
Skip to first unread message

Milan Andric

unread,
Dec 10, 2008, 9:52:58 PM12/10/08
to Django users
I'm getting one of those bubbly exceptions coming through the template
that are tricky to debug.

TemplateSyntaxError at /
Caught an exception while rendering: Could not import
journalism_mm.workshops.views. Error was: No module named utils

http://dpaste.com/97981/

I was reorganizing my code, moving directories around and upgrading
all my third party apps I reference.
I also upgraded to django 1.0.x from svn. I have grepped my code base
for a dangling utils, but no luck. I was thinking to use pdb.set_trace
() but don't know where to begin besides googling. Also tried
removing all .pyc files but didn't help.

Any help is greatly appreciated.

--
Milan


Milan Andric

unread,
Dec 11, 2008, 12:36:09 AM12/11/08
to Django users
Got help on IRC. All I needed to do was try to import
journalism_mm.workshops.views in the shell and was pointed to the bad
import in journalism_mm.workshops.forms.

----> 8 from django.forms.utils import ValidationError

Old cruft. Thanks rozwell. I should have tried the shell first
before pdb. hah.

--
Milan
Reply all
Reply to author
Forward
0 new messages