Re: Troubleshoot import errors
Check out all your template calls to {% url view_picture %}, you are
probably passing wrong arguments to the reverse URL.
Hector Garcia - Web developer, musician
http://nomadblue.com/
On Mon, Oct 26, 2009 at 12:37 PM, Dave <ddevalk@gmail.com> wrote:
>
> Hi All, I admit I must totally be missing something. My problem is
> that IF I screw up an import somewhere tracking down the problem is a
> complete nightmare. The traceback just tells me:
>
> "NoReverseMatch: Reverse for 'view_picture' with arguments '()' and
> keyword arguments '{'picture_id': '', 'size': u'small'}' not found"
>
> This is the case no matter which of the 30/40 apps is causing the
> problem.
>
> I've tried to use the command line switch to debug imports, however it
> just spews out tons of info which so far has proven useless to find
> the problem. In most cases when I track down the problem, the
> offending import is not even mentioned in the log! I don't understand
> why there is not a debug or exception message that simply says where
> the problem is.
>
> Any advice help is greatly appreciated. We are just about at our wits
> end because tracking down what should be simple issues is consuming
> far too much time.
>
> Thanks
>
> Dave
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home