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 SH Internal server error

Odoberať

Get notified when there's activity on this post

This question has been flagged
salesaccountingsaleodoosh
2 Replies
6375 Zobrazenia
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
Zrušiť
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
Zrušiť
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
Zrušiť
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!

Registrácia
Related Posts Replies Zobrazenia Aktivita
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
3072
Warehouse on Product lines level
sales accounting
Avatar
Avatar
Avatar
2
okt 25
796
Confusion regarding Product Categories and E-commerce Categories
sales accounting
Avatar
Avatar
Avatar
3
okt 25
960
Can I use custom fields and Python to calculate Sales Tax? Solved
sales accounting
Avatar
Avatar
2
aug 25
1429
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