Thursday, January 28, 2016

Re: RuntimeError: maximum recursion depth exceeded in cmp

Hey,
You may try to re-factor your code and turn it into an iterative one.
If that's not possible, try the following:

import  sys
sys.setrecursionlimit(n)

Increase "n" as per your need.

Regards,
Palansh Agarwal | +918239026608 |+919461787317
CTO, Eventgraphia, India
Team Lead IDC, GoMobileFirst, USA
Pre Final Year, B.Tech
The LNM Institute of Information Technology, Jaipur, India
https://www.facebook.com/palansh.agarwal      https://github.com/py-geek 

On Thu, Jan 28, 2016 at 1:24 PM, Deepak Singh <ds1990singh@gmail.com> wrote:
Hi,
   
During (python manage.py runserver) command I am getting following error

     File "C:\Python27\lib\functools.py", line 56, in <lambda>
    '__lt__': [('__gt__', lambda self, other: other < self),
  File "C:\Python27\lib\functools.py", line 56, in <lambda>
    '__lt__': [('__gt__', lambda self, other: other < self),
  File "C:\Python27\lib\functools.py", line 56, in <lambda>
    '__lt__': [('__gt__', lambda self, other: other < self),
RuntimeError: maximum recursion depth exceeded in cmp

Please guide me for neccessary step. I am running it first time.

Thank You.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/d8d7d91d-d80a-457b-8e72-71a91e7238bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAPCyp%2B8E9%3DQ-Tie7javJaG5eS0DUmOR-SGoNNxry10TUifq4Dg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment