openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #27130
[Bug 1271832] Re: Cannot install website module ( unhashable type: 'list')
** Project changed: openobject-server => openobject-addons
** Summary changed:
- Cannot install website module ( unhashable type: 'list')
+ Cannot install website module (KeyError: 'editable')
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1271832
Title:
Cannot install website module (KeyError: 'editable')
Status in OpenERP Addons (modules):
New
Bug description:
Steps to reproduce
* Install trunk-website-al branch for server,addons,web
* create database
* install module website
Openerp redirect to http://localhost:8069/?tutorial.banner=true
On console I get this:
2014-01-23 07:27:43,937 13869 INFO website_test werkzeug: 127.0.0.1 - - [23/Jan/2014 07:27:43] "POST /web/menu/load_needaction HTTP/1.1" 200 -
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 59420)
Traceback (most recent call last):
File "/usr/lib/python2.7/SocketServer.py", line 582, in process_request_thread
self.finish_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 323, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python2.7/SocketServer.py", line 640, in __init__
self.finish()
File "/usr/lib/python2.7/SocketServer.py", line 693, in finish
self.wfile.flush()
File "/usr/lib/python2.7/socket.py", line 303, in flush
self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 32] Broken pipe
----------------------------------------
2014-01-23 07:27:44,010 13869 INFO website_test werkzeug: 127.0.0.1 - - [23/Jan/2014 07:27:44] "GET /?tutorial.banner=true HTTP/1.1" 500 -
2014-01-23 07:27:44,036 13869 ERROR website_test werkzeug: Error on request:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 159, in run_wsgi
execute(app)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 146, in execute
application_iter = app(environ, start_response)
File "/mnt/files/src/openerp-server/website/server/openerp/service/server.py", line 260, in app
return self.app(e,s)
File "/mnt/files/src/openerp-server/website/server/openerp/service/wsgi_server.py", line 362, in application
return application_unproxied(environ, start_response)
File "/mnt/files/src/openerp-server/website/server/openerp/service/wsgi_server.py", line 348, in application_unproxied
result = handler(environ, start_response)
File "/mnt/files/src/openerp-server/website/server/openerp/http.py", line 913, in __call__
return self.dispatch(environ, start_response)
File "/mnt/files/src/openerp-server/website/server/openerp/http.py", line 871, in __call__
return self.app(environ, start_wrapped)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 411, in __call__
return self.app(environ, start_response)
File "/mnt/files/src/openerp-server/website/server/openerp/http.py", line 1037, in dispatch
result = ir_http._dispatch()
File "/mnt/files/src/openerp-server/website/addons/website/models/ir_http.py", line 65, in _dispatch
return super(ir_http, self)._dispatch()
File "/mnt/files/src/openerp-server/website/server/openerp/addons/base/ir/ir_http.py", line 121, in _dispatch
return self._handle_exception(e)
File "/mnt/files/src/openerp-server/website/addons/website/models/ir_http.py", line 119, in _handle_exception
return super(ir_http, self)._handle_exception(exception)
File "/mnt/files/src/openerp-server/website/server/openerp/addons/base/ir/ir_http.py", line 117, in _dispatch
result = request.dispatch()
File "/mnt/files/src/openerp-server/website/server/openerp/http.py", line 433, in dispatch
r = self._call_function(**self.params)
File "/mnt/files/src/openerp-server/website/server/openerp/http.py", line 217, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/mnt/files/src/openerp-server/website/server/openerp/service/model.py", line 112, in wrapper
return f(dbname, *args, **kwargs)
File "/mnt/files/src/openerp-server/website/server/openerp/http.py", line 212, in checked_call
return self.func(*a, **kw)
File "/mnt/files/src/openerp-server/website/server/openerp/http.py", line 514, in __call__
return self.method(*args, **kw)
File "/mnt/files/src/openerp-server/website/addons/website/controllers/main.py", line 42, in index
return self.page("website.homepage")
File "/mnt/files/src/openerp-server/website/addons/website/controllers/main.py", line 96, in page
if request.context['editable']:
KeyError: 'editable'
2014-01-23 07:27:44,193 13869 INFO website_test werkzeug: 127.0.0.1 - - [23/Jan/2014 07:27:44] "GET /favicon.ico HTTP/1.1" 500 -
2014-01-23 07:27:44,217 13869 ERROR website_test werkzeug: Error on request:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 159, in run_wsgi
execute(app)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 146, in execute
application_iter = app(environ, start_response)
File "/mnt/files/src/openerp-server/website/server/openerp/service/server.py", line 260, in app
return self.app(e,s)
File "/mnt/files/src/openerp-server/website/server/openerp/service/wsgi_server.py", line 362, in application
return application_unproxied(environ, start_response)
File "/mnt/files/src/openerp-server/website/server/openerp/service/wsgi_server.py", line 348, in application_unproxied
result = handler(environ, start_response)
File "/mnt/files/src/openerp-server/website/server/openerp/http.py", line 913, in __call__
return self.dispatch(environ, start_response)
File "/mnt/files/src/openerp-server/website/server/openerp/http.py", line 871, in __call__
return self.app(environ, start_wrapped)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 411, in __call__
return self.app(environ, start_response)
File "/mnt/files/src/openerp-server/website/server/openerp/http.py", line 1037, in dispatch
result = ir_http._dispatch()
File "/mnt/files/src/openerp-server/website/addons/website/models/ir_http.py", line 64, in _dispatch
return self._handle_exception(code=404)
File "/mnt/files/src/openerp-server/website/addons/website/models/ir_http.py", line 116, in _handle_exception
html = request.website._render('website.http_error', values)
File "/mnt/files/src/openerp-server/website/server/openerp/osv/orm.py", line 377, in function_proxy
return attr(self._cr, self._uid, [self._id], *args, **kwargs)
File "/mnt/files/src/openerp-server/website/addons/website/models/website.py", line 261, in _render
result = view.render(qweb_context, engine='website.qweb', context=context)
File "/mnt/files/src/openerp-server/website/server/openerp/osv/orm.py", line 377, in function_proxy
return attr(self._cr, self._uid, [self._id], *args, **kwargs)
File "/mnt/files/src/openerp-server/website/server/openerp/addons/base/ir/ir_ui_view.py", line 792, in render
return self.pool[engine].render(cr, uid, xml_id, values, loader=loader, context=context)
File "/mnt/files/src/openerp-server/website/server/openerp/addons/base/ir/ir_qweb.py", line 211, in render
return self.render_node(self.get_template(id_or_xml_id, v), v)
File "/mnt/files/src/openerp-server/website/server/openerp/addons/base/ir/ir_qweb.py", line 145, in get_template
if qcontext.loader and name not in qcontext.templates:
TypeError: unhashable type: 'list'
My platform: Linux ivann-ssd 3.2.0-58-generic-pae #88-Ubuntu SMP Tue Dec 3 18:00:02 UTC 2013 i686 i686 i386 GNU/Linux
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1271832/+subscriptions