Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » Django
  • » Runtime Error: maximum recursion depth exceeded while calling Python object [RSS Feed]

#1 Jan. 12, 2011 07:38:39

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

Runtime Error: maximum recursion depth exceeded while calling Python object


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 with the def __unicode__(self)
function. The only major change I have made recently to the system is the
enabling of flatpages, but i cannot see that this is likely to relate to the
model's __unicode__ functions...

I realize that this is a very "sloppy" error report, but I am wondering if
anyone else has encountered this type of problem (code for models working
and then suddenly generating numbers of the same type of error) and can give
some general pointers on how to solve this (short of ripping out all the
recent changes)?

Thanks
Derek

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@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 06:48:07

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

Runtime Error: maximum recursion depth exceeded while calling Python object


Still not working, but I suspect a recent upgrade to Django 1.2.4
might be the cause.

Does anyone know (or have experience) of this kind of error when
upgrading?

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
> recursion depth exceeded while calling Python object" to start showing up
> everywhere; typically in conjunction with the def __unicode__(self)
> function.  The only major change I have made recently to the system is the
> enabling of flatpages, but i cannot see that this is likely to relate to the
> model's __unicode__ functions...
>
> I realize that this is a very "sloppy" error report, but I am wondering if
> anyone else has encountered this type of problem (code for models working
> and then suddenly generating numbers of the same type of error) and can give
> some general pointers on how to solve this (short of ripping out all the
> recent changes)?
>
> Thanks
> Derek

--
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. 13, 2011 11:45:09

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

Runtime Error: maximum recursion depth exceeded while calling Python object


I have now installed Apache + mod_wsgi locally and run the app. I do not
get the recursion error that is happening on the server. I'd welcome any
suggestions as to how to go about solving this.

Thanks
Derek


On 13 January 2011 08:48, Derek <gamesb...@gmail.com> wrote:

> Still not working, but I suspect a recent upgrade to Django 1.2.4
> might be the cause.
>
> Does anyone know (or have experience) of this kind of error when
> upgrading?
>
> 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
> > recursion depth exceeded while calling Python object" to start showing up
> > everywhere; typically in conjunction with the def __unicode__(self)
> > function. The only major change I have made recently to the system is
> the
> > enabling of flatpages, but i cannot see that this is likely to relate to
> the
> > model's __unicode__ functions...
> >
> > I realize that this is a very "sloppy" error report, but I am wondering
> if
> > anyone else has encountered this type of problem (code for models working
> > and then suddenly generating numbers of the same type of error) and can
> give
> > some general pointers on how to solve this (short of ripping out all the
> > recent changes)?
> >
> > Thanks
> > Derek
>
> --
> 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<django-users%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
>http://groups.google.com/group/django-users?hl=en.
>
>

--
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. 25, 2011 07:09:00

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

Runtime Error: maximum recursion depth exceeded while calling Python object


Just for the record.  This issue was not solved; appears to be
happening on a SUSE Linux Enterprise Server. Does not happen on an
Ubuntu server (which I have switched to). There might be some issue
with the particular version of Python that was installed on it.

On 13 January 2011 13:44, Derek <gamesb...@gmail.com> wrote:
>
> I have now installed Apache + mod_wsgi locally and run the app.  I do not get
> the recursion error that is happening on the server.  I'd welcome any
> suggestions as to how to go about solving this.
>
> Thanks
> Derek
>
>
> On 13 January 2011 08:48, Derek <gamesb...@gmail.com> wrote:
>>
>> Still not working, but I suspect a recent upgrade to Django 1.2.4
>> might be the cause.
>>
>> Does anyone know (or have experience) of this kind of error when
>> upgrading?
>>
>> 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
>> > recursion depth exceeded while calling Python object" to start showing up
>> > everywhere; typically in conjunction with the def __unicode__(self)
>> > function.  The only major change I have made recently to the system is the
>> > enabling of flatpages, but i cannot see that this is likely to relate to
>> > the
>> > model's __unicode__ functions...
>> >
>> > I realize that this is a very "sloppy" error report, but I am wondering if
>> > anyone else has encountered this type of problem (code for models working
>> > and then suddenly generating numbers of the same type of error) and can
>> > give
>> > some general pointers on how to solve this (short of ripping out all the
>> > recent changes)?
>> >
>> > Thanks
>> > Derek
>>
>> --
>> 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 at
>>http://groups.google.com/group/django-users?hl=en.
>>
>

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

  • Root
  • » Django
  • » Runtime Error: maximum recursion depth exceeded while calling Python object [RSS Feed]

Board footer

Moderator control

Enjoy the 23rd 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