← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 655495] Re: [trunk] Error when trying to install helpdesk module

 

file to modify is :
client-web\addons\openerp\controllers\root.py

-- 
[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'