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ó
    • Gestió immobiliària
    • 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

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
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

Odoo demo installation error

Subscriure's

Get notified when there's activity on this post

This question has been flagged
installdemo
4 Respostes
11039 Vistes
Avatar
Wayne Motycka

I'm trying to install odoo from a git clone of the HEAD and upon trying to create a default database that also contains the demonstration data but it fails with a "Parse Error Missing Error" which has confounded me.  Furthermore, the error isn't leading me to what is missing.  Any recommendations on how I should be debugging this?  I've attached the error below.

Thanks

Wayne

------------------------- Error Message displayed -----------------------------

Odoo Server Error

Traceback (most recent call last):

File "/home/wmotycka/dev3/odoo/openerp/http.py", line 537, in _handle_exception

return super(JsonRequest, self)._handle_exception(exception)

File "/home/wmotycka/dev3/odoo/openerp/http.py", line 574, in dispatch

result = self._call_function(**self.params)

File "/home/wmotycka/dev3/odoo/openerp/http.py", line 311, in _call_function

return self.endpoint(*args, **kwargs)

File "/home/wmotycka/dev3/odoo/openerp/http.py", line 803, in __call__

return self.method(*args, **kw)

File "/home/wmotycka/dev3/odoo/openerp/http.py", line 403, in response_wrap

response = f(*args, **kw)

File "/home/wmotycka/dev3/odoo/addons/web/controllers/main.py", line 705, in create

request.session.authenticate(params['db_name'], 'admin', params['create_admin_pwd'])

File "/home/wmotycka/dev3/odoo/openerp/http.py", line 956, in authenticate

uid = dispatch_rpc('common', 'authenticate', [db, login, password, env])

File "/home/wmotycka/dev3/odoo/openerp/http.py", line 115, in dispatch_rpc

result = dispatch(method, params)

File "/home/wmotycka/dev3/odoo/openerp/service/common.py", line 26, in dispatch

return fn(*params)

File "/home/wmotycka/dev3/odoo/openerp/service/common.py", line 37, in exp_authenticate

res_users = openerp.registry(db)['res.users']

File "/home/wmotycka/dev3/odoo/openerp/__init__.py", line 68, in registry

return modules.registry.RegistryManager.get(database_name)

File "/home/wmotycka/dev3/odoo/openerp/modules/registry.py", line 339, in get

update_module)

File "/home/wmotycka/dev3/odoo/openerp/modules/registry.py", line 370, in new

openerp.modules.load_modules(registry._db, force_demo, status, update_module)

File "/home/wmotycka/dev3/odoo/openerp/modules/loading.py", line 297, in load_modules

loaded_modules, processed_modules = load_module_graph(cr, graph, status, perform_checks=update_module, report=report)

File "/home/wmotycka/dev3/odoo/openerp/modules/loading.py", line 176, in load_module_graph

_load_data(cr, module_name, idref, mode, kind='data')

File "/home/wmotycka/dev3/odoo/openerp/modules/loading.py", line 118, in _load_data

tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)

File "/home/wmotycka/dev3/odoo/openerp/tools/convert.py", line 901, in convert_file

convert_xml_import(cr, module, fp, idref, mode, noupdate, report)

File "/home/wmotycka/dev3/odoo/openerp/tools/convert.py", line 987, in convert_xml_import

obj.parse(doc.getroot(), mode=mode)

File "/home/wmotycka/dev3/odoo/openerp/tools/convert.py", line 853, in parse

self._tags[rec.tag](self.cr, rec, n, mode=mode)

File "/home/wmotycka/dev3/odoo/openerp/tools/convert.py", line 763, in _tag_record

id = self.pool['ir.model.data']._update(cr, self.uid, rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode, context=rec_context )

File "/home/wmotycka/dev3/odoo/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/home/wmotycka/dev3/odoo/openerp/addons/base/ir/ir_model.py", line 1077, in _update

res_id = model_obj.create(cr, uid, values, context=context)

File "/home/wmotycka/dev3/odoo/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/home/wmotycka/dev3/odoo/openerp/addons/base/ir/ir_ui_view.py", line 264, in create

context=context)

File "/home/wmotycka/dev3/odoo/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/home/wmotycka/dev3/odoo/openerp/api.py", line 336, in old_api

result = method(recs, *args, **kwargs)

File "/home/wmotycka/dev3/odoo/openerp/models.py", line 4078, in create

record = self.browse(self._create(old_vals))

File "/home/wmotycka/dev3/odoo/openerp/api.py", line 239, in wrapper

return new_api(self, *args, **kwargs)

File "/home/wmotycka/dev3/odoo/openerp/api.py", line 463, in new_api

result = method(self._model, cr, uid, *args, **kwargs)

File "/home/wmotycka/dev3/odoo/openerp/models.py", line 4280, in _create

self.pool[model_name]._store_set_values(cr, user, ids, fields2, context)

File "/home/wmotycka/dev3/odoo/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/home/wmotycka/dev3/odoo/openerp/models.py", line 4390, in _store_set_values

result = self._columns[val[0]].get(cr, self, ids, val, SUPERUSER_ID, context=context)

File "/home/wmotycka/dev3/odoo/openerp/osv/fields.py", line 1467, in get

result = self._fnct(obj, cr, uid, ids, name, self._arg, context)

File "/home/wmotycka/dev3/odoo/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/home/wmotycka/dev3/odoo/openerp/api.py", line 363, in old_api

result = method(recs, *args, **kwargs)

File "/home/wmotycka/dev3/odoo/openerp/addons/base/res/res_partner.py", line 191, in _get_image

return dict((p.id, tools.image_get_resized_images(p.image)) for p in self)

File "/home/wmotycka/dev3/odoo/openerp/addons/base/res/res_partner.py", line 191, in <genexpr>

return dict((p.id, tools.image_get_resized_images(p.image)) for p in self)

File "/home/wmotycka/dev3/odoo/openerp/fields.py", line 823, in __get__

return record._cache[self]

File "/home/wmotycka/dev3/odoo/openerp/models.py", line 5947, in __getitem__

return value.get() if isinstance(value, SpecialValue) else value

File "/home/wmotycka/dev3/odoo/openerp/fields.py", line 55, in get

raise self.exception

ParseError: "MissingError

One of the documents you are trying to access has been deleted, please try again after refreshing." while parsing /home/wmotycka/dev3/odoo/openerp/addons/base/base_data.xml:4, near

<record id="view_menu" model="ir.ui.view">

<field name="name">ir.ui.menu.tree</field>

<field name="model">ir.ui.menu</field>

<field name="arch" type="xml">

<tree string="Menu" toolbar="1">

<field icon="icon" name="name"/>

</tree>

</field>

<field name="field_parent">child_id</field>

</record>

2
Avatar
Descartar
Jérémy Kersten (jke)

can you pull and retry ? If you have the problem again, give us your command line ...

hesham.elmahdy@odootec.com

I have same error. here is my command line: python2.7 ~/odoo/odoo.py --addons-path=~/odoo/addons,~/workspace/vertical-construction

Avatar
Gael Rabier
Best Answer

I am experiencing exactly the same issue on v8.0.

I pulled right before trying.

Steps:

  • run a project inside my IDE (plain vanilla), go to localhost:8069/web/database/selector

  • create a new database with demo data

Error:

ParseError: "MissingError

One of the documents you are trying to access has been deleted, please try again after refreshing." while parsing /Users/gaelrabier/xxxxx/Projects/xxx/parts/odoo/openerp/addons/base/base_data.xml:4, near

<record id="view_menu" model="ir.ui.view">

<field name="name">ir.ui.menu.tree</field>

<field name="model">ir.ui.menu</field>

<field name="arch" type="xml">

<tree string="Menu" toolbar="1">

<field icon="icon" name="name"/>

</tree>

</field>

<field name="field_parent">child_id</field>

</record>

2
Avatar
Descartar
Avatar
Wayne Motycka
Autor Best Answer

A brief continuation of this thread, I did try a re-clone of the odoo repo from github with no change to the above erroneous behavior.  What finally *did* change behavior was to move the entire project from ~/dev to /opt/odoo along with the ancillary modifications to the config files to support this installation.  My suspicion is that there is an undocumented requirement on the installation directory somewhere within the rubric of python packages making up odoo.  I have found no successful method to install odoo in a local/development directory.

2
Avatar
Descartar
Avatar
hesham.elmahdy@odootec.com
Best Answer

i have the same problem..

here is my command line to start db:

python2.7 ~/odoo/odoo.py --addons-path=~/odoo/addons,~/workspace/vertical-construction

0
Avatar
Descartar
Wayne Motycka
Autor

I had a problem recently where the tilde wasn't working correctly when used in a shell argument (the shell doesn't like to expand it like it would a typical variable), Have you tried using absolute paths instead when you specify the addons-path? That may help in your case. I've had some limited success using the script that comes from:wget https://raw.githubusercontent.com/lukebranch/openerp-install-scripts/master/odoo-saas4/ubuntu-14-04/odoo_install.sh With some modification to force it to install into my directory tree. Using this script gave me a local (not in /opt) copy of the server that starts, with database password issues, but I've got multiple python version problems also, which I hope you've managed to avoid.

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 configure on_premise - Test databases
install
Avatar
Avatar
1
de maig 24
4159
Pre-configured Odoo demos V11 Solved
demo
Avatar
Avatar
Avatar
3
de gen. 19
11934
how to install a community app
install
Avatar
Avatar
2
de set. 16
36495
install openerp module in other system
install
Avatar
Avatar
1
de març 15
4858
Install openerp 7 with demo error smtp mail demo
mail install smtp demo
Avatar
Avatar
1
de març 15
9916
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 ภาษาไทย 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