← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 697995] [NEW] AttributeError: 'tuple' object has no attribute 'startswith'

 

Public bug reported:

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/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/addons/openerp/controllers/root.py", line 38, in _cp_on_error
    cherrypy.request.pool = openobject.pooler.get_pool()
  File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/openobject/pooler.py", line 93, in get_pool
    addons.load_addons(db_name, config)
  File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/openobject/addons.py", line 210, in load_addons
    new_modules = obj.get_new_modules()
  File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/addons/openerp/controllers/modules.py", line 59, in get_new_modules
    if not os.path.isdir(paths.addons(module))
  File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/openobject/paths.py", line 32, in addons
    def addons(*sections): return os.path.join(ADDONS_PATH, *sections)
  File "/usr/lib/python2.6/posixpath.py", line 65, in join
    if b.startswith('/'):
AttributeError: 'tuple' object has no attribute 'startswith'

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/697995

Title:
  AttributeError: 'tuple' object has no attribute 'startswith'

Status in OpenObject Addons Modules:
  New

Bug description:
  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/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/addons/openerp/controllers/root.py", line 38, in _cp_on_error
    cherrypy.request.pool = openobject.pooler.get_pool()
  File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/openobject/pooler.py", line 93, in get_pool
    addons.load_addons(db_name, config)
  File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/openobject/addons.py", line 210, in load_addons
    new_modules = obj.get_new_modules()
  File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/addons/openerp/controllers/modules.py", line 59, in get_new_modules
    if not os.path.isdir(paths.addons(module))
  File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/openobject/paths.py", line 32, in addons
    def addons(*sections): return os.path.join(ADDONS_PATH, *sections)
  File "/usr/lib/python2.6/posixpath.py", line 65, in join
    if b.startswith('/'):
AttributeError: 'tuple' object has no attribute 'startswith'





Follow ups

References