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)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

Odoo SH Internal server error

Subscribe

Get notified when there's activity on this post

This question has been flagged
salesaccountingsaleodoosh
2 Replies
6384 Views
Avatar
Kevin

Hello odoo friends, I have a problem deploying a test in odoo sh, at first the module was installed correctly but when I make modifications and try to deploy with the new code updates I have errors when entering the link, I've tried to revert the changes to go back to the previous commit and the error persists. Some help? The version of odoo sh is 16.

This is the error in log.


Traceback (most recent call last):
File "/home/odoo/src/odoo/odoo/tools/cache.py", line 85, in lookup
r = d[key]
File "", line 2, in __getitem__
File "/home/odoo/src/odoo/odoo/tools/func.py", line 87, in locked
return func(inst, *args, **kwargs)
File "/home/odoo/src/odoo/odoo/tools/lru.py", line 34, in __getitem__
a = self.d[obj]
KeyError: ('ir.qweb', , 'web.assets_frontend', True, False, '', False, False, False, False, ('es_ES', None, None, None, None, None, 1))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/odoo/src/odoo/odoo/tools/cache.py", line 85, in lookup
r = d[key]
File "", line 2, in __getitem__
File "/home/odoo/src/odoo/odoo/tools/func.py", line 87, in locked
return func(inst, *args, **kwargs)
File "/home/odoo/src/odoo/odoo/tools/lru.py", line 34, in __getitem__
a = self.d[obj]
KeyError: ('ir.qweb', , 'web.assets_frontend', False, False, None, ('es_ES', None, None, None, None, None, 1))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "<1850>", line 1365, in template_1850
File "<1850>", line 1030, in template_1850_content
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_qweb.py", line 2425, in _load_values
return get_value()
File "<1850>", line 1020, in template_1850_t_cache_0_cache
File "<1850>", line 457, in template_1850_t_cache_0
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_qweb.py", line 2397, in _get_asset_nodes
return self._generate_asset_nodes_cache(bundle, css, js, debug, async_load, defer_load, lazy_load, media)
File "", line 2, in _generate_asset_nodes_cache
File "/home/odoo/src/odoo/odoo/tools/cache.py", line 90, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_qweb.py", line 2452, in _generate_asset_nodes_cache
return self._generate_asset_nodes(bundle, css, js, debug, async_load, defer_load, lazy_load, media)
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_qweb.py", line 2523, in _generate_asset_nodes
files, remains = self._get_asset_content(bundle, defer_load=defer_load, lazy_load=lazy_load, media=css and media or None)
File "", line 2, in _get_asset_content
File "/home/odoo/src/odoo/odoo/tools/cache.py", line 90, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_qweb.py", line 2456, in _get_asset_content
asset_paths = self.env['ir.asset']._get_asset_paths(bundle=bundle, css=True, js=True)
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_asset.py", line 120, in _get_asset_paths
self._fill_asset_paths(bundle, addons, installed, css, js, asset_paths, [])
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_asset.py", line 210, in _fill_asset_paths
process_path(asset.directive, asset.target, asset.path)
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_asset.py", line 169, in process_path
addon, paths = self._get_paths(path_def, installed, exts)
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_asset.py", line 310, in _get_paths
raise Exception("Unallowed to fetch files from addon %s" % addon)
Exception: Unallowed to fetch files from addon website_payment

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/home/odoo/src/odoo/odoo/http.py", line 1964, in __call__
response = request._serve_db()
File "/home/odoo/src/odoo/odoo/http.py", line 1549, in _serve_db
return service_model.retrying(self._serve_ir_http, self.env)
File "/home/odoo/src/odoo/odoo/service/model.py", line 134, in retrying
result = func()
File "/home/odoo/src/odoo/odoo/http.py", line 1578, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
File "/home/odoo/src/odoo/odoo/http.py", line 1691, in dispatch
return self.request.registry['ir.http']._dispatch(endpoint)
File "/home/odoo/src/odoo/addons/website/models/ir_http.py", line 227, in _dispatch
response = super()._dispatch(endpoint)
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_http.py", line 142, in _dispatch
result.flatten()
File "/home/odoo/src/odoo/odoo/http.py", line 1068, in flatten
self.response.append(self.render())
File "/home/odoo/src/odoo/odoo/http.py", line 1060, in render
return request.env["ir.ui.view"]._render_template(self.template, self.qcontext)
File "/home/odoo/src/odoo/addons/website/models/ir_ui_view.py", line 418, in _render_template
return super()._render_template(template, values=values)
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_ui_view.py", line 2088, in _render_template
return self.env['ir.qweb']._render(template, values)
File "/home/odoo/src/odoo/odoo/tools/profiler.py", line 292, in _tracked_method_render
return method_render(self, template, values, **options)
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_qweb.py", line 568, in _render
result = ''.join(rendering)
File "<1848>", line 39, in template_1848
File "<1848>", line 28, in template_1848_content
File "<1850>", line 1371, in template_1850
odoo.addons.base.models.ir_qweb.QWebException: Error while render the template
Exception: Unallowed to fetch files from addon website_payment
Template: website.layout
Path: /t/html/head/t[9]
Node:


0
Avatar
Discard
Ali Mohamed

Did you find any solutions to this ?

ZAKARIA ELGHANDORI

have you resolved this problem ?


Ahmed Abdu

Find way to remove these entries use query to remove these entries 

Avatar
Niyas Raphy (Walnut Software Solutions)
Best Answer

Hi,

Such an error is raised when some asset entries points to a non installed module, here in your case, there is some assets in the db which is from website_payment module and it is failing as it is not installed.


You can run a query and delete those entries from the db and it will be fine.

Thanks

0
Avatar
Discard
Sebastian

Thanks for the information. It would be very helpful if you could specify in this example which entries have to be deleted?

Omar Alejandro Linares Escobar

Please, I have same error. I'm really frustrated and I really don't know how to "run a query and delete those entries from db" :c

Avatar
BruceDBM
Best Answer

I have the same problem after I installed eLearning app in my odoo16 community instance. 

Additionnally, my odoo16 is installed in container, but if I install odoo16 in VPS server, everything works well.

0
Avatar
Discard
BruceDBM

Hello everybody, we got 500 error on odoo16 after we installed website app such as

eCommerce or eLearning. Below is the log:
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "<180>", line 1439, in template_180
File "<180>", line 1061, in template_180_content
File "/cloudclusters/odoo/odoo/addons/base/models/ir_qweb.py", line 2425, in _load_values
return get_value()
File "<180>", line 1051, in template_180_t_cache_0_cache
File "<180>", line 368, in template_180_t_cache_0
File "/cloudclusters/odoo/addons/website/models/website.py", line 868, in _get_alternate_languages
if not self._is_canonical_url(canonical_params=canonical_params):
File "/cloudclusters/odoo/addons/website/models/website.py", line 1313, in _is_canonical_url
current_url = request.httprequest.url_root[:-1] + request.httprequest.environ['REQUEST_URI']
KeyError: 'REQUEST_URI'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/cloudclusters/odoo/odoo/http.py", line 1985, in __call__
response = request._serve_db()
File "/cloudclusters/odoo/odoo/http.py", line 1584, in _serve_db
exc.error_response = self.registry['ir.http']._handle_error(exc)
File "/cloudclusters/odoo/addons/http_routing/models/ir_http.py", line 657, in _handle_error
code, html = 418, request.env['ir.ui.view']._render_template('http_routing.http_error', values)
File "/cloudclusters/odoo/addons/website/models/ir_ui_view.py", line 418, in _render_template
return super()._render_template(template, values=values)
File "/cloudclusters/odoo/odoo/addons/base/models/ir_ui_view.py", line 2116, in _render_template
return self.env['ir.qweb']._render(template, values)
File "/cloudclusters/odoo/odoo/tools/profiler.py", line 292, in _tracked_method_render
return method_render(self, template, values, **options)
File "/cloudclusters/odoo/odoo/addons/base/models/ir_qweb.py", line 568, in _render
result = ''.join(rendering)
File "<239>", line 66, in template_239
File "<239>", line 55, in template_239_content
File "<180>", line 1445, in template_180
odoo.addons.base.models.ir_qweb.QWebException: Error while render the template
KeyError: 'REQUEST_URI'
Template: web.frontend_layout
Path: /t/html/head/t[8]/t[2]

We have tested odoo16 with python3.7, 3.8 and 3.9. All of them have the same problem.

Does anybody have any idea about this issue? Thanks a lot in advance!

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
Dynamic bank account number inside manual payment acquirer
sales accounting sale website_sale
Avatar
0
Sep 20
3174
How can send / receive Peppol Invoices in Odoo? Is it free? Which App / module? Solved
sales accounting
Avatar
Avatar
Avatar
2
Nov 25
3092
Warehouse on Product lines level
sales accounting
Avatar
Avatar
Avatar
2
Oct 25
825
Confusion regarding Product Categories and E-commerce Categories
sales accounting
Avatar
Avatar
Avatar
3
Oct 25
960
Can I use custom fields and Python to calculate Sales Tax? Solved
sales accounting
Avatar
Avatar
2
Aug 25
1430
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