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 <http://+918239026608>|+919461787317 <http://+919461787317/>* *http://www.palanshagarwal.com/ <http://www.palanshagarwal.com/>* *CTO, Eventgraphia <http://eventgraphia.com/>, India* Team Lead IDC, *GoMobileFirst, USA* Pre Final Year, B.Tech The LNM Institute of Information Technology, Jaipur, India [image: https://www.facebook.com/palansh.agarwal] <https://www.facebook.com/palansh.agarwal> <https://in.linkedin.com/in/palansh> <https://twitter.com/pyg33k> [image: https://github.com/py-geek] <https://github.com/py-geek> On Thu, Jan 28, 2016 at 1:24 PM, Deepak Singh wrote: > Hi, > > During (python manage.py runserver) command I am getting following error > > File "C:\Python27\lib\functools.py", line 56, in > '__lt__': [('__gt__', lambda self, other: other < self), > File "C:\Python27\lib\functools.py", line 56, in > '__lt__': [('__gt__', lambda self, other: other < self), > File "C:\Python27\lib\functools.py", line 56, in > '__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+unsubscr...@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 > <https://groups.google.com/d/msgid/django-users/d8d7d91d-d80a-457b-8e72-71a91e7238bc%40googlegroups.com?utm_medium=email&utm_source=footer> > . > 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+unsubscr...@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.
Re: RuntimeError: maximum recursion depth exceeded in cmp
I've never seen that before. I think you'll need to provide a sample project that reproduces it so that someone can take a look. On Thursday, January 28, 2016 at 7:45:31 AM UTC-5, Deepak Singh wrote: > > Hi, > > During (python manage.py runserver) command I am getting following error > > File "C:\Python27\lib\functools.py", line 56, in > '__lt__': [('__gt__', lambda self, other: other < self), > File "C:\Python27\lib\functools.py", line 56, in > '__lt__': [('__gt__', lambda self, other: other < self), > File "C:\Python27\lib\functools.py", line 56, in > '__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+unsubscr...@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/6dd721ad-6106-4f39-aff3-9e42bff4f9bf%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
RuntimeError: maximum recursion depth exceeded in cmp
Hi, During (python manage.py runserver) command I am getting following error File "C:\Python27\lib\functools.py", line 56, in '__lt__': [('__gt__', lambda self, other: other < self), File "C:\Python27\lib\functools.py", line 56, in '__lt__': [('__gt__', lambda self, other: other < self), File "C:\Python27\lib\functools.py", line 56, in '__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+unsubscr...@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.
Re: RuntimeError: maximum recursion depth exceeded in cmp
You have an error in your "models.py" file. Note that the last message was "Validataing models...". Is there anything in models.py? In your sample script you never modify it. On Friday, March 22, 2013 1:23:46 PM UTC-6, tarik setia wrote: > > > <https://lh6.googleusercontent.com/-4e6B6aQD5hc/UUyvjDV5mrI/ADY/uWA1cgfM07M/s1600/Untitled.tiff> > I was following the very first tutorial on django website. When i started > the server i got an error "RuntimeError: maximum recursion depth exceeded > in cmp" as shown in image > Please help. > > -- 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+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
RuntimeError: maximum recursion depth exceeded in cmp
<https://lh6.googleusercontent.com/-4e6B6aQD5hc/UUyvjDV5mrI/ADY/uWA1cgfM07M/s1600/Untitled.tiff> I was following the very first tutorial on django website. When i started the server i got an error "RuntimeError: maximum recursion depth exceeded in cmp" as shown in image Please help. -- 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+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.