← Back to team overview

openerp-india team mailing list archive

[Bug 568257] Re: Solving Server crashes within inspect module when using external debugging/optimization tools

 

In my case I have the trouble with the python-psyco compiler, change it
and problem solved.

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/568257

Title:
  Solving Server crashes within inspect module when using external
  debugging/optimization tools

Status in OpenERP 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/568257/+subscriptions