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

Internal Server Error after uninstalling theme

Subscribe

Get notified when there's activity on this post

This question has been flagged
erroruninstallthemeodoo11community
2 Replies
5247 Views
Avatar
mhamza3@gmail.com

i installed theme on odoo 11 community its running on centos 7

so i decide touninstall the theme after uninstalling i get error 500 "

Internal Server Error

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application."

Below are the logs of the issue, this appear just after login

2018-09-19 16:53:48,021 18093 INFO cashcall werkzeug: 20.20.20.43 - - [19/Sep/2018 16:53:48] "GET /web HTTP/1.1" 500 -

2018-09-19 16:53:48,025 18093 ERROR cashcall werkzeug: Error on request:

Traceback (most recent call last):

  File "/home/odoo11/odoo11-venv/lib/python3.5/site-packages/werkzeug/serving.py", line 205, in run_wsgi

    execute(self.server.app)

  File "/home/odoo11/odoo11-venv/lib/python3.5/site-packages/werkzeug/serving.py", line 193, in execute

    application_iter = app(environ, start_response)

  File "/home/odoo11/source/odoo/service/server.py", line 250, in app

    return self.app(e, s)

  File "/home/odoo11/source/odoo/service/wsgi_server.py", line 166, in application

    return application_unproxied(environ, start_response)

  File "/home/odoo11/source/odoo/service/wsgi_server.py", line 154, in application_unproxied

    result = handler(environ, start_response)

  File "/home/odoo11/source/odoo/http.py", line 1318, in __call__

    return self.dispatch(environ, start_response)

  File "/home/odoo11/source/odoo/http.py", line 1292, in __call__

    return self.app(environ, start_wrapped)

  File "/home/odoo11/odoo11-venv/lib/python3.5/site-packages/werkzeug/wsgi.py", line 599, in __call__

    return self.app(environ, start_response)

  File "/home/odoo11/source/odoo/http.py", line 1490, in dispatch

    result = ir_http._dispatch()

  File "/home/odoo11/source/addons/auth_signup/models/ir_http.py", line 19, in _dispatch

    return super(Http, cls)._dispatch()

  File "/home/odoo11/source/addons/web_editor/models/ir_http.py", line 22, in _dispatch

    return super(IrHttp, cls)._dispatch()

  File "/home/odoo11/source/addons/http_routing/models/ir_http.py", line 393, in _dispatch

    result = super(IrHttp, cls)._dispatch()

  File "/home/odoo11/source/addons/utm/models/ir_http.py", line 26, in _dispatch

    response = super(IrHttp, cls)._dispatch()

  File "/home/odoo11/source/odoo/addons/base/ir/ir_http.py", line 212, in _dispatch

    return cls._handle_exception(e)

  File "/home/odoo11/source/addons/utm/models/ir_http.py", line 31, in _handle_exception

    response = super(IrHttp, cls)._handle_exception(exc)

  File "/home/odoo11/source/odoo/addons/base/ir/ir_http.py", line 182, in _handle_exception

   return request._handle_exception(exception)

  File "/home/odoo11/source/odoo/http.py", line 770, in _handle_exception

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

  File "/home/odoo11/source/odoo/http.py", line 310, in _handle_exception

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

  File "/home/odoo11/source/odoo/tools/pycompat.py", line 87, in reraise

    raise value

  File "/home/odoo11/source/odoo/addons/base/ir/ir_http.py", line 208, in _dispatch

    result = request.dispatch()

  File "/home/odoo11/source/odoo/http.py", line 829, in dispatch

    r = self._call_function(**self.params)

  File "/home/odoo11/source/odoo/http.py", line 342, in _call_function

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

  File "/home/odoo11/source/odoo/service/model.py", line 97, in wrapper

    return f(dbname, *args, **kwargs)

  File "/home/odoo11/source/odoo/http.py", line 338, in checked_call

    result.flatten()

  File "/home/odoo11/source/odoo/http.py", line 1269, in flatten

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

  File "/home/odoo11/source/odoo/http.py", line 1262, in render

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

  File "/home/odoo11/source/odoo/addons/base/ir/ir_ui_view.py", line 1195, in render_template

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

  File "/home/odoo11/source/addons/web_editor/models/ir_ui_view.py", line 27, in render

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

  File "/home/odoo11/source/odoo/addons/base/ir/ir_ui_view.py", line 1204, in render

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

  File "/home/odoo11/source/odoo/addons/base/ir/ir_qweb/ir_qweb.py", line 57, in render

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

  File "/home/odoo11/source/odoo/addons/base/ir/ir_qweb/qweb.py", line 271, in render

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

  File "/home/odoo11/source/odoo/addons/base/ir/ir_qweb/qweb.py", line 344, in _compiled_fn

    raise e

  File "/home/odoo11/source/odoo/addons/base/ir/ir_qweb/qweb.py", line 342, in _compiled_fn

    return compiled(self, append, new, options, log)

  File "<template>", line 1, in template_171_99

 

  File "<template>", line 2, in body_call_content_98

 

  File "/home/odoo11/source/odoo/addons/base/ir/ir_qweb/qweb.py", line 349, in _compiled_fn

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

odoo.addons.base.ir.ir_qweb.qweb.QWebException: 'NoneType' object is not subscriptable

Traceback (most recent call last):

  File "/home/odoo11/source/odoo/addons/base/ir/ir_qweb/qweb.py", line 342, in _compiled_fn

    return compiled(self, append, new, options, log)

  File "<template>", line 1, in template_web_menu_secondary_145

TypeError: 'NoneType' object is not subscriptable

 

Error to render compiling AST

TypeError: 'NoneType' object is not subscriptable

Template: web.menu_secondary

Path: /templates/t/ul/t

Node: <t t-foreach="menu['children']" t-as="menu">

                <li>

                    <t t-if="menu['children']">

                        <a>

                            <t t-esc="menu['name']"/>

                            <span class="fa arrow"/>

                        </a>

                    </t>

                    <t t-if="not menu['children']">

                        <t t-call="web.menu_link"/>

                    </t>

                    <t t-call="web.menu_secondary_submenu"/>

                </li>

            </t>

 

0
Avatar
Discard
Avatar
Hilar Andikkadavath
Best Answer

upgrade web module through the terminal

sudo su postgres
./odoo-bin -d db_name -u module_name[web] -r role/db_user -w password


0
Avatar
Discard
Avatar
mhamza3@gmail.com
Author Best Answer

thank you Hilar for your answer but i have no experience in terminal commands so

could you please write the command? and thank you again 



 
0
Avatar
Discard
Hilar Andikkadavath

answer updated

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
Why do I get the error 'KeyError: ('ir.model.data', <function IrModelData.xmlid_lookup at 0x7fe7d333c268>, 'theme_common._assets_primary_variables')'?
error theme
Avatar
1
Nov 25
20212
"The character encoding of the HTML document was not declared" when connecting to odoo11 server
error odoo11community
Avatar
0
Oct 21
2745
Odoo Internal Server Error after uninstalling theme
error uninstall internalerror theme themes
Avatar
0
Mar 17
124
theme vista backend - error 500
error 500 theme
Avatar
Avatar
2
Mar 22
4473
Error "NameError: name 'check_limit' is not defined" after uninstalling partner_credit_limit
error module uninstall
Avatar
1
Mar 15
7398
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