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
    Real Estate
    • Real Estate Agency
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consulting
    • Accounting Firm
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Furnitures
    • Food
    • 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
    • Solar Energy Systems
    • Shoe Maker
    • Serveis de neteja
    • HVAC Services
    Others
    • 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

error when starting odoo v12 server

Subscriure's

Get notified when there's activity on this post

This question has been flagged
error12.0
3 Respostes
4095 Vistes
Avatar
rvivas

What are the steps to reproduce your issue?

We are currently working with the following platforms’ versions in the development environment: 

Python 3.8.5

Ubuntu 20.04 LTS

Odoo v: 12.0:54b40f1eb09


Startup Odoo. 

What is currently happening?

Trying to start-up, we are getting the error described below, and the server doesn’t run. 

What are you expecting to happen?

We expect that the server runs without any error. 

Note:  For a faster turnaround, please share as much detail as you can.  Tell us which Menu sequences you follow. Attach screenshots. Share a video.


“2020-10-08 19:49:24,311 39299 ERROR odoo werkzeug: Error on request:

Traceback (most recent call last):

  File "/opt/odoo/env/lib/python3.8/site-packages/werkzeug/serving.py", line 205, in run_wsgi

    execute(self.server.app)

  File "/opt/odoo/env/lib/python3.8/site-packages/werkzeug/serving.py", line 193, in execute

    application_iter = app(environ, start_response)

  File "/mnt/home/rvivas/Workspace/dev/github.com/odoo/odoo/odoo/service/server.py", line 434, in app

    return self.app(e, s)

  File "/mnt/home/rvivas/Workspace/dev/github.com/odoo/odoo/odoo/service/wsgi_server.py", line 142, in application

    return application_unproxied(environ, start_response)

  File "/mnt/home/rvivas/Workspace/dev/github.com/odoo/odoo/odoo/service/wsgi_server.py", line 117, in application_unproxied

    result = odoo.http.root(environ, start_response)

  File "/mnt/home/rvivas/Workspace/dev/github.com/odoo/odoo/odoo/http.py", line 1320, in call

    return self.dispatch(environ, start_response)

  File "/mnt/home/rvivas/Workspace/dev/github.com/odoo/odoo/odoo/http.py", line 1293, in call

    return self.app(environ, start_wrapped)

  File "/opt/odoo/env/lib/python3.8/site-packages/werkzeug/wsgi.py", line 599, in call

    return self.app(environ, start_response)

  File "/mnt/home/rvivas/Workspace/dev/github.com/odoo/odoo/odoo/http.py", line 1488, in dispatch

    result = ir_http.dispatch()

  File "/mnt/home/rvivas/Workspace/dev/github.com/odoo/odoo/addons/web_editor/models/ir_http.py", line 22, in dispatch

    return super(IrHttp, cls)._dispatch()

  File "/mnt/home/rvivas/Workspace/dev/github.com/odoo/odoo/odoo/addons/base/models/ir_http.py", line 212, in _dispatch

    return cls._handle_exception(e)

  File "/mnt/home/rvivas/Workspace/dev/github.com/odoo/odoo/odoo/addons/base/models/ir_http.py", line 182, in _handle_exception

    return request._handle_exception(exception)

  File "/mnt/home/rvivas/Workspace/dev/github.com/odoo/odoo/odoo/http.py", line 776, in _handle_exception

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

  File "/mnt/home/rvivas/Workspace/dev/github.com/odoo/odoo/odoo/http.py", line 314, in _handle_exception

    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])

  File "/mnt/home/rvivas/Workspace/dev/github.com/odoo/odoo/odoo/tools/pycompat.py", line 87, in reraise

    raise value

  File "/mnt/home/rvivas/Workspace/dev/github.com/odoo/odoo/odoo/addons/base/models/ir_http.py", line 208, in _dispatch

    result = request.dispatch()

  File "/mnt/home/rvivas/Workspace/dev/github.com/odoo/odoo/odoo/http.py", line 835, in dispatch

    r = self._call_function(self.params)

  File "/mnt/home/rvivas/Workspace/dev/github.com/odoo/odoo/odoo/http.py", line 346, in _call_function

    return checked_call(self.db, *args, kwargs)

  File "/mnt/home/rvivas/Workspace/dev/github.com/odoo/odoo/odoo/service/model.py", line 98, in wrapper

    return f(dbname, args, kwargs)

  File "/mnt/home/rvivas/Workspace/dev/github.com/odoo/odoo/odoo/http.py", line 342, in checked_call

    result.flatten()

  File "/mnt/home/rvivas/Workspace/dev/github.com/odoo/odoo/odoo/http.py", line 1270, in flatten

    self.response.append(self.render())

  File "/mnt/home/rvivas/Workspace/dev/github.com/odoo/odoo/odoo/http.py", line 1263, in render

    return env["ir.ui.view"].render_template(self.template, self.qcontext)

  File "/mnt/home/rvivas/Workspace/dev/github.com/odoo/odoo/odoo/addons/base/models/ir_ui_view.py", line 1324, in render_template

    return self.browse(self.get_view_id(template)).render(values, engine)

  File "/mnt/home/rvivas/Workspace/dev/github.com/odoo/odoo/addons/web_editor/models/ir_ui_view.py", line 29, in render

    return super(IrUiView, self).render(values=values, engine=engine, minimal_qcontext=minimal_qcontext)

  File "/mnt/home/rvivas/Workspace/dev/github.com/odoo/odoo/odoo/addons/base/models/ir_ui_view.py", line 1333, in render

    return self.env[engine].render(self.id, qcontext)

  File "/mnt/home/rvivas/Workspace/dev/github.com/odoo/odoo/odoo/addons/base/models/ir_qweb.py", line 59, in render

    result = super(IrQWeb, self).render(id_or_xml_id, values=values, context)

  File "/mnt/home/rvivas/Workspace/dev/github.com/odoo/odoo/odoo/addons/base/models/qweb.py", line 275, in render

    self.compile(template, options)(self, body.append, values or {})

  File "<decorator-gen-54>", line 2, in compile

 File "/mnt/home/rvivas/Workspace/dev/github.com/odoo/odoo/odoo/tools/cache.py", line 93, in lookup

    value = d[key] = self.method(args, kwargs)

  File "/mnt/home/rvivas/Workspace/dev/github.com/odoo/odoo/odoo/addons/base/models/ir_qweb.py", line 114, in compile

    return super(IrQWeb, self).compile(id_or_xml_id, options=options)

  File "/mnt/home/rvivas/Workspace/dev/github.com/odoo/odoo/odoo/addons/base/models/qweb.py", line 338, in compile

    raise QWebException("Error when compiling AST", e, path, node and etree.tostring(node[0], encoding='unicode'), name)

odoo.addons.base.models.qweb.QWebException: Name node can't be used with 'None' constant

Traceback (most recent call last):

  File "/mnt/home/rvivas/Workspace/dev/github.com/odoo/odoo/odoo/tools/cache.py", line 88, in lookup

    r = d[key]

  File "/mnt/home/rvivas/Workspace/dev/github.com/odoo/odoo/odoo/tools/func.py", line 69, in wrapper

    return func(self, *args, kwargs)

  File "/mnt/home/rvivas/Workspace/dev/github.com/odoo/odoo/odoo/tools/lru.py", line 44, in __getitem

    a = self.d[obj].me

KeyError: ('ir.qweb', <function IrQWeb.compile at 0x7f8e152869d0>, 173, ('es_MX', None, None, None, None, None))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

  File "/mnt/home/rvivas/Workspace/dev/github.com/odoo/odoo/odoo/addons/base/models/qweb.py", line 330, in compile

    unsafe_eval(compile(astmod, '<template>', 'exec'), ns)

ValueError: Name node can't be used with 'None' constant

Error when compiling AST

ValueError: Name node can't be used with 'None' constant

Template: 173

Path: /templates/t/t/form/input[2]

Node: <input type="hidden" name="redirect" t-att-value="redirect"/> - - -”


0
Avatar
Descartar
Avatar
Ermin Trevisan
Best Answer

Odoo 12.0 does not support Python 3.8. Please install Python 3.6.

1
Avatar
Descartar
Sudhir Arya (ERP Harbor Consulting Services)

Yes, v12 does not work with py3.8

Avatar
rvivas
Autor Best Answer

ok, thank you very much for your answers

0
Avatar
Descartar
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
error with every action Solved
error odoo 12.0
Avatar
Avatar
Avatar
2
de maig 19
4534
?"Your country might be blocked by our hosting provider" error when I create new website
error
Avatar
0
d’oct. 25
448
Payment Page Return Error with Razorpay on Mobile Devices
error
Avatar
0
de set. 25
1075
How To Set Char Type Field Only Have Number Input ODOO 12 ?
12.0
Avatar
2
de gen. 25
7516
Error after installing "purchase" app in Odoo version 18
error
Avatar
Avatar
1
de des. 24
6472
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