c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #00170
[Bug 655495] Re: [trunk] Error when trying to install helpdesk module
Hi cpa,
I confirm again the bug with installer windows.
web revision 3531
server 2871
addons 4333.
First, i can't create a database (error of cherrypy.timeout, I open a bug for this), then i create a complete database full options checked and with extended view, when finished, I login with client web, ok I can login, and when I logout, I have this message :
Unrecoverable error in the server.
Traceback (most recent call last):
File "d:\OpenERP allinone\Web\python25\lib\site-packages\cherrypy-3.1.2-py2.5-win32.egg\cherrypy\_cprequest.py", line 541, in run
self.respond(pi)
File "d:\OpenERP allinone\Web\python25\lib\site-packages\cherrypy-3.1.2-py2.5-win32.egg\cherrypy\_cprequest.py", line 624, in respond
self.handle_error()
File "d:\OpenERP allinone\Web\python25\lib\site-packages\cherrypy-3.1.2-py2.5-win32.egg\cherrypy\_cprequest.py", line 746, in handle_error
self.error_response()
File "d:\openerp allinone\web\python25\lib\site-packages\openerp_web-6.0dev-py2.5.egg\openerp-web\addons\openerp\controllers\root.py", line 38, in _cp_on_error
errorpage = cherrypy.request.pool.get_controller("/openerp/errorpage")
File "d:\OpenERP allinone\Web\python25\lib\site-packages\cherrypy-3.1.2-py2.5-win32.egg\cherrypy\__init__.py", line 301, in __getattr__
return getattr(child, name)
AttributeError: 'Request' object has no attribute 'pool'
In fact in openerp-web\addons\openerp\controllers\root.py :
there is no import pooler
pool is not define like in openerp-web\openobject\controllers\_root.py
line 3 from openobject import pooler
line 73 pool = request.pool = pooler.get_pool()
after this I had an other error with line 30 in openerp-web\addons\openerp\controllers\root.py :
from openerp.controllers import SecuredController, unsecured, actions, login as tiny_login, form
problem with form, just delete form of this line and add the line before:
import form
after this, I have a new error but in openerp-server, see :
Unrecoverable error in the server.
Traceback (most recent call last):
File "d:\OpenERP allinone\Web\python25\lib\site-packages\cherrypy-3.1.2-py2.5-win32.egg\cherrypy\_cprequest.py", line 541, in run
self.respond(pi)
File "d:\OpenERP allinone\Web\python25\lib\site-packages\cherrypy-3.1.2-py2.5-win32.egg\cherrypy\_cprequest.py", line 624, in respond
self.handle_error()
File "d:\OpenERP allinone\Web\python25\lib\site-packages\cherrypy-3.1.2-py2.5-win32.egg\cherrypy\_cprequest.py", line 746, in handle_error
self.error_response()
File "d:\openerp allinone\web\python25\lib\site-packages\openerp_web-6.0dev-py2.5.egg\openerp-web\addons\openerp\controllers\root.py", line 39, in _cp_on_error
pool = request.pool = pooler.get_pool()
File "d:\openerp allinone\web\python25\lib\site-packages\openerp_web-6.0dev-py2.5.egg\openerp-web\openobject\pooler.py", line 93, in get_pool
addons.load_addons(db_name, config)
File "d:\openerp allinone\web\python25\lib\site-packages\openerp_web-6.0dev-py2.5.egg\openerp-web\openobject\addons.py", line 219, in load_addons
new_modules = obj.get_new_modules()
File "d:\openerp allinone\web\python25\lib\site-packages\openerp_web-6.0dev-py2.5.egg\openerp-web\addons\openerp\controllers\modules.py", line 63, in get_new_modules
web_payload = modules.get_web(addons_to_download)
File "d:\openerp allinone\web\python25\lib\site-packages\openerp_web-6.0dev-py2.5.egg\openerp-web\addons\openerp\utils\rpc.py", line 396, in <lambda>
return lambda *args: self._session.execute("object", "execute", self._resource, name, *args)
File "d:\openerp allinone\web\python25\lib\site-packages\openerp_web-6.0dev-py2.5.egg\openerp-web\addons\openerp\utils\rpc.py", line 357, in execute
return self.gateway.execute(obj, method, *args)
File "d:\openerp allinone\web\python25\lib\site-packages\openerp_web-6.0dev-py2.5.egg\openerp-web\addons\openerp\utils\rpc.py", line 155, in execute
return self.__execute(obj, method, args)
File "d:\openerp allinone\web\python25\lib\site-packages\openerp_web-6.0dev-py2.5.egg\openerp-web\addons\openerp\utils\rpc.py", line 141, in __execute
common.error(_('Application Error'), err.backtrace)
File "d:\openerp allinone\web\python25\lib\site-packages\openerp_web-6.0dev-py2.5.egg\openerp-web\addons\openerp\utils\common.py", line 72, in error
raise TinyError(message=msg, title=title or _("Error"))
TinyError: Traceback (most recent call last):
File "netsvc.pyo", line 489, in dispatch
File "service\web_services.pyo", line 586, in dispatch
File "osv\osv.pyo", line 57, in wrapper
File "osv\osv.pyo", line 140, in execute
File "osv\osv.pyo", line 130, in execute_cr
File "d:\OpenERP AllInOne\Server\bin\addons\base\module\module.py", line 525, in get_web
File "addons\__init__.pyo", line 228, in zip_directory
File "zipfile.pyo", line 742, in writepy
File "ntpath.pyo", line 164, in split
File "ntpath.pyo", line 119, in splitdrive
TypeError: 'bool' object is unsubscriptable
but I don't kow if my corrections are good or not.
Can you confirm ?
If you want I can upload you my build client web.
Bye
--
[trunk] Error when trying to install helpdesk module
https://bugs.launchpad.net/bugs/655495
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP OpenObject.
Status in OpenObject Web Client: New
Bug description:
Hello,
I tried to install the helpdesk module (version 6) and here's the error I get :
--------------------- Error at the commande line (putty) ----------------------------------------------------------------------------------------------
[2010-10-06 07:35:24,387][test6] ERROR:addons.base.ir.model.data:Could not delete id: 7 of model ir.attachment
There should be some relation that points to this resource
You should manually fix this and restart with --update=module
Traceback (most recent call last):
File "/usr/lib/erp6/bin/addons/base/ir/ir_model.py", line 671, in _process_end
self.pool.get(model).unlink(cr, uid, [res_id])
File "/usr/lib/erp6/bin/addons/document/document.py", line 258, in unlink
assert storage_id, "Strange, found file #%s w/o storage!" % f.id
AssertionError: Strange, found file #7 w/o storage!
[2010-10-06 07:35:25,362][test6] INFO:actions:getting next operation
[2010-10-06 07:35:25,363][test6] INFO:actions:getting next <base.ir.ir_actions.ir_actions_todo object at 0x96839ac>
[2010-10-06 07:35:25,390][test6] INFO:actions:next action is browse_record(ir.actions.todo, 6)
[2010-10-06 07:35:52,934][test6] INFO:base.ir.module.module:Sending web content of modules [u'wiki'] to web client
Traceback (most recent call last):
File "/usr/lib/python2.6/logging/__init__.py", line 773, in emit stream.write(fs % msg.encode("UTF-8"))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1059: ordinal not in range (128)
------------------- Error displayed in the web page ----------------------------------------------------------------------------------------
Unrecoverable error in the server.
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cprequest.py", line 541, in run
self.respond(pi)
File "/usr/local/lib/python2.6/dist-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cprequest.py", line 624, in respond
self.handle_error()
File "/usr/local/lib/python2.6/dist-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cprequest.py", line 746, in handle_error
self.error_response()
File "/usr/lib/web6/addons/openerp/controllers/root.py", line 38, in _cp_on_error
errorpage = cherrypy.request.pool.get_controller("/openerp/errorpage")
File "/usr/local/lib/python2.6/dist-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/__init__.py", line 301, in __getattr__
return getattr(child, name)
AttributeError: 'Request' object has no attribute 'pool'