Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Property Management
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

Error maximum recursion depth exceeded

Subscriure's

Get notified when there's activity on this post

This question has been flagged
v7
2 Respostes
12463 Vistes
Avatar
gennaooep

When I want save my record on my form I ve this error .maximum recursion depth exceeded

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 399, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3604, in read result = self._read_flat(cr, user, select, fields, context, load) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3724, in _read_flat res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\fields.py", line 1131, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\fields.py", line 1197, in _fnct_read value = value[field] or False File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 399, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3604, in read result = self._read_flat(cr, user, select, fields, context, load) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3724, in _read_flat res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\fields.py", line 1131, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\fields.py", line 1197, in _fnct_read value = value[field] or False File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 399, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3604, in read result = self._read_flat(cr, user, select, fields, context, load) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3724, in _read_flat res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\fields.py", line 1131, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\fields.py", line 1197, in _fnct_read value = value[field] or False File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 399, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3604, in read result = self._read_flat(cr, user, select, fields, context, load) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3680, in _read_flat res2 = self.pool.get(table).read(cr, user, [x[col] for x in res], cols, context, load) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3597, in read self.check_access_rights(cr, user, 'read') File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3878, in check_access_rights return self.pool.get('ir.model.access').check(cr, uid, self._name, operation, raise_exception) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\tools\cache.py", line 18, in lookup r = self.lookup(self2, cr, args) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\tools\cache.py", line 41, in lookup r = d[key] File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\tools\func.py", line 35, in wrapper return func(self, *args, *kwargs) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\tools\lru.py", line 38, in __getitem__ self[a[0]] = a[1] File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\tools\func.py", line 35, in wrapper return func(self, args, *kwargs) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\tools\lru.py", line 44, in __setitem__ del self[obj] File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\tools\func.py", line 37, in wrapper lock.release() File "C:\APPLI\Python27x86\lib\threading.py", line 151, in release self._note("%s.release(): non-final release", self) RuntimeError: maximum recursion depth exceeded

1
Avatar
Descartar
Sudhir Arya (ERP Harbor Consulting Services)

There can be many reasons which cause such error. One cannot predict what is wrong without looking at code. So you should post what kind of code you have done.

Avatar
Gustavo
Best Answer

Looks like there is a problem with the PTFMedicaleRA module. It enters a recursive function and does not get out of it

1
Avatar
Descartar
Avatar
Martin
Best Answer

I have formatted the traceback below to make it easier to recognize the repeated lines.

You need to examine your code and understand why it loops infinitely through these five lines :

  1. orm.py (399) -- read table
  2. orm.py (3604) -- read flat
  3. orm.py (3724) -- columns[f].get()
  4. fields.py (1131) -- execute anonymous function
  5. fields.py (1197) -- fnct_read value = value[field] or False

Line #5 apparently calls line #1, over and over again, without finding any reason to stop.

Are you certain that the variable f in line #3 is in fact being incremented (or decremented)? If neither, then you will know why your loop gets excremented.

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 399, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write")

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3604, in read result = self._read_flat(cr, user, select, fields, context, load)

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3724, in _read_flat res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\fields.py", line 1131, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context)

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\fields.py", line 1197, in _fnct_read value = value[field] or False



File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 399, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write")

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3604, in read result = self._read_flat(cr, user, select, fields, context, load)

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3724, in _read_flat res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\fields.py", line 1131, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) 

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\fields.py", line 1197, in _fnct_read value = value[field] or False 



File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 399, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") 

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3604, in read result = self._read_flat(cr, user, select, fields, context, load) 

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3724, in _read_flat res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res) 

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\fields.py", line 1131, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\fields.py", line 1197, in _fnct_read value = value[field] or False 



File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 399, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") 

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3604, in read result = self._read_flat(cr, user, select, fields, context, load) 


File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3680, in _read_flat res2 = self.pool.get(table).read(cr, user, [x[col] for x in res], cols, context, load) 

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3597, in read self.check_access_rights(cr, user, 'read') 

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3878, in check_access_rights return self.pool.get('ir.model.access').check(cr, uid, self._name, operation, raise_exception) 

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\tools\cache.py", line 18, in lookup r = self.lookup(self2, cr, args) 

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\tools\cache.py", line 41, in lookup r = d[key] 

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\tools\func.py", line 35, in wrapper return func(self, *args, *kwargs) 

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\tools\lru.py", line 38, in __getitem__ self[a[0]] = a[1] 

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\tools\func.py", line 35, in wrapper return func(self, args, *kwargs) 

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\tools\lru.py", line 44, in __setitem__ del self[obj] 

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\tools\func.py", line 37, in wrapper lock.release() 

File "C:\APPLI\Python27x86\lib\threading.py", line 151, in release self._note("%s.release(): non-final release", self) RuntimeError: maximum recursion depth exceeded
1
Avatar
Descartar
Lorenzo Cabrini

Ah, the beauty of reformatted and syntax-highlighted stacktraces...

Martin

. . . able to leap tall buildings in a single bound! More powerful than a locomotive . . . IT'S superreadable.

gennaooep
Autor

I made another model

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrar-se
Related Posts Respostes Vistes Activitat
How to add a "Delete" button on the popup form? Solved
v7
Avatar
Avatar
1
d’oct. 25
6989
Minimum Lot Charge For Sales Order Line Items
v7
Avatar
0
de des. 24
11714
Record Rule to allow a User to update their own Employee object without belonging to Officer group Solved
v7
Avatar
Avatar
Avatar
Avatar
3
de set. 24
24062
How to activate the Technical Features? Solved
v7
Avatar
Avatar
Avatar
Avatar
Avatar
5
de des. 24
56803
Way to only allow a specific DB to be the default? Solved
v7
Avatar
Avatar
Avatar
Avatar
Avatar
4
de jul. 24
12867
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk Slovenščina Español (América Latina) Español Svenska ภาษาไทย Türkçe українська Tiếng Việt

Odoo és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now