On Dec 30, 2007 5:42 PM, l5x <[EMAIL PROTECTED]> wrote:

> Hello,
>
> I get the following error:
>
> Django Version: 0.97-pre-SVN-6976
> Python Version: 2.5.1
> Exception Type:         SyntaxError
> Exception Value:        invalid syntax (views.py, line 534)
> Exception Location:     /home/user/django_src/django/core/urlresolvers.py
> in get_callable, line 47
>
> Traceback:
> [snipped]
> Exception Type: SyntaxError at /
> Exception Value: invalid syntax (views.py, line 534)
>
> Interesting thing is that line (534) is out of range...
>

Is 534 one past the last line of views.py?  I expect you have a syntax error
such as a missing closing paren or bracket in your views.py file, which is
causing the parser to keep scanning until it reaches the end of the file and
then report the error on one line past the end of the file.  The error is
probably near the end of the file.  For syntax errors you often have to look
a little above where the error is reported to see what is really causing the
problem.

Karen

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to