Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Openerp 8 (dev) Internal Server Error

By
Kristian Gough
on 3/26/14, 2:36 PM 20,127 views

I started a v8 installation in a virtual machine to start some module development and generally look at what's new in v8. Everything was going ok, I was installing various core modules to get things fleshed out and then I got an Internal Error:

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.

I went to the logs and this is the recent output. I'm running Ubuntu 12.04 LTS, v8 dev-20140325-000101 in Hyper-V.

I haven't 'lost' any data really, just a couple of demo users I chucked in, but I was wondering what has caused the error.

2014-03-26 17:06:45,241 1153 INFO ? openerp: OpenERP version 8.0dev-20140325-000101
2014-03-26 17:06:45,242 1153 INFO ? openerp: addons paths: ['/opt/openerp/.local/share/OpenERP/addons/8.0', u'/usr/local/lib/python2.7/dist-packages/openerp-8.0dev_20140325_000101-py2.7.egg/openerp/addons', '/usr/local/lib/python2.7/dist-packages/openerp-8.0dev_20140325_000101-py2.7.egg/openerp/addons']
2014-03-26 17:06:45,242 1153 INFO ? openerp: database hostname: localhost
2014-03-26 17:06:45,242 1153 INFO ? openerp: database port: 5432
2014-03-26 17:06:45,242 1153 INFO ? openerp: database user: openerp
2014-03-26 17:06:45,898 1153 INFO ? openerp.service.server: HTTP service (werkzeug) running on 0.0.0.0:8069
2014-03-26 17:07:21,934 1153 INFO ? openerp.http: HTTP Configuring static files
2014-03-26 17:07:22,321 1153 INFO [Company name was here] openerp.modules.loading: loading 1 modules...
2014-03-26 17:07:23,705 1153 INFO [Company name was here] openerp.modules.loading: loading 128 modules...
2014-03-26 17:07:25,988 1153 INFO [Company name was here] openerp.modules.loading: Modules loaded.
2014-03-26 17:07:26,046 1153 INFO [Company name was here] openerp.addons.base.ir.ir_http: Generating routing map
2014-03-26 17:07:26,381 1153 INFO [Company name was here] werkzeug: 141.101.98.179 - - [26/Mar/2014 17:07:26] "GET / HTTP/1.1" 500 -
2014-03-26 17:07:26,451 1153 ERROR [Company name was here] werkzeug: Error on request:
Traceback (most recent call last):
  File "/usr/share/pyshared/werkzeug/serving.py", line 159, in run_wsgi
    execute(app)
  File "/usr/share/pyshared/werkzeug/serving.py", line 146, in execute
    application_iter = app(environ, start_response)
  File "/usr/local/lib/python2.7/dist-packages/openerp-8.0dev_20140325_000101-py2.7.egg/openerp/service/server.py", line 261, in app
    return self.app(e, s)
  File "/usr/local/lib/python2.7/dist-packages/openerp-8.0dev_20140325_000101-py2.7.egg/openerp/service/wsgi_server.py", line 362, in application
    return application_unproxied(environ, start_response)
  File "/usr/local/lib/python2.7/dist-packages/openerp-8.0dev_20140325_000101-py2.7.egg/openerp/service/wsgi_server.py", line 348, in application_unproxied
    result = handler(environ, start_response)
  File "/usr/local/lib/python2.7/dist-packages/openerp-8.0dev_20140325_000101-py2.7.egg/openerp/http.py", line 1094, in __call__
    return self.dispatch(environ, start_response)
  File "/usr/local/lib/python2.7/dist-packages/openerp-8.0dev_20140325_000101-py2.7.egg/openerp/http.py", line 1071, in __call__
    return self.app(environ, start_wrapped)
  File "/usr/share/pyshared/werkzeug/wsgi.py", line 411, in __call__
    return self.app(environ, start_response)
  File "/usr/local/lib/python2.7/dist-packages/openerp-8.0dev_20140325_000101-py2.7.egg/openerp/http.py", line 1231, in dispatch
    result = ir_http._dispatch()
  File "/usr/local/lib/python2.7/dist-packages/openerp-8.0dev_20140325_000101-py2.7.egg/openerp/addons/website/models/ir_http.py", line 64, in _dispatch
    return super(ir_http, self)._dispatch()
  File "/usr/local/lib/python2.7/dist-packages/openerp-8.0dev_20140325_000101-py2.7.egg/openerp/addons/base/ir/ir_http.py", line 108, in _dispatch
    processing = self._postprocess_args(arguments, rule)
TypeError: _postprocess_args() takes exactly 2 arguments (3 given)
2014-03-26 17:07:38,002 1153 INFO [Company name was here] werkzeug: 141.101.98.179 - - [26/Mar/2014 17:07:38] "GET / HTTP/1.1" 500 -
2014-03-26 17:07:38,008 1153 ERROR [Company name was here] werkzeug: Error on request:
Traceback (most recent call last):
  File "/usr/share/pyshared/werkzeug/serving.py", line 159, in run_wsgi
    execute(app)
  File "/usr/share/pyshared/werkzeug/serving.py", line 146, in execute
    application_iter = app(environ, start_response)
  File "/usr/local/lib/python2.7/dist-packages/openerp-8.0dev_20140325_000101-py2.7.egg/openerp/service/server.py", line 261, in app
    return self.app(e, s)
  File "/usr/local/lib/python2.7/dist-packages/openerp-8.0dev_20140325_000101-py2.7.egg/openerp/service/wsgi_server.py", line 362, in application
    return application_unproxied(environ, start_response)
  File "/usr/local/lib/python2.7/dist-packages/openerp-8.0dev_20140325_000101-py2.7.egg/openerp/service/wsgi_server.py", line 348, in application_unproxied
    result = handler(environ, start_response)
  File "/usr/local/lib/python2.7/dist-packages/openerp-8.0dev_20140325_000101-py2.7.egg/openerp/http.py", line 1094, in __call__
    return self.dispatch(environ, start_response)
  File "/usr/local/lib/python2.7/dist-packages/openerp-8.0dev_20140325_000101-py2.7.egg/openerp/http.py", line 1071, in __call__
    return self.app(environ, start_wrapped)
  File "/usr/share/pyshared/werkzeug/wsgi.py", line 411, in __call__
    return self.app(environ, start_response)
  File "/usr/local/lib/python2.7/dist-packages/openerp-8.0dev_20140325_000101-py2.7.egg/openerp/http.py", line 1231, in dispatch
    result = ir_http._dispatch()
  File "/usr/local/lib/python2.7/dist-packages/openerp-8.0dev_20140325_000101-py2.7.egg/openerp/addons/website/models/ir_http.py", line 64, in _dispatch
    return super(ir_http, self)._dispatch()
  File "/usr/local/lib/python2.7/dist-packages/openerp-8.0dev_20140325_000101-py2.7.egg/openerp/addons/base/ir/ir_http.py", line 108, in _dispatch
    processing = self._postprocess_args(arguments, rule)
TypeError: _postprocess_args() takes exactly 2 arguments (3 given)

Did you try to change or delete the company name, perhaps? It seems to be griping about that.

Martin
on 3/26/14, 7:10 PM
1

Martin

--Martin--
1978
| 5 6 8
Cornwall, Canada
--Martin--

Analysing, designing, coding and mentoring since 1975. Kilobytes to terabytes. Punch cards to punchy sites. My OpenERP video series: http://www.youtube.com/playlist?list=PLq7op4J183lX44ZlXPiHxUpRvmmRDtxye My Google Speadsheets --> OpenERP Data Pump project: http://martinhbramwell.github.io/GData_OpenERP_Data_Pump My email (with spaces removed) : mhb . warehouseman @ gmail . com

Martin
On 3/26/14, 7:08 PM

I'm pretty sure I hit the same bug with openerp-8.0dev-20140320-000101

I reverted to openerp-8.0dev-20140310-000101 and was able to keep working.

If you find the very latest version works today, or sometime soon, please let me know.

When you say that you « reverted », how do you do it? With apt-get?

Pascal Tremblay
on 10/20/14, 6:08 AM
1

Internal Server Error comes due to Database password & username.

you start server like this ./openerp-server -w <yourdatabase password>

how to start server using openerp-server.conf file please write full command

mostafa
on 11/12/14, 5:05 PM
1
Omar
On 5/21/14, 11:40 AM

I've had the same problem once, and I solved it modifying one file. check http://bazaar.launchpad.net/~openerp/openobject-addons/trunk/revision/9196 for more information.

I looks like that it was a bug, but its fixed now

0
omixam
On 1/17/16, 2:26 AM

I'm using odoo-9 and I got this issue. The real reason (in my case) was that not all requirements in requirements.txt were satisfied.

You need install dev version of package such as Postgres, libxml2, libxslt, libevent, libsasl2 and libldap2, like is suggested in the section of the odoo documentation

Installing dependencies

https://www.odoo.com/documentation/9.0/setup/install.html

I hope that this will be of utility.

Good luck!!

0
Akhilesh Gupta
On 10/9/14, 8:26 AM

Internal Server Error comes due to Database password & username.

you start server like this ./openerp-server -w <yourdatabase password>

0

I have it on SAAS as well occassionally, typically mid-day so I assume it has something to do with backups being run slowing down performance. As I'm running ODOO as a trial now I can live with it, but this would not be acceptable in a production environment. I would therefore appreciate a comment from the development team as well on why this error message seems to pop up more frequently with the last release. Maybe timeout period before having ODOO generate the error message should be extended?

0
Stanislas Boyet
On 6/20/14, 10:35 AM

Hi,

 

Any new about this one ? Pretty annoying ... Or could I specify the version I want to install instead of installing last one ?

I am on Debian, and installed this one from apt, with this source :

deb http://nightly.odoo.com/trunk/nightly/deb/ ./

 

0
SJ
On 3/27/14, 12:12 AM

I too have had this issue after the 3/10 release...consistently. If I take a perfectly running openerp-8.0dev-20140310-000101 and upgrade > 20140310, I get this same error each time. Looks like something significant...

-1
Ivo verlaek
On 8/7/14, 10:02 AM

I have the same issue, however two out of 5 browsers on my mac are having this issue.

  • Firefox and Safari generate this error
  • Opera keeps on the blank page
  • Chrome and Maxthon are working

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 3/26/14, 2:36 PM
Seen: 20127 times
Last updated: 1/17/16, 2:26 AM