Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.

#1 Jan. 13, 2011 07:16:00

vamsy k.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

max recursion depth exceeded


Hi,

I'm trying to use Django-Cms on my site and I see the below exception
whenever I try to add a page or a group. The below stacktrace repeats
itself indefinitely.

I think this error is independent of the cms system and hence I'm
posting it here instead of the cms forum. The current recursion limit
is set to 1000. Any help would be appreciated.

RuntimeError: maximum recursion depth exceeded

File "/var/www/sites/test/django/core/urlresolvers.py", line 195, in
_get_reverse_dict
self._populate()
File "/var/www/sites/test/django/core/urlresolvers.py", line 175, in
_populate
for name in pattern.reverse_dict:
File "/var/www/sites/test/django/core/urlresolvers.py", line 195, in
_get_reverse_dict
self._populate()
File "/var/www/sites/test/django/core/urlresolvers.py", line 175, in
_populate
for name in pattern.reverse_dict:

--
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+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#2 Jan. 13, 2011 12:07:54

Justin M.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

max recursion depth exceeded


Hi vamsy,
Can you post your urls.py files? Perhaps you have a recursive inclusion.

Example:
myapp.urls.py

patterns = urlpatterns('',
url(r'^/', include('myapp.urls') # this will result in a recursive
inclusion.

)

-Justin

--
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+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#3 Jan. 17, 2011 05:12:26

vamsy k.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

max recursion depth exceeded


Hi Justin,

There are over 60 urls.py in my app and I'm running through each one
by one. Wish the stack trace had something from within the app. Thanks
for the help anyway. Will let you know if I manage to find the bad
file.

Regards,
Vamsy

On Jan 13, 5:07 pm, Justin Murphy <jus...@jlmurphy.com> wrote:
> Hi vamsy,
> Can you post your urls.py files? Perhaps you have a recursive inclusion.
>
> Example:
> myapp.urls.py
>
> patterns = urlpatterns('',
>     url(r'^/', include('myapp.urls') # this will result in a recursive
> inclusion.
>
> )
>
> -Justin

--
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+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#4 Jan. 17, 2011 06:29:16

vamsy k.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

max recursion depth exceeded


I was able to find two such recursive instances and things work fine
after removing them :)

On Jan 17, 10:12 am, vamsy krishna <badguitar...@gmail.com> wrote:
> Hi Justin,
>
> There are over 60 urls.py in my app and I'm running through each one
> by one. Wish the stack trace had something from within the app. Thanks
> for the help anyway. Will let you know if I manage to find the bad
> file.
>
> Regards,
> Vamsy
>
> On Jan 13, 5:07 pm, Justin Murphy <jus...@jlmurphy.com> wrote:
>
> > Hi vamsy,
> > Can you post your urls.py files? Perhaps you have a recursive inclusion.
>
> > Example:
> > myapp.urls.py
>
> > patterns = urlpatterns('',
> >     url(r'^/', include('myapp.urls') # this will result in a recursive
> > inclusion.
>
> > )
>
> > -Justin

--
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+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

Board footer

Moderator control

Enjoy the 20th of October
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support