Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Restauration & Hôtellerie
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brasserie
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Commerce
    • Bricoleur
    • Matériel informatique & support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Parcourir toutes les industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services pour partenaires
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

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

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

Odoo demo installation error

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
installdemo
4 Réponses
11063 Vues
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
Ignorer
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
Meilleure réponse

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
Ignorer
Avatar
Wayne Motycka
Auteur Meilleure réponse

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
Ignorer
Avatar
hesham.elmahdy@odootec.com
Meilleure réponse

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
Ignorer
Wayne Motycka
Auteur

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.

Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
How to configure on_premise - Test databases
install
Avatar
Avatar
1
mai 24
4166
Pre-configured Odoo demos V11 Résolu
demo
Avatar
Avatar
Avatar
3
janv. 19
11949
how to install a community app
install
Avatar
Avatar
2
sept. 16
36511
install openerp module in other system
install
Avatar
Avatar
1
mars 15
4870
Install openerp 7 with demo error smtp mail demo
mail install smtp demo
Avatar
Avatar
1
mars 15
9929
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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