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

Subscribe

Get notified when there's activity on this post

This question has been flagged
1 Reply
8013 Views
Avatar
Pascal Tremblay

Hello there,

When I start openerp-server, I get this log. All seems right :

2014-10-23 22:31:37,217 4503 INFO la_page_pt openerp.service.server: Initiating shutdown
2014-10-23 22:31:37,217 4503 INFO la_page_pt openerp.service.server: Hit CTRL-C again or send a second signal to force the shutdown.
2014-10-23 22:31:39,126 5436 INFO ? openerp: OpenERP version 8.0-8a9027e
2014-10-23 22:31:39,126 5436 INFO ? openerp: addons paths: ['/var/lib/odoo/addons/8.0', u'/usr/lib/python2.7/dist-packages/openerp/addons']
2014-10-23 22:31:39,126 5436 INFO ? openerp: database hostname: localhost
2014-10-23 22:31:39,126 5436 INFO ? openerp: database port: 5432
2014-10-23 22:31:39,127 5436 INFO ? openerp: database user: odoo
2014-10-23 22:31:39,289 5436 INFO ? openerp.service.server: HTTP service (werkzeug) running on 0.0.0.0:8069
2014-10-23 22:31:39,295 5436 INFO la_page_pt openerp.modules.loading: loading 1 modules...
2014-10-23 22:31:39,426 5436 INFO la_page_pt openerp.modules.loading: 1 modules loaded in 0.13s, 0 queries
2014-10-23 22:31:39,451 5436 INFO la_page_pt openerp.modules.loading: loading 83 modules...
2014-10-23 22:31:39,455 5436 INFO la_page_pt passlib.registry: registered crypt handler 'pbkdf2_sha512': <class 'passlib.handlers.pbkdf2.pbkdf2_sha512'>
2014-10-23 22:31:39,455 5436 INFO la_page_pt passlib.registry: registered crypt handler 'md5_crypt': <class 'passlib.handlers.md5_crypt.md5_crypt'>
2014-10-23 22:31:39,518 5436 INFO ? openerp.addons.bus.bus: Bus.loop listen imbus on db postgres
2014-10-23 22:31:39,529 5436 INFO la_page_pt openerp.addons.report.models.report: Will use the Wkhtmltopdf binary at /usr/local/bin/wkhtmltopdf
2014-10-23 22:31:41,646 5436 INFO la_page_pt openerp.modules.loading: 83 modules loaded in 2.20s, 0 queries
2014-10-23 22:31:41,719 5436 INFO la_page_pt openerp.modules.loading: Modules loaded.

After this, I go in my browser to localhos:8069. I get an « internal server error ». Here is the error in the log. Unable to solve it. Many hours on this.

2014-10-23 22:38:46,822 5713 INFO ? openerp.http: HTTP Configuring static files
2014-10-23 22:38:46,827 5713 INFO None openerp.http: Generating nondb routing
2014-10-23 22:38:46,840 5713 INFO None werkzeug: 192.168.1.1 - - [23/Oct/2014 22:38:46] "GET /web/database/manager HTTP/1.1" 200 -
2014-10-23 22:38:47,039 5713 INFO None werkzeug: 192.168.1.1 - - [23/Oct/2014 22:38:47] "POST /web/session/get_session_info HTTP/1.1" 200 -
2014-10-23 22:38:47,058 5713 INFO None werkzeug: 192.168.1.1 - - [23/Oct/2014 22:38:47] "POST /web/webclient/bootstrap_translations HTTP/1.1" 200 -
2014-10-23 22:38:47,087 5713 INFO None werkzeug: 192.168.1.1 - - [23/Oct/2014 22:38:47] "POST /web/proxy/load HTTP/1.1" 200 -
2014-10-23 22:38:47,126 5713 INFO None werkzeug: 192.168.1.1 - - [23/Oct/2014 22:38:47] "POST /web/session/get_lang_list HTTP/1.1" 200 -
2014-10-23 22:38:47,128 5713 INFO None werkzeug: 192.168.1.1 - - [23/Oct/2014 22:38:47] "POST /web/database/get_list HTTP/1.1" 200 -
2014-10-23 22:39:11,570 5713 INFO None werkzeug: 192.168.1.1 - - [23/Oct/2014 22:39:11] "GET /web HTTP/1.1" 303 -
2014-10-23 22:39:11,634 5713 INFO None werkzeug: 192.168.1.1 - - [23/Oct/2014 22:39:11] "GET /web/database/selector HTTP/1.1" 200 -
2014-10-23 22:39:13,739 5713 INFO None werkzeug: 192.168.1.1 - - [23/Oct/2014 22:39:13] "GET /web?db=la_page_pt HTTP/1.1" 302 -
2014-10-23 22:39:13,741 5713 INFO la_page_pt openerp.addons.base.ir.ir_http: Generating routing map
2014-10-23 22:39:13,800 5713 INFO la_page_pt werkzeug: 192.168.1.1 - - [23/Oct/2014 22:39:13] "GET /web?db=la_page_pt HTTP/1.1" 200 -
2014-10-23 22:39:13,848 5713 ERROR la_page_pt openerp.sql_db: Programming error: operator does not exist: integer = boolean
LINE 1: ...roup_id)  WHERE m.model = 'website'    AND gu.uid = false   ...
                                                             ^
HINT:  No operator matches the given name and argument type(s). You might need to add explicit type casts.
, in query SELECT MAX(CASE WHEN perm_read THEN 1 ELSE 0 END)   FROM ir_model_access a   JOIN ir_model m ON (m.id = a.model_id)   JOIN res_groups_users_rel gu ON (gu.gid = a.group_id)  WHERE m.model = %s    AND gu.uid = %s    AND a.active IS True
2014-10-23 22:39:13,911 5713 INFO la_page_pt werkzeug: 192.168.1.1 - - [23/Oct/2014 22:39:13] "GET /web/login?redirect=http%3A%2F%2F24.226.196.31%3A8069%2Fweb%3Fdb%3Dla_page_pt HTTP/1.1" 500 -
2014-10-23 22:39:13,924 5713 ERROR la_page_pt werkzeug: Error on request:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 177, in run_wsgi
    execute(self.server.app)
  File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 165, in execute
    application_iter = app(environ, start_response)
  File "/usr/lib/python2.7/dist-packages/openerp/service/server.py", line 280, in app
    return self.app(e, s)
  File "/usr/lib/python2.7/dist-packages/openerp/service/wsgi_server.py", line 216, in application
    return application_unproxied(environ, start_response)
  File "/usr/lib/python2.7/dist-packages/openerp/service/wsgi_server.py", line 202, in application_unproxied
    result = handler(environ, start_response)
  File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 1215, in __call__
    return self.dispatch(environ, start_response)
  File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 1189, in __call__
    return self.app(environ, start_wrapped)
  File "/usr/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 579, in __call__
    return self.app(environ, start_response)
  File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 1356, in dispatch
    result = ir_http._dispatch()
  File "/usr/lib/python2.7/dist-packages/openerp/addons/website/models/ir_http.py", line 91, in _dispatch
    langs = [lg[0] for lg in request.website.get_languages()]
  File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 235, in wrapper
    return new_api(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 552, in new_api
    result = method(self._model, cr, uid, self.ids, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/addons/website/models/website.py", line 235, in get_languages
    return self._get_languages(cr, uid, ids[0], context=context)
  File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 237, in wrapper
    return old_api(self, *args, **kwargs)
  File "<string>", line 2, in _get_languages
    
  File "/usr/lib/python2.7/dist-packages/openerp/tools/cache.py", line 75, in lookup
    return self.method(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/addons/website/models/website.py", line 232, in _get_languages
    return [(lg.code, lg.name) for lg in website.language_ids]
  File "/usr/lib/python2.7/dist-packages/openerp/fields.py", line 754, in __get__
    self.determine_value(record)
  File "/usr/lib/python2.7/dist-packages/openerp/fields.py", line 849, in determine_value
    record._prefetch_field(self)
  File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 235, in wrapper
    return new_api(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/models.py", line 3154, in _prefetch_field
    result = records.read(list(fnames), load='_classic_write')
  File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 235, in wrapper
    return new_api(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/models.py", line 3087, in read
    self.check_access_rights('read')
  File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 235, in wrapper
    return new_api(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 442, in new_api
    result = method(self._model, cr, uid, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/models.py", line 3401, in check_access_rights
    return self.pool.get('ir.model.access').check(cr, uid, self._name, operation, raise_exception)
  File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 237, in wrapper
    return old_api(self, *args, **kwargs)
  File "<string>", line 2, in check
    
  File "/usr/lib/python2.7/dist-packages/openerp/tools/cache.py", line 71, in lookup
    value = d[key] = self.method(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/addons/base/ir/ir_model.py", line 750, in check
    , (model_name, uid,)
  File "/usr/lib/python2.7/dist-packages/openerp/sql_db.py", line 158, in wrapper
    return f(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/sql_db.py", line 234, in execute
    res = self._obj.execute(query, params)
ProgrammingError: operator does not exist: integer = boolean
LINE 1: ...roup_id)  WHERE m.model = 'website'    AND gu.uid = false   ...
                                                             ^
HINT:  No operator matches the given name and argument type(s). You might need to add explicit type casts.

Would you have idea?

Thanks everybody

0
Avatar
Discard
Avatar
Pascal Tremblay
Author Best Answer

At least, now, I can connect to my database.

I have found this https://www.odoo.com/forum/help-1/question/how-to-pass-connection-parameters-in-the-url-36541

So, I connected directly to my database with http://localhost:8069/login?db=xxxxx&login=usernam&key=asdf

I removed some useless modules and now all it's ok.!!!!

Thanks

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
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