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

Where can I found html_template ?

By
Luke Gopher
on 8/17/14, 5:25 AM 1,041 views

HI,

I've this error with latest 8.0 sources on a fedora 19 :

2014-08-17 09:21:44,587 701 INFO ? openerp.service.server: HTTP service (werkzeug) running on 0.0.0.0:8069
2014-08-17 09:21:56,143 701 INFO None openerp.http: Generating nondb routing
2014-08-17 09:21:56,189 701 INFO None werkzeug: 192.168.0.5 - - [17/Aug/2014 09:21:56] "GET / HTTP/1.1" 200 -
2014-08-17 09:21:56,413 701 INFO None werkzeug: 192.168.0.5 - - [17/Aug/2014 09:21:56] "GET /web HTTP/1.1" 303 -
2014-08-17 09:21:56,466 701 INFO ? werkzeug: 192.168.0.5 - - [17/Aug/2014 09:21:56] "GET / HTTP/1.1" 500 -
2014-08-17 09:21:56,471 701 INFO None werkzeug: 192.168.0.5 - - [17/Aug/2014 09:21:56] "GET /web/database/selector HTTP/1.1" 303 -
2014-08-17 09:21:56,476 701 ERROR ? werkzeug: Error on request:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/werkzeug/serving.py", line 159, in run_wsgi
    execute(app)
  File "/usr/lib/python2.7/site-packages/werkzeug/serving.py", line 146, in execute
    application_iter = app(environ, start_response)
  File "/usr/lib/python2.7/site-packages/openerp-8.0dev_20140815_230101-py2.7.egg/openerp/service/server.py", line 273, in app
    return self.app(e, s)
  File "/usr/lib/python2.7/site-packages/openerp-8.0dev_20140815_230101-py2.7.egg/openerp/service/wsgi_server.py", line 215, in application
    return application_unproxied(environ, start_response)
  File "/usr/lib/python2.7/site-packages/openerp-8.0dev_20140815_230101-py2.7.egg/openerp/service/wsgi_server.py", line 201, in application_unproxied
    result = handler(environ, start_response)
  File "/usr/lib/python2.7/site-packages/openerp-8.0dev_20140815_230101-py2.7.egg/openerp/http.py", line 1101, in __call__
    self.load_addons()
  File "/usr/lib/python2.7/site-packages/openerp-8.0dev_20140815_230101-py2.7.egg/openerp/http.py", line 1120, in load_addons
    m = __import__('openerp.addons.' + module)
  File "/usr/lib/python2.7/site-packages/openerp-8.0dev_20140815_230101-py2.7.egg/openerp/modules/module.py", line 72, in load_module
    mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
  File "/usr/lib/python2.7/site-packages/openerp-8.0dev_20140815_230101-py2.7.egg/openerp/addons/hw_proxy/__init__.py", line 22, in <module>
    import controllers
  File "/usr/lib/python2.7/site-packages/openerp-8.0dev_20140815_230101-py2.7.egg/openerp/addons/hw_proxy/controllers/__init__.py", line 1, in <module>
    import main
  File "/usr/lib/python2.7/site-packages/openerp-8.0dev_20140815_230101-py2.7.egg/openerp/addons/hw_proxy/controllers/main.py", line 19, in <module>
    from openerp.addons.web.controllers.main import manifest_list, module_boot, html_template
ImportError: cannot import name html_template

 

Can you help me to fix that ?

So i cannot access to the main odoo page.

Regards

0
klacus
On 8/17/14, 5:38 AM

Hi Luke, as I read ,you have to remove it according this report.

https://bugs.launchpad.net/openobject-addons/+bug/1317346

 

0
Luke Gopher
On 8/17/14, 5:48 AM

Ok thanks.

I've substitute all 'html_template' occurences from code.

Can you fix that into Github repository please ?

It works?

klacus
on 8/17/14, 5:50 AM

Yes it works, but it's a pitty to do this when you install this. It should be fix quickly in the main code repository, according to me.

Luke Gopher
on 8/17/14, 6:09 AM

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

1 follower(s)

Stats

Asked: 8/17/14, 5:25 AM
Seen: 1041 times
Last updated: 3/16/15, 8:10 AM