[Openerp-community] Maximun recursion depth exceeded

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[Openerp-community] Maximun recursion depth exceeded

Nhomar Hernández
Hello.

Loading some modules custom, which depend secuencially one of otheres i receive this message loading data in other ones (in this[1] example yopu can see happening this in translations and other xml related to hr[2]).

Somebody has experienced this and know how to solve it?

Is this a bug in the ORM?

[1] http://pastebin.com/td4zMmSM
[2] http://pastebin.com/WsEDyH63

--
--------------------
Saludos Cordiales
 
 

_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : [hidden email]
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp
Reply | Threaded
Open this post in threaded view
|

Re: [Openerp-community] Maximun recursion depth exceeded

Ana Juaristi

Review parent/child structures
Sometimes we obtained same error on past when one child apairs as parent of his father. This is ... Ciclycal dependency. It's solved when structure is correctly set

El 27/03/2015 19:43, "Nhomar Hernández" <[hidden email]> escribió:
Hello.

Loading some modules custom, which depend secuencially one of otheres i receive this message loading data in other ones (in this[1] example yopu can see happening this in translations and other xml related to hr[2]).

Somebody has experienced this and know how to solve it?

Is this a bug in the ORM?

[1] http://pastebin.com/td4zMmSM
[2] http://pastebin.com/WsEDyH63

--
--------------------
Saludos Cordiales
 
 

_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : [hidden email]
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp


_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : [hidden email]
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp
Reply | Threaded
Open this post in threaded view
|

Re: [Openerp-community] Maximun recursion depth exceeded

Nhomar Hernández

2015-03-27 13:22 GMT-06:00 Ana Juaristi <[hidden email]>:
Review parent/child structures

In objects? or in Module dependency?


--
--------------------
Saludos Cordiales
 
 

_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : [hidden email]
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp
Reply | Threaded
Open this post in threaded view
|

Re: [Openerp-community] Maximun recursion depth exceeded

Nhomar Hernández
In reply to this post by Nhomar Hernández

2015-03-27 13:19 GMT-06:00 Carlos Almeida <[hidden email]>:
Hi,

You can put this code in some module, but be very carefull using this, and try to develop iteratively instead recursively.

---

from sys import setrecursionlimit
setrecursionlimit(4000)

but , what's the objective of increase to 4000 the recursive limit, just to understand what I will see doing this please?


--
--------------------
Saludos Cordiales
 
 

_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : [hidden email]
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp