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
    • Artificial Intelligence
    • 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
    • Property 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
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 localhost generates internal server error for the first time

Subscribe

Get notified when there's activity on this post

This question has been flagged
internalerrorpython3odoo11community
1 Reply
7843 Views
Avatar
alaoui ikram

When we first time log-in it, we got Internal Server Error, although on refreshing browsers problem get resolves.

2019-11-26 13:39:45,343 6620 INFO test odoo.modules.loading: loading 1 modules... 
2019-11-26 13:39:45,366 6620 INFO test odoo.modules.loading: 1 modules loaded in 0.02s, 0 queries
2019-11-26 13:39:45,564 6620 INFO test odoo.modules.loading: loading 83 modules...
2019-11-26 13:39:46,091 6620 CRITICAL test odoo.modules.module: Couldn't load module base_vat_autocomplete
2019-11-26 13:39:46,091 6620 CRITICAL test odoo.modules.module: invalid syntax (client.py, line 242)
2019-11-26 13:39:46,094 6620 WARNING test odoo.modules.loading: Transient module states were reset
2019-11-26 13:39:46,094 6620 ERROR test odoo.modules.registry: Failed to load registry
Traceback (most recent call last):
File "D:\odoo_work\Testodoo\odoo\odoo\modules\registry.py", line 59, in __new__
return cls.registries[db_name]
File "D:\odoo_work\Testodoo\odoo\odoo\tools\func.py", line 68, in wrapper
return func(self, *args, **kwargs)
File "D:\odoo_work\Testodoo\odoo\odoo\tools\lru.py", line 44, in __getitem__
a = self.d[obj].me
KeyError: 'test'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\odoo_work\Testodoo\odoo\odoo\modules\registry.py", line 85, in new
odoo.modules.load_modules(registry._db, force_demo, status, update_module)
File "D:\odoo_work\Testodoo\odoo\odoo\modules\loading.py", line 376, in load_modules
force, status, report, loaded_modules, update_module, models_to_check)
File "D:\odoo_work\Testodoo\odoo\odoo\modules\loading.py", line 274, in load_marked_modules
perform_checks=perform_checks, models_to_check=models_to_check
File "D:\odoo_work\Testodoo\odoo\odoo\modules\loading.py", line 137, in load_module_graph
load_openerp_module(package.name)
File "D:\odoo_work\Testodoo\odoo\odoo\modules\module.py", line 368, in load_openerp_module
__import__('odoo.addons.' + module_name)
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 656, in _load_unlocked
File "<frozen importlib._bootstrap>", line 626, in _load_backward_compatible
File "D:\odoo_work\Testodoo\odoo\odoo\modules\module.py", line 82, in load_module
exec(open(modfile, 'rb').read(), new_mod.__dict__)
File "<string>", line 4, in <module>
File "D:\odoo_work\Testodoo\odoo\addons\base_vat_autocomplete\models\__init__.py", line 4, in <module>
from . import res_partner
File "D:\odoo_work\Testodoo\odoo\addons\base_vat_autocomplete\models\res_partner.py", line 9, in <module>
from suds.client import Client
File "C:\Users\i.alaoui\AppData\Local\Programs\Python\Python36\lib\site-packages\suds\client.py", line 242
except Exception e:
^
SyntaxError: invalid syntax

0
Avatar
Discard
alaoui ikram
Author

thank you very much i just install lib suds-jurko 

Avatar
Ravi Gadhia
Best Answer

it seems your system take python3 as default environment so either run odoo with python2 or upgrade to python3 compatible the suds (suds-jurko) lib
​

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
Show weeks of year in One2many field odoo Solved
python3 odoo11community
Avatar
Avatar
1
Aug 19
3979
employee just see own record in Module Employee Solved
python3 odoo11community
Avatar
Avatar
Avatar
Avatar
4
Jul 19
11573
Create Function for button near Create and Import
python3 odoo11community
Avatar
0
Dec 18
4505
Group by function / computed field with out ==> “store = True” in odoo 11 Solved
python3 odoo11community odoo11.0
Avatar
Avatar
1
Mar 22
15346
update list application will load permanently without any results
postgresql python3 odoo11community
Avatar
Avatar
2
Dec 19
3975
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 Svenska ภาษาไทย 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