Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

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

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
course odoo database community gettingstarted
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
course odoo database community gettingstarted
About this forum
  1. Getting Started
  2. Forum

Error after update odoo 13.0

Subscribe

Get notified when there's activity on this post

This question has been flagged
13.0
2846 Views
Avatar
Udo Hennig

Hello,

I have a self hosted odoo 13.0 Database on my own server. After an update today over the apt packages-tool from http://nightly.odoo.com/13.0/nightly/deb/ I get an error when I try to connect to odoo.

Can someone help me to fix the problem ? The serverlog says this:


2021-10-30 12:00:57,966 32134 INFO ? odoo: Odoo version 13.0-20211030
2021-10-30 12:00:57,966 32134 INFO ? odoo: Using configuration file at /etc/odoo/odoo.conf
2021-10-30 12:00:57,966 32134 INFO ? odoo: addons paths: ['/usr/lib/python3/dist-packages/odoo/addons', '/var/lib/odoo/.local/share/Odoo/addons/13.0', '/opt/odoo/addons']
2021-10-30 12:00:57,967 32134 INFO ? odoo: database: emil@default:5434
2021-10-30 12:00:58,068 32134 INFO ? odoo.addons.base.models.ir_actions_report: Will use the Wkhtmltopdf binary at /usr/bin/wkhtmltopdf
2021-10-30 12:00:58,131 32134 WARNING ? odoo.addons.base.models.res_currency: The num2words python library is not installed, amount-to-text features won't be fully available.
2021-10-30 12:00:58,142 32134 INFO ? odoo.service.server: HTTP service (werkzeug) running on server:8069
2021-10-30 12:01:06,946 32134 INFO ? odoo.http: HTTP Configuring static files
2021-10-30 12:01:06,955 32134 INFO alma odoo.modules.loading: loading 1 modules...
2021-10-30 12:01:06,965 32134 INFO alma odoo.modules.loading: 1 modules loaded in 0.01s, 0 queries
2021-10-30 12:01:07,006 32134 INFO alma odoo.modules.loading: loading 129 modules...
2021-10-30 12:01:07,668 32134 INFO alma odoo.modules.loading: 129 modules loaded in 0.66s, 0 queries
2021-10-30 12:01:08,083 32134 WARNING alma odoo.fields: Field crossovered.budget.user_id: parameter 'oldname' is not longer supported; use an upgrade script instead.
2021-10-30 12:01:08,316 32134 INFO alma odoo.modules.loading: Modules loaded.
2021-10-30 12:01:08,323 32134 INFO alma odoo.addons.base.models.ir_http: Generating routing map for key None
2021-10-30 12:01:08,803 32134 INFO alma odoo.models.unlink: User #1 deleted ir.attachment records with IDs: [5744]
2021-10-30 12:01:08,944 32134 INFO alma werkzeug: 192.168.2.65 - - [30/Oct/2021 12:01:08] "GET /web/login HTTP/1.1" 500 - 329 0.113 1.883
2021-10-30 12:01:08,950 32134 ERROR alma werkzeug: Error on request:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/werkzeug/serving.py", line 205, in run_wsgi
execute(self.server.app)
File "/usr/local/lib/python3.9/dist-packages/werkzeug/serving.py", line 193, in execute
application_iter = app(environ, start_response)
File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 441, in app
return self.app(e, s)
File "/usr/lib/python3/dist-packages/odoo/service/wsgi_server.py", line 142, in application
return application_unproxied(environ, start_response)
File "/usr/lib/python3/dist-packages/odoo/service/wsgi_server.py", line 117, in application_unproxied
result = odoo.http.root(environ, start_response)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 1287, in __call__
return self.dispatch(environ, start_response)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 1257, in __call__
return self.app(environ, start_wrapped)
File "/usr/local/lib/python3.9/dist-packages/werkzeug/wsgi.py", line 599, in __call__
return self.app(environ, start_response)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 1457, in dispatch
result = ir_http._dispatch()
File "/usr/lib/python3/dist-packages/odoo/addons/auth_signup/models/ir_http.py", line 19, in _dispatch
return super(Http, cls)._dispatch()
File "/usr/lib/python3/dist-packages/odoo/addons/web_editor/models/ir_http.py", line 21, in _dispatch
return super(IrHttp, cls)._dispatch()
File "/usr/lib/python3/dist-packages/odoo/addons/utm/models/ir_http.py", line 29, in _dispatch
response = super(IrHttp, cls)._dispatch()
File "/usr/lib/python3/dist-packages/odoo/addons/http_routing/models/ir_http.py", line 519, in _dispatch
result = super(IrHttp, cls)._dispatch()
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 238, in _dispatch
return cls._handle_exception(e)
File "/usr/lib/python3/dist-packages/odoo/addons/utm/models/ir_http.py", line 34, in _handle_exception
response = super(IrHttp, cls)._handle_exception(exc)
File "/usr/lib/python3/dist-packages/odoo/addons/http_routing/models/ir_http.py", line 610, in _handle_exception
return super(IrHttp, cls)._handle_exception(exception)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 206, in _handle_exception
return request._handle_exception(exception)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 750, in _handle_exception
return super(HttpRequest, self)._handle_exception(exception)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 310, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/usr/lib/python3/dist-packages/odoo/tools/pycompat.py", line 14, in reraise
raise value
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 234, in _dispatch
result = request.dispatch()
File "/usr/lib/python3/dist-packages/odoo/http.py", line 809, in dispatch
r = self._call_function(**self.params)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 350, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 342, in checked_call
result.flatten()
File "/usr/lib/python3/dist-packages/odoo/http.py", line 1236, in flatten
self.response.append(self.render())
File "/usr/lib/python3/dist-packages/odoo/http.py", line 1229, in render
return env["ir.ui.view"].render_template(self.template, self.qcontext)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_ui_view.py", line 1191, in render_template
return self.browse(self.get_view_id(template)).render(values, engine)
File "/usr/lib/python3/dist-packages/odoo/addons/web_editor/models/ir_ui_view.py", line 27, in render
return super(IrUiView, self).render(values=values, engine=engine, minimal_qcontext=minimal_qcontext)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_ui_view.py", line 1199, in render
return self.env[engine].render(self.id, qcontext)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_qweb.py", line 58, in render
result = super(IrQWeb, self).render(id_or_xml_id, values=values, **context)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/qweb.py", line 260, in render
self.compile(template, options)(self, body.append, values or {})
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/qweb.py", line 335, in _compiled_fn
raise e
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/qweb.py", line 333, in _compiled_fn
return compiled(self, append, new, options, log)
File "", line 1, in template_web_login_6

File "/usr/lib/python3/dist-packages/odoo/addons/base/models/qweb.py", line 335, in _compiled_fn
raise e
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/qweb.py", line 333, in _compiled_fn
return compiled(self, append, new, options, log)
File "", line 1, in template_web_login_layout_12

File "/usr/lib/python3/dist-packages/odoo/addons/base/models/qweb.py", line 335, in _compiled_fn
raise e
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/qweb.py", line 333, in _compiled_fn
return compiled(self, append, new, options, log)
File "", line 1, in template_web_frontend_layout_32

File "", line 2, in compile

File "/usr/lib/python3/dist-packages/odoo/tools/cache.py", line 90, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_qweb.py", line 113, in compile
return super(IrQWeb, self).compile(id_or_xml_id, options=options)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/qweb.py", line 302, 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: forbidden opcode(s) in "'tests' in debug or test_mode_enabled": CONTAINS_OP
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/tools/cache.py", line 85, in lookup
r = d[key]
File "/usr/lib/python3/dist-packages/odoo/tools/func.py", line 69, in wrapper
return func(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/tools/lru.py", line 44, in __getitem__
a = self.d[obj].me
KeyError: ('ir.qweb', , 'web.conditional_assets_tests', ('de_DE', None, None, None, None, None))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/qweb.py", line 291, in compile
body = self._compile_node(element, _options)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/qweb.py", line 655, in _compile_node
return body + self._compile_directives(el, options)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/qweb.py", line 676, in _compile_directives
return compile_handler(el, options)
File "/usr/lib/python3/dist-packages/odoo/addons/web_editor/models/ir_qweb.py", line 81, in _compile_directive_tag
return super(QWeb, self)._compile_directive_tag(el, options)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/qweb.py", line 1009, in _compile_directive_tag
content = self._compile_directives(el, options)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/qweb.py", line 676, in _compile_directives
return compile_handler(el, options)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/qweb.py", line 1072, in _compile_directive_content
body.extend(self._compile_node(item, options))
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/qweb.py", line 655, in _compile_node
return body + self._compile_directives(el, options)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/qweb.py", line 676, in _compile_directives
return compile_handler(el, options)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/qweb.py", line 1110, in _compile_directive_if
test=self._compile_expr(el.attrib.pop('t-if')),
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_qweb.py", line 417, in _compile_expr
assert_valid_codeobj(
File "/usr/lib/python3/dist-packages/odoo/tools/safe_eval.py", line 189, in assert_valid_codeobj
raise ValueError("forbidden opcode(s) in %r: %s" % (expr, ', '.join(opname[x] for x in codes)))
ValueError: forbidden opcode(s) in "'tests' in debug or test_mode_enabled": CONTAINS_OP

Error when compiling AST
ValueError: forbidden opcode(s) in "'tests' in debug or test_mode_enabled": CONTAINS_OP
Template: web.conditional_assets_tests
Path: /t/t
Node: - - -
2021-10-30 12:01:20,282 32134 INFO ? odoo.service.server: Initiating shutdown
2021-10-30 12:01:20,282 32134 INFO ? odoo.service.server: Hit CTRL-C again or send a second signal to force the shutdown.

0
Avatar
Discard
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
[odoo 13]Discuss template
13.0
Avatar
0
Oct 24
2145
Attachment Button Missing Solved
13.0
Avatar
Avatar
Avatar
2
Sep 23
3320
How to set 2 Websites for 2 Companies in one DB with different external domains linked? Solved
13.0
Avatar
Avatar
Avatar
3
Aug 25
8342
Sending ISO-8859-15 encoded data from Odoo?
13.0
Avatar
0
Jun 21
3068
It is necessary to use dbfilter with only one production server, one domain and one database? Solved
13.0
Avatar
Avatar
1
Sep 20
3137
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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