Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
12 Răspunsuri
35888 Vizualizări

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)
Imagine profil
Abandonează

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

Cel mai bun răspuns

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

Imagine profil
Abandonează
Cel mai bun răspuns

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.

Imagine profil
Abandonează

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

Cel mai bun răspuns

Internal Server Error comes due to Database password & username.

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

Imagine profil
Abandonează

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

Cel mai bun răspuns

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

Imagine profil
Abandonează
Cel mai bun răspuns

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

 

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Cel mai bun răspuns

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?

Imagine profil
Abandonează
Cel mai bun răspuns

Internal Server Error comes due to Database password & username.

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

Imagine profil
Abandonează
Cel mai bun răspuns

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
Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
ian. 19
4376
0
mar. 15
4058
1
aug. 25
167
4
iul. 25
1513
1
iul. 25
827