Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Aplikacije
    Finance
    • Knjigovodstvo
    • Obračun
    • Stroški
    • Spreadsheet (BI)
    • Dokumenti
    • Podpisovanje
    Prodaja
    • CRM
    • Prodaja
    • POS Shop
    • POS Restaurant
    • Naročnine
    • Najem
    Spletne strani
    • Website Builder
    • Spletna trgovina
    • Blog
    • Forum
    • Pogovor v živo
    • eUčenje
    Dobavna veriga
    • Zaloga
    • Proizvodnja
    • PLM
    • Nabava
    • Vzdrževanje
    • Kakovost
    Kadri
    • Kadri
    • Kadrovanje
    • Odsotnost
    • Ocenjevanja
    • Priporočila
    • Vozni park
    Marketing
    • Družbeno Trženje
    • Email Marketing
    • SMS Marketing
    • Dogodki
    • Avtomatizacija trženja
    • Ankete
    Storitve
    • Projekt
    • Časovnice
    • Storitve na terenu
    • Služba za pomoč
    • Načrtovanje
    • Termini
    Produktivnost
    • Razprave
    • Odobritve
    • IoT
    • Voip
    • Znanje
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industrije
    Trgovina na drobno
    • Book Store
    • Trgovina z oblačili
    • Trgovina s pohištvom
    • Grocery Store
    • Trgovina s strojno opremo računalnikov
    • Trgovina z igračami
    Food & Hospitality
    • Bar and Pub
    • Restavracija
    • Hitra hrana
    • Guest House
    • Beverage Distributor
    • Hotel
    Nepremičnine
    • Real Estate Agency
    • Arhitekturno podjetje
    • Gradbeništvo
    • Estate Management
    • Vrtnarjenje
    • Združenje lastnikov nepremičnin
    Svetovanje
    • Računovodsko podjetje
    • Odoo Partner
    • Marketinška agencija
    • Law firm
    • Pridobivanje talentov
    • Audit & Certification
    Proizvodnja
    • Tekstil
    • Metal
    • Pohištvo
    • Hrana
    • Brewery
    • Poslovna darila
    Health & Fitness
    • Športni klub
    • Trgovina z očali
    • Fitnes center
    • Wellness Practitioners
    • Lekarna
    • Frizerski salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Sistemi sončne energije
    • Izdelovalec čevljev
    • Čistilne storitve
    • HVAC Services
    Ostali
    • Neprofitna organizacija
    • Agencija za okolje
    • Najem oglasnih panojev
    • Fotografija
    • Najem koles
    • Prodajalec programske opreme
    Browse all Industries
  • Skupnost
    Learn
    • Tutorials
    • Dokumentacija
    • Certifikati
    • Šolanje
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Prenesi
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Dogodki
    • Prevodi
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Sklici kupca
    • Podpora
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Določanje cen
  • Pomoč

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

  • CRM
  • e-Commerce
  • Knjigovodstvo
  • Zaloga
  • PoS
  • Projekt
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

Odoo SH Internal server error

Naroči se

Get notified when there's activity on this post

This question has been flagged
salesaccountingsaleodoosh
2 Odgovori
6374 Prikazi
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
Opusti
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
Opusti
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
Opusti
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!

Prijavi
Related Posts Odgovori Prikazi Aktivnost
Dynamic bank account number inside manual payment acquirer
sales accounting sale website_sale
Avatar
0
sep. 20
3172
How can send / receive Peppol Invoices in Odoo? Is it free? Which App / module? Solved
sales accounting
Avatar
Avatar
Avatar
2
nov. 25
3038
Warehouse on Product lines level
sales accounting
Avatar
Avatar
Avatar
2
okt. 25
795
Confusion regarding Product Categories and E-commerce Categories
sales accounting
Avatar
Avatar
Avatar
3
okt. 25
930
Can I use custom fields and Python to calculate Sales Tax? Solved
sales accounting
Avatar
Avatar
2
avg. 25
1396
Community
  • Tutorials
  • Dokumentacija
  • Forum
Open Source
  • Prenesi
  • Github
  • Runbot
  • Prevodi
Services
  • Odoo.sh Hosting
  • Podpora
  • Nadgradnja
  • Custom Developments
  • Izobraževanje
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Sredstva blagovne znamke
  • Kontakt
  • Zaposlitve
  • Dogodki
  • Podcast
  • Blog
  • Stranke
  • Pravno • Zasebnost
  • Varnost
الْعَرَبيّة 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