← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 568257] Re: can initiate server

 

I am converting this bug to a question, as other people could have the
same issue

** Summary changed:

- can initiate server
+ Solving Server crashes within inspect module when using external debugging/optimization tools

-- 
Solving Server crashes within inspect module when using external debugging/optimization tools
https://bugs.launchpad.net/bugs/568257
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Server: Invalid

Bug description:
openerp 5.0.9

Traceback (most recent call last):
  File "openerp-server.py", line 99, in <module>
    pooler.get_db_and_pool(db, update_module=tools.config['init'] or tools.config['update'])
  File "/home/gptmanage/webapps/openerp_server/bin/pooler.py", line 40, in get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File "/home/gptmanage/webapps/openerp_server/bin/__init__.py", line 678, in load_modules

  File "/home/gptmanage/webapps/openerp_server/bin/sql_db.py", line 316, in cursor
    return Cursor(self._pool, self.dbname, serialized=serialized)
  File "/home/gptmanage/webapps/openerp_server/bin/sql_db.py", line 95, in __init__
    self.__caller = tuple(stack()[2][1:3])
  File "/usr/local/lib/python2.5/inspect.py", line 884, in stack
    return getouterframes(sys._getframe(1), context)
  File "/usr/local/lib/python2.5/inspect.py", line 865, in getouterframes
    framelist.append((frame,) + getframeinfo(frame, context))
  File "/usr/local/lib/python2.5/inspect.py", line 840, in getframeinfo
    lines, lnum = findsource(frame)
  File "/usr/local/lib/python2.5/inspect.py", line 510, in findsource
    if pat.match(lines[lnum]): break
IndexError: list index out of range
Exception exceptions.AttributeError: "'cursor' object has no attribute '_Cursor__caller'" in <bound method Cursor.__del__ of <sql_db.Cursor object at 0x89e594c>> ignored