Passa al contenuto
Odoo Menu
  • Accedi
  • Provalo gratis
  • App
    Finanze
    • Contabilità
    • Fatturazione
    • Note spese
    • Fogli di calcolo (BI)
    • Documenti
    • Firma
    Vendite
    • CRM
    • Vendite
    • Punto vendita Negozio
    • Punto vendita Ristorante
    • Abbonamenti
    • Noleggi
    Siti web
    • Configuratore sito web
    • E-commerce
    • Blog
    • Forum
    • Live chat
    • E-learning
    Supply chain
    • Magazzino
    • Produzione
    • PLM
    • Acquisti
    • Manutenzione
    • Qualità
    Risorse umane
    • Dipendenti
    • Assunzioni
    • Ferie
    • Valutazioni
    • Referral dipendenti
    • Parco veicoli
    Marketing
    • Social marketing
    • E-mail marketing
    • SMS marketing
    • Eventi
    • Marketing automation
    • Sondaggi
    Servizi
    • Progetti
    • Fogli ore
    • Assistenza sul campo
    • Helpdesk
    • Pianificazione
    • Appuntamenti
    Produttività
    • Comunicazioni
    • Approvazioni
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    App di terze parti Odoo Studio Piattaforma cloud Odoo
  • Settori
    Retail
    • Libreria
    • Negozio di abbigliamento
    • Negozio di arredamento
    • Alimentari
    • Ferramenta
    • Negozio di giocattoli
    Cibo e ospitalità
    • Bar e pub
    • Ristorante
    • Fast food
    • Pensione
    • Grossista di bevande
    • Hotel
    Agenzia immobiliare
    • Agenzia immobiliare
    • Studio di architettura
    • Edilizia
    • Gestione immobiliare
    • Impresa di giardinaggio
    • Associazione di proprietari immobiliari
    Consulenza
    • Società di contabilità
    • Partner Odoo
    • Agenzia di marketing
    • Studio legale
    • Selezione del personale
    • Audit e certificazione
    Produzione
    • Tessile
    • Metallo
    • Arredamenti
    • Alimentare
    • Birrificio
    • Ditta di regalistica aziendale
    Benessere e sport
    • Club sportivo
    • Negozio di ottica
    • Centro fitness
    • Centro benessere
    • Farmacia
    • Parrucchiere
    Commercio
    • Tuttofare
    • Hardware e assistenza IT
    • Ditta di installazione di pannelli solari
    • Calzolaio
    • Servizi di pulizia
    • Servizi di climatizzazione
    Altro
    • Organizzazione non profit
    • Ente per la tutela ambientale
    • Agenzia di cartellonistica pubblicitaria
    • Studio fotografico
    • Punto noleggio di biciclette
    • Rivenditore di software
    Carica tutti i settori
  • Community
    Apprendimento
    • Tutorial
    • Documentazione
    • Certificazioni 
    • Formazione
    • Blog
    • Podcast
    Potenzia la tua formazione
    • Programma educativo
    • Scale Up! Business Game
    • Visita Odoo
    Ottieni il software
    • Scarica
    • Versioni a confronto
    • Note di versione
    Collabora
    • Github
    • Forum
    • Eventi
    • Traduzioni
    • Diventa nostro partner
    • Servizi per partner
    • Registra la tua società di contabilità
    Ottieni servizi
    • Trova un partner
    • Trova un contabile
    • Incontra un esperto
    • Servizi di implementazione
    • Testimonianze dei clienti
    • Supporto
    • Aggiornamenti
    GitHub Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Richiedi una demo
  • Prezzi
  • Aiuto

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Contabilità
  • Magazzino
  • PoS
  • Progetti
  • MRP
All apps
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
Assistenza

How to Fix RPC_ERROR/ ODOO SERVER ERROR/TRACEBACK

Iscriviti

Ricevi una notifica quando c'è un'attività per questo post

La domanda è stata contrassegnata
errorinventorytracebackrpc
1 Rispondi
35858 Visualizzazioni
Avatar
Shunis Acker

What is the current behavior that you observe?
When i click on any product in INVENTORY i get this error below!, and then when i click any of the buttons in the navigation bar, Operations, Products Reporting, etc. i Get a different error for each one!!! :((( This is really bad. 

What are the steps to reproduce your issue?
[MY ODOO is installed on a USB Drive and Without thinking i unplugged it from the Computer yesterday and when i put it back in i started getting these errors!]

OS:WINDOWS 10
Odoo v16 Community Edition
PostgreSQL 

RPC_ERROR
Odoo Server Error
Traceback (most recent call last):
File "D:\programs\server\odoo\api.py", line 983, in get
cache_value = field_cache[record._ids[0]]
KeyError: 59

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\programs\server\odoo\fields.py", line 1160, in __get__
value = env.cache.get(record, self)
File "D:\programs\server\odoo\api.py", line 990, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: 'product.product(59,).display_name'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\programs\server\odoo\api.py", line 983, in get
cache_value = field_cache[record._ids[0]]
KeyError: 59

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\programs\server\odoo\fields.py", line 1160, in __get__
value = env.cache.get(record, self)
File "D:\programs\server\odoo\api.py", line 990, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: 'product.product(59,).product_template_attribute_value_ids'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\programs\server\odoo\http.py", line 1583, in _serve_db
return service_model.retrying(self._serve_ir_http, self.env)
File "D:\programs\server\odoo\service\model.py", line 134, in retrying
result = func()
File "D:\programs\server\odoo\http.py", line 1610, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
File "D:\programs\server\odoo\http.py", line 1807, in dispatch
result = self.request.registry['ir.http']._dispatch(endpoint)
File "D:\programs\server\odoo\addons\base\models\ir_http.py", line 154, in _dispatch
result = endpoint(**request.params)
File "D:\programs\server\odoo\http.py", line 696, in route_wrapper
result = endpoint(self, *args, **params_ok)
File "D:\programs\server\odoo\addons\web\controllers\dataset.py", line 42, in call_kw
return self._call_kw(model, method, args, kwargs)
File "D:\programs\server\odoo\addons\web\controllers\dataset.py", line 33, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "D:\programs\server\odoo\api.py", line 461, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "D:\programs\server\odoo\api.py", line 448, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "D:\programs\server\odoo\models.py", line 2979, in read
return self._read_format(fnames=fields, load=load)
File "D:\programs\server\odoo\models.py", line 3136, in _read_format
vals[name] = convert(record[name], record, use_name_get)
File "D:\programs\server\odoo\fields.py", line 2976, in convert_to_read
return (value.id, value.sudo().display_name)
File "D:\programs\server\odoo\fields.py", line 1208, in __get__
self.compute_value(recs)
File "D:\programs\server\odoo\fields.py", line 1367, in compute_value
records._compute_field_value(self)
File "D:\programs\server\odoo\addons\mail\models\mail_thread.py", line 403, in _compute_field_value
return super()._compute_field_value(field)
File "D:\programs\server\odoo\models.py", line 4193, in _compute_field_value
fields.determine(field.compute, self)
File "D:\programs\server\odoo\fields.py", line 97, in determine
return needle(*args)
File "D:\programs\server\odoo\addons\product\models\product_product.py", line 408, in _compute_display_name
return super()._compute_display_name()
File "D:\programs\server\odoo\models.py", line 1528, in _compute_display_name
names = dict(self.name_get())
File "D:\programs\server\odoo\addons\product\models\product_product.py", line 452, in name_get
variant = product.product_template_attribute_value_ids._get_combination_name()
File "D:\programs\server\odoo\fields.py", line 2771, in __get__
return super().__get__(records, owner)
File "D:\programs\server\odoo\fields.py", line 1185, in __get__
recs._fetch_field(self)
File "D:\programs\server\odoo\models.py", line 3162, in _fetch_field
self._read(fnames)
File "D:\programs\server\odoo\models.py", line 3272, in _read
field.read(fetched)
File "D:\programs\server\odoo\fields.py", line 4713, in read
records._cr.execute(query, where_params)
File "D:\programs\server\odoo\sql_db.py", line 313, in execute
res = self._obj.execute(query, params)
psycopg2.errors.DataCorrupted: invalid page in block 4 of relation base/16393/21436

0
Avatar
Abbandona
Avatar
Alan Scott
Risposta migliore

Based on the information you provided, it seems like there might be a data corruption issue in your Odoo database, possibly caused by unplugging the USB drive while it was being accessed.

To attempt a resolution, I would suggest taking the following steps:

  1. Create a backup of your current Odoo database to prevent further data loss.

  2. Restart the Odoo server and check if the issue still persists.

  3. If restarting does not solve the problem, you may need to repair the PostgreSQL database. You can use pg_dump to create a backup of your database first and then try to restore it using pg_restore. In case there are errors during restoration, this could help identify issues with corrupted tables or indexes.

  4. Depending on the severity of corruption, you may need to use additional PostgreSQL recovery tools or methods such as reindexdb to rebuild indexes or manual repair using SQL queries.

  5. If none of these methods resolve your issue, you could consider restoring from an earlier backup (if available) or seeking assistance from an experienced Odoo developer or consultant who can analyze and fix your specific issue.

Remember that working with databases can be potentially risky; always create backups before attempting any changes or repairs. Good luck!


0
Avatar
Abbandona
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!

Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!

Registrati
Post correlati Risposte Visualizzazioni Attività
Bulk Product CSV import error: "Quants cannot be created for consumables or services. at multiple rows Resolve other errors first" Risolto
error inventory
Avatar
Avatar
Avatar
Avatar
3
set 25
5939
The above server error caused the following client error: RPC_ERROR: Odoo Server Error
error rpc
Avatar
Avatar
Avatar
3
apr 23
15472
error when starting inventory
error inventory
Avatar
Avatar
1
giu 19
4622
Import initial inventory stock with lot nos via inventory adjustment for multicompany.
error inventory lot
Avatar
Avatar
Avatar
Avatar
3
ago 25
7160
RPC_ERROR: ValueError: Invalid field 'brand_id' on model 'product.template' after "changing something""
server error rpc
Avatar
0
dic 22
5883
Community
  • Tutorial
  • Documentazione
  • Forum
Open source
  • Scarica
  • Github
  • Runbot
  • Traduzioni
Servizi
  • Hosting Odoo.sh
  • Supporto
  • Aggiornamenti
  • Sviluppi personalizzati
  • Formazione
  • Trova un contabile
  • Trova un partner
  • Diventa nostro partner
Chi siamo
  • La nostra azienda
  • Branding
  • Contattaci
  • Lavora con noi
  • Eventi
  • Podcast
  • Blog
  • Clienti
  • Note legali • Privacy
  • Sicurezza
الْعَرَبيّة 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 ภาษาไทย Türkçe українська Tiếng Việt

Odoo è un gestionale di applicazioni aziendali open source pensato per coprire tutte le esigenze della tua azienda: CRM, Vendite, E-commerce, Magazzino, Produzione, Fatturazione elettronica, Project Management e molto altro.

Il punto di forza di Odoo è quello di offrire un ecosistema unico di app facili da usare, intuitive e completamente integrate tra loro.

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