Re: Syntax Error (line out of range), get_callable, urlresolvers

2007-12-30 Thread l5x

On Dec 31, 12:19 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote:

> Is 534 one past the last line of views.py?

Yes.

> 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.
>

Yes, I know about it, but I deleted my new parts of code and it is
still the same result. My Eclipse+PyDev doesn't show any mistakes as
well. If there is no other suggestions - I will just check my code
line by line to check what it may be.

Thank you.

Best regards,
l.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Syntax Error (line out of range), get_callable, urlresolvers

2007-12-30 Thread Karen Tracey
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
-~--~~~~--~~--~--~---