← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 655495] Re: [trunk] Pool error and timeout problem on windows while installing extra tools/wiki.

 

If I had in root.py :
from openobject import pooler
I have this error with same operations I described before (obliged to delete firefox cache too) :

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.0.0_rc1-py2.5.egg\addons\openerp\controllers\root.py", line 44, in _cp_on_error
    message = errorpage.render()
  File "d:\OpenERP AllInOne\Web\python25\lib\site-packages\openerp_web-6.0.0_rc1-py2.5.egg\addons\openerp\controllers\error_page.py", line 55, in render
    return self.__render(value)
  File "d:\OpenERP AllInOne\Web\python25\lib\site-packages\openerp_web-6.0.0_rc1-py2.5.egg\openobject\tools\_expose.py", line 199, in func_wrapper
    res = func(*args, **kw)
  File "d:\OpenERP AllInOne\Web\python25\lib\site-packages\openerp_web-6.0.0_rc1-py2.5.egg\addons\openerp\controllers\error_page.py", line 75, in __render
    maintenance = proxy.status()
  File "d:\OpenERP AllInOne\Web\python25\lib\site-packages\openerp_web-6.0.0_rc1-py2.5.egg\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.0.0_rc1-py2.5.egg\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.0.0_rc1-py2.5.egg\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.0.0_rc1-py2.5.egg\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.0.0_rc1-py2.5.egg\addons\openerp\utils\common.py", line 74, 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 135, in execute
  File "sql_db.pyo", line 332, in cursor
  File "sql_db.pyo", line 92, in __init__
  File "sql_db.pyo", line 243, in _locked
  File "sql_db.pyo", line 293, in borrow
OperationalError: FATAL:  database "admin" does not exist

-- 
[trunk] Pool error and timeout problem on windows while installing extra tools/wiki.
https://bugs.launchpad.net/bugs/655495
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Web Client: Fix Released

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'