Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[9.0] NotFound: 404: Not Found #432

Closed
max3903 opened this issue Jan 27, 2016 · 5 comments
Closed

[9.0] NotFound: 404: Not Found #432

max3903 opened this issue Jan 27, 2016 · 5 comments

Comments

@max3903
Copy link
Member

max3903 commented Jan 27, 2016

On runbots, after logging in any 9.0 instance, the menu is empty and clicking on the Odoo logo brings the user back to the database selector.

http://3140358-9-0-bc867f.runbot1.odoo-community.org/?db=3140358-9-0-bc867f-all

On the Chrome console, I have this JS error:

Server application error {"message":"Odoo Server Error","code":200,"data":{"debug":"
Traceback (most recent call last):\n  
File \"/srv/openerp/instances/openerp-oca-runbot/parts/odoo-extra/runbot/static/build/3140341-77-84d819/openerp/http.py\", line 643, in _handle_exception\n
    return super(JsonRequest, self)._handle_exception(exception)\n  
File \"/srv/openerp/instances/openerp-oca-runbot/parts/odoo-extra/runbot/static/build/3140341-77-84d819/openerp/http.py\", line 1624, in _dispatch_nodb\n
    func, arguments = self.nodb_routing_map.bind_to_environ(request.httprequest.environ).match()\n  
File \"/srv/openerp/instances/openerp-oca-runbot/sandbox/local/lib/python2.7/site-packages/werkzeug/routing.py\", line 1430, in match\n
    raise NotFound()\n
NotFound: 404: Not Found\n
","exception_type":"internal_error","message":"","name":"werkzeug.exceptions.NotFound","arguments":[]}}
@max3903 max3903 added this to the 9.0 milestone Jan 27, 2016
@max3903
Copy link
Member Author

max3903 commented Jan 27, 2016

I forced the rebuild and it works now. Not sure what was the problem...

@max3903 max3903 closed this as completed Jan 27, 2016
@max3903
Copy link
Member Author

max3903 commented Feb 9, 2016

http://3141276-9-0-883313.runbot1.odoo-community.org/web/login

2016-02-09 20:25:53,619 21687 INFO 3141276-9-0-883313-all openerp.modules.registry: At least one model cache has been cleared, signaling through the database.
2016-02-09 20:25:53,651 21687 INFO 3141276-9-0-883313-all werkzeug: 127.0.0.1 - - [09/Feb/2016 20:25:53] "POST /web/login HTTP/1.0" 200 -
2016-02-09 20:25:54,006 21688 INFO 3141276-9-0-883313-all openerp.modules.registry: Invalidating all model caches after database signaling.
2016-02-09 20:25:54,276 21688 INFO 3141276-9-0-883313-all werkzeug: 127.0.0.1 - - [09/Feb/2016 20:25:54] "GET /web HTTP/1.0" 200 -
2016-02-09 20:25:55,253 21687 INFO 3141276-9-0-883313-all werkzeug: 127.0.0.1 - - [09/Feb/2016 20:25:55] "POST /web/dataset/call HTTP/1.0" 200 -
2016-02-09 20:25:55,375 21688 INFO 3141276-9-0-883313-all werkzeug: 127.0.0.1 - - [09/Feb/2016 20:25:55] "POST /mail/client_action HTTP/1.0" 200 -
2016-02-09 20:25:55,417 21688 INFO 3141276-9-0-883313-all werkzeug: 127.0.0.1 - - [09/Feb/2016 20:25:55] "POST /mail/chat_init HTTP/1.0" 200 -
2016-02-09 20:25:55,420 21688 INFO 3141276-9-0-883313-all werkzeug: 127.0.0.1 - - [09/Feb/2016 20:25:55] "POST /web/dataset/call_kw/ir.model.data/xmlid_to_res_id HTTP/1.0" 200 -
2016-02-09 20:25:55,423 21688 INFO 3141276-9-0-883313-all werkzeug: 127.0.0.1 - - [09/Feb/2016 20:25:55] "POST /web/dataset/call_kw/ir.model.data/xmlid_to_res_id HTTP/1.0" 200 -
2016-02-09 20:25:55,457 21688 INFO 3141276-9-0-883313-all werkzeug: 127.0.0.1 - - [09/Feb/2016 20:25:55] "POST /web/webclient/translations HTTP/1.0" 200 -
2016-02-09 20:25:55,462 21687 INFO 3141276-9-0-883313-all openerp.service.common: successful login from 'admin' using database '3141276-9-0-883313-all'
2016-02-09 20:25:55,476 21687 INFO 3141276-9-0-883313-all werkzeug: 127.0.0.1 - - [09/Feb/2016 20:25:55] "POST /web/session/get_session_info HTTP/1.0" 200 -
2016-02-09 20:25:55,594 21689 WARNING ? openerp.http: Logged into database '3141276-9-0-883313-all', but dbfilter rejects it; logging session out.
2016-02-09 20:25:55,646 21689 ERROR ? openerp.http: Exception during JSON request handling.
Traceback (most recent call last):
  File "/srv/openerp/instances/openerp-oca-runbot/parts/odoo-extra/runbot/static/build/3141276-9-0-883313/openerp/http.py", line 643, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/srv/openerp/instances/openerp-oca-runbot/parts/odoo-extra/runbot/static/build/3141276-9-0-883313/openerp/http.py", line 1624, in _dispatch_nodb
    func, arguments = self.nodb_routing_map.bind_to_environ(request.httprequest.environ).match()
  File "/srv/openerp/instances/openerp-oca-runbot/sandbox/local/lib/python2.7/site-packages/werkzeug/routing.py", line 1430, in match
    raise NotFound()
NotFound: 404: Not Found

@max3903
Copy link
Member Author

max3903 commented Feb 9, 2016

Not sure if it is a Odoo or Runbot issue.

@Garamotte
Copy link

Note that the "-base" database of this build works.

It seems that the "-all" build loaded a very low number of modules :
2016-02-09 19:51:05,306 15289 INFO 3141276-9-0-883313-all openerp.modules.loading: 26 modules loaded in 10.91s, 20 queries
https://runbot.odoo-community.org/runbot/static/build/3141276-9-0-883313/logs/job_20_test_all.txt

While other builds load a lot of modules :
2016-02-09 23:44:36,205 24281 INFO 3141280-9-0-0a0ff7-all openerp.modules.loading: 206 modules loaded in 6.77s, 4 queries
https://runbot2.odoo-community.org/runbot/static/build/3141280-9-0-0a0ff7/logs/job_20_test_all.txt

@pedrobaeza
Copy link
Member

This should be fixed now. It was a thing between .travis.yml and runbot system with travis2docker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants