Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Priemyselné odvetvia
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Reštaurácia
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Reality
    • Real Estate Agency
    • Architecture Firm
    • Konštrukcia
    • Estate Managament
    • Gardening
    • Property Owner Association
    Poradenstvo
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Jedlo
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Iní
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

Odoo demo installation error

Odoberať

Get notified when there's activity on this post

This question has been flagged
installdemo
4 Replies
11045 Zobrazenia
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
Zrušiť
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
Zrušiť
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
Zrušiť
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
Zrušiť
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!

Registrácia
Related Posts Replies Zobrazenia Aktivita
How to configure on_premise - Test databases
install
Avatar
Avatar
1
máj 24
4161
Pre-configured Odoo demos V11 Solved
demo
Avatar
Avatar
Avatar
3
jan 19
11938
how to install a community app
install
Avatar
Avatar
2
sep 16
36500
install openerp module in other system
install
Avatar
Avatar
1
mar 15
4861
Install openerp 7 with demo error smtp mail demo
mail install smtp demo
Avatar
Avatar
1
mar 15
9919
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة 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 je sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

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