maximum recursion depth exceeded

2021-02-10 Thread Frank Maruf
,blank=True) Students Model: Sd_Examiner=models.ForeignKey(Examiner,null=True ,on_delete=models.SET_NULL,blank=True) and at Signal: exam = Examiner.objects.get(examiner_title__contains="Primary") exam_id = str(exam.id) instance.Sd_Examiner_id=exam_id instance.save() i get maximum

Re: RuntimeError: maximum recursion depth exceeded in cmp

2016-01-28 Thread palansh agarwal
ls.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

Re: RuntimeError: maximum recursion depth exceeded in cmp

2016-01-28 Thread Tim Graham
uot;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 r

RuntimeError: maximum recursion depth exceeded in cmp

2016-01-28 Thread Deepak Singh
__', 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. --

Re: RuntimeError: maximum recursion depth exceeded in cmp

2013-03-24 Thread Vernon D. Cole
ogleusercontent.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 > Pl

RuntimeError: maximum recursion depth exceeded in cmp

2013-03-22 Thread tarik setia
<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 i

Re: loaddata deserializationerror: maximum recursion depth exceeded while calling a Python object

2012-12-30 Thread donarb
At this point, I would just skip trying to load the data through Django and write a quick Python script to load the data using INSERT statements or create a bulk data file to load it directly into MySQL. I'm not as familiar with MySQL as I am with Postgres, but Postgres can swallow a whole data

Re: loaddata deserializationerror: maximum recursion depth exceeded while calling a Python object

2012-12-30 Thread Sam Raker
;> line 190, in handle >>>> for obj in objects: >>>> File "/home/menusadmin/.pythonbrew/**pythons/Python-2.7.3/lib/** >>>> python2.7/site-packages/**django/core/serializers/**pyyaml.py", line >>>> 62, in Deserializer >>>> r

Re: loaddata deserializationerror: maximum recursion depth exceeded while calling a Python object

2012-12-30 Thread Sam Raker
j in objects: >>> File "/home/menusadmin/.pythonbrew/**pythons/Python-2.7.3/lib/** >>> python2.7/site-packages/**django/core/serializers/**pyyaml.py", line >>> 62, in Deserializer >>> raise DeserializationError(e) >>> DeserializationError

Re: loaddata deserializationerror: maximum recursion depth exceeded while calling a Python object

2012-12-30 Thread Sam Raker
usadmin/.pythonbrew/**pythons/Python-2.7.3/lib/** >> python2.7/site-packages/**django/core/serializers/**pyyaml.py", line 62, >> in Deserializer >> raise DeserializationError(e) >> DeserializationError: maximum recursion depth exceeded while calling a >> Python o

Re: loaddata deserializationerror: maximum recursion depth exceeded while calling a Python object

2012-12-30 Thread donarb
; "/home/menusadmin/.pythonbrew/pythons/Python-2.7.3/lib/python2.7/site-packages/django/core/serializers/pyyaml.py", > > line 62, in Deserializer > raise DeserializationError(e) > DeserializationError: maximum recursion depth exceeded while calling a > Python object

Re: loaddata deserializationerror: maximum recursion depth exceeded while calling a Python object

2012-12-30 Thread Sam Raker
serializer raise DeserializationError(e) DeserializationError: maximum recursion depth exceeded while calling a Python object I tried changing commit to False in loaddata.py, I tried adding a manager class to the one model I have that another model refers to with a natural key (e.g., 'name,' a C

Re: loaddata deserializationerror: maximum recursion depth exceeded while calling a Python object

2012-12-30 Thread donarb
On Sunday, December 30, 2012 9:54:45 AM UTC-8, Sam Raker wrote: > > Thanks for your suggestions. > > I eliminated the underscores and got rid of the __unicode__ methods > entirely, cleaned up my except statement, and changed the order of stuff > such that all of each model's fields are defined

Re: loaddata deserializationerror: maximum recursion depth exceeded while calling a Python object

2012-12-30 Thread Sam Raker
Thanks for your suggestions. I eliminated the underscores and got rid of the __unicode__ methods entirely, cleaned up my except statement, and changed the order of stuff such that all of each model's fields are defined before any methods. (As for the pk field: The csvs I'm using are actually

Re: loaddata deserializationerror: maximum recursion depth exceeded while calling a Python object

2012-12-30 Thread Amirouche
On Saturday, December 29, 2012 9:42:50 PM UTC+1, Sam Raker wrote: > > Here's the truncated version I tried to load in case the problem was the > length of the file: > - fields: {location: ST. DENNIS HOTEL, restaurant: Veterans American > Guard, status: complete, > year: 1900} > model:

Re: loaddata deserializationerror: maximum recursion depth exceeded while calling a Python object

2012-12-29 Thread donarb
And your __unicode__ method is incorrect as well. You should be returning self.restaurant. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/bsJoTGDbveYJ.

Re: loaddata deserializationerror: maximum recursion depth exceeded while calling a Python object

2012-12-29 Thread donarb
Not sure if it's related to your problem, but you should never create function names like __period__. Names such as those are reserved for Python internals. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web

Re: loaddata deserializationerror: maximum recursion depth exceeded while calling a Python object

2012-12-29 Thread Sam Raker
Here's the truncated version I tried to load in case the problem was the length of the file: - fields: {location: ST. DENNIS HOTEL, restaurant: Veterans American Guard, status: complete, year: 1900} model: dishes.menu pk: 12495 - fields: {location: BOSTON, restaurant: New England

Re: loaddata deserializationerror: maximum recursion depth exceeded while calling a Python object

2012-12-29 Thread Ryan Blunden
Can you provide a single example of one of the fixture objects you're trying to import, as well as the model it corresponds to? On 29/12/2012, at 11:34 AM, Sam Raker wrote: > Hello, > I've got a very tight deadline, and I'm encountering a very frustrating > problem. Every

loaddata deserializationerror: maximum recursion depth exceeded while calling a Python object

2012-12-29 Thread Sam Raker
Hello, I've got a very tight deadline, and I'm encountering a very frustrating problem. Every time I try to use loaddata to load my data into my database, I get the loaddata error in the subject. I've tried YAML, I've tried JSON, I've tried excerpting only a few lines of each, all to no avail.

Re: making instance of auth User results in: maximum recursion depth exceeded while calling a Python object

2011-06-22 Thread Karen Tracey
No, you're not stupid. The only reason I could guess what the problem was is I've seen it done many times. Many languages would complain about the "redefinition"; Python just quietly does what you tell it and re-binds the name to a new value. That can actually be a very useful feature, but it also

Re: making instance of auth User results in: maximum recursion depth exceeded while calling a Python object

2011-06-22 Thread T'mas
12:34 PM, T'mas <tomas.deb...@gmail.com> wrote: > > sorry. Problem is not User object but login from django.contrib.auth. > > > login(request,user) > > You've haven't included any of the traceback from the maximum recursion > depth exceeded, nor any of your code, so all anyo

Re: making instance of auth User results in: maximum recursion depth exceeded while calling a Python object

2011-06-22 Thread Karen Tracey
On Tue, Jun 21, 2011 at 12:34 PM, T'mas <tomas.deb...@gmail.com> wrote: > sorry. Problem is not User object but login from django.contrib.auth. > > login(request,user) > > You've haven't included any of the traceback from the maximum recursion depth exceeded, nor any of you

Re: making instance of auth User results in: maximum recursion depth exceeded while calling a Python object

2011-06-21 Thread T'mas
> > user = User.objects.get(username='tmas') > > it results in error: maximum recursion depth exceeded while calling a > Python object > > I am running Xubuntu 11.04, python 2.7.1+ and django 1.3. > Running it on development server, didn't use on apache. > > regards, &

making instance of auth User results in: maximum recursion depth exceeded while calling a Python object

2011-06-21 Thread T'mas
Hi there, I am having problem with User model from django.contrib.auth.models. When making instance in view: user = User.objects.get(username='tmas') it results in error: maximum recursion depth exceeded while calling a Python object I am running Xubuntu 11.04, python 2.7.1+ and django 1.3

Re: Runtime Error: maximum recursion depth exceeded while calling Python object

2011-01-24 Thread Derek
> On Jan 12, 9:38 am, Derek <gamesb...@gmail.com> wrote: >> > Working with Django 1.2.3 >> > >> > I had an application that was running well.  However, some recent changes >> > (not to the models themselves) have caused the "Runtime Error: maximum >>

Re: Runtime Error: maximum recursion depth exceeded while calling Python object

2011-01-13 Thread Derek
had an application that was running well. However, some recent changes > > (not to the models themselves) have caused the "Runtime Error: maximum > > recursion depth exceeded while calling Python object" to start showing up > > everywhere; typically in conjunction

Re: Runtime Error: maximum recursion depth exceeded while calling Python object

2011-01-12 Thread Derek
as running well.  However, some recent changes > (not to the models themselves) have caused the "Runtime Error: maximum > recursion depth exceeded while calling Python object" to start showing up > everywhere; typically in conjunction with the def __unicode__(self) > functio

Runtime Error: maximum recursion depth exceeded while calling Python object

2011-01-11 Thread Derek
Working with Django 1.2.3 I had an application that was running well. However, some recent changes (not to the models themselves) have caused the "Runtime Error: maximum recursion depth exceeded while calling Python object" to start showing up everywhere; typically in conjunction wi

Re: overriding change_list.html causes 'maximum recursion depth exceeded' exception

2009-05-14 Thread Margie
> > in it (and nothing else): > > > {% extends "admin/change_list.html" %} > > > I get > > > Request Method:         GET > > Request URL:    http://172.16.84.5:8042/admin/taskmanager/task/ > > Exception Type:         TemplateSyntaxErro

Re: overriding change_list.html causes 'maximum recursion depth exceeded' exception

2009-05-13 Thread NickPresta
Exception Type:         TemplateSyntaxError > Exception Value: > > Caught an exception while rendering: maximum recursion depth exceeded > in cmp > > Original Traceback (most recent call last): >   File "/tools/aticad/1.0/external/python-2.5.1/lib/python2.5/site- > packages/djang

overriding change_list.html causes 'maximum recursion depth exceeded' exception

2009-05-07 Thread Margie
admin/change_list.html" %} I get Request Method: GET Request URL:http://172.16.84.5:8042/admin/taskmanager/task/ Exception Type: TemplateSyntaxError Exception Value: Caught an exception while rendering: maximum recursion depth exceeded in cmp Original Traceback (most recent call las

Re: Nosetests. maximum recursion depth exceeded

2009-02-03 Thread Oleg Oltar
> line 181, in resolve >>> > sub_match = pattern.resolve(new_path) >>> > File "/Library/Python/2.5/site-packages/django/core/urlresolvers.py", >>> > line 181, in resolve >>> > sub_match = pattern.resolve(new_path) >>&g

Re: Nosetests. maximum recursion depth exceeded

2009-02-03 Thread Oleg Oltar
t;> > line 181, in resolve >> > sub_match = pattern.resolve(new_path) >> > File "/Library/Python/2.5/site-packages/django/core/urlresolvers.py", >> > line 179, in resolve >> > for pattern in self.urlconf_module.urlpatterns: >> >

Re: Nosetests. maximum recursion depth exceeded

2009-02-03 Thread Oleg Oltar
quot;/Library/Python/2.5/site-packages/django/core/urlresolvers.py", > > line 181, in resolve > > sub_match = pattern.resolve(new_path) > > File "/Library/Python/2.5/site-packages/django/core/urlresolvers.py", > > line 179, in resolve > > fo

Re: Nosetests. maximum recursion depth exceeded

2009-02-03 Thread Steve Holden
core/urlresolvers.py", > line 181, in resolve > sub_match = pattern.resolve(new_path) > File "/Library/Python/2.5/site-packages/django/core/urlresolvers.py", > line 179, in resolve > for pattern in self.urlconf_module.urlpatterns: > RuntimeError: ma

Nosetests. maximum recursion depth exceeded

2009-02-03 Thread Oleg Oltar
sub_match = pattern.resolve(new_path) File "/Library/Python/2.5/site-packages/django/core/urlresolvers.py", line 179, in resolve for pattern in self.urlconf_module.urlpatterns: RuntimeError: maximum recursion depth exceeded (I use: beryl:db_settings oleg$ nosetests --cove

Re: maximum recursion depth exceeded ???

2008-10-20 Thread Thomas Guettler
kele schrieb: > i just try to make my first authenticate codes . but while in the > line > ' login(request, v) ' , i got this runtime error , and > 'maximum recursion depth exceeded'. > > but i do not have any loop there . why ??? help . > > you call login(

Re: maximum recursion depth exceeded ???

2008-10-20 Thread kele
sorry . i blow myself up ! i redefine the login function . ignore me . On Oct 20, 7:41 pm, kele <[EMAIL PROTECTED]> wrote: > i just try to make my first authenticate codes . but while in the > line > '      login(request, v) '   , i got this  runtime error  , and > 'maxim

maximum recursion depth exceeded ???

2008-10-20 Thread kele
i just try to make my first authenticate codes . but while in the line ' login(request, v) ' , i got this runtime error , and 'maximum recursion depth exceeded'. but i do not have any loop there . why ??? help . my codes r shown as below : def login(request ,template_name

Re: QS-RF: maximum recursion depth exceeded in cmp

2008-04-16 Thread sector119
Thanks, Malcolm, everything works fine now, I just remove 'parent' from ordering! I know about django-mptt, but I do not need tree actually, I just want to view relations... With plain ordering... --~--~-~--~~~---~--~~ You received this message because you are

Re: QS-RF: maximum recursion depth exceeded in cmp

2008-04-16 Thread sector119
> One more thing: What are you doing with class Import? That doesn't make any > sense like that to me. It's for my own purposes. I use it to show that data can be imported into this model and to define clean methods like in newforms to clean and normalise imported data :) class Import:

Re: QS-RF: maximum recursion depth exceeded in cmp

2008-04-15 Thread Malcolm Tredinnick
On Tue, 2008-04-15 at 07:59 -0700, sector119 wrote: > Template error > > In template /home/sector119/devel/eps_src/eps/templates/base.html, > error at line 23 > Caught an exception while rendering: maximum recursion depth exceeded > in cmp > > 23{{ user.office.l

Re: QS-RF: maximum recursion depth exceeded in cmp

2008-04-15 Thread Michael
10:59 AM, sector119 <[EMAIL PROTECTED]> wrote: > > Template error > > In template /home/sector119/devel/eps_src/eps/templates/base.html, > error at line 23 > Caught an exception while rendering: maximum recursion depth exceeded > in cmp > > 23 {{ user.office

Re: QS-RF: maximum recursion depth exceeded in cmp

2008-04-15 Thread sector119
Template error In template /home/sector119/devel/eps_src/eps/templates/base.html, error at line 23 Caught an exception while rendering: maximum recursion depth exceeded in cmp 23 {{ user.office.location.get_type_display }}. 24 {{ user.office.location.name }}, 25

Re: QS-RF: maximum recursion depth exceeded in cmp

2008-04-15 Thread Michael
eError > Exception Value: maximum recursion depth exceeded in cmp > Exception Location: /home/sector119/devel/django_src/django/db/models/ > sql/query.py in join, line 734 > Python Executable: /usr/bin/python2.5 > > > Template error > > In template /home/sector119/dev

QS-RF: maximum recursion depth exceeded in cmp

2008-04-15 Thread sector119
I begin testing qs-rf branch and get this exception, why? May be because Office model is tree - has parent = models.ForeignKey('self') field? Exception Type: RuntimeError Exception Value:maximum recursion depth exceeded in cmp Exception Location: /home/sector119/devel

Re: Logout method returning "maximum recursion depth exceeded" - Help!

2006-10-27 Thread Merric Mercer
> I am trying to get the Logout Method to work, but I keep >> getting"Exception Value:maximum recursion depth exceeded!". >> >> The view is very straightforward, so I can't understand where I'm going >> wrong. >> >> > >from django.contrib

Re: Logout method returning "maximum recursion depth exceeded" - Help!

2006-10-27 Thread Karen Tracey
uot; kind of message? (Gah, as did my 2ndI'll try again with real mail...) At 06:24 AM 10/26/2006, you wrote: >I am trying to get the Logout Method to work, but I keep >getting"Exception Value: maximum recursion depth exceeded!". > >The view is very straightforward,

Re: Logout method returning "maximum recursion depth exceeded" - Help!

2006-10-27 Thread Don Arbow
On Oct 26, 2006, at 3:24 AM, MerMer wrote:I am trying to get the Logout Method to work, but I keepgetting"Exception Value:  maximum recursion depth exceeded!".The view is very straightforward, so I can't understand where I'm goingwrong.from django.contrib.auth import logout, au

Logout method returning "maximum recursion depth exceeded" - Help!

2006-10-27 Thread MerMer
I am trying to get the Logout Method to work, but I keep getting"Exception Value: maximum recursion depth exceeded!". The view is very straightforward, so I can't understand where I'm going wrong. from django.contrib.auth import logout, authenticate, login def logo