← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 507973] Re: [trunk] [rev 1975] startup option --addons-path can't handle more than one addons path

 

Hello,

The resolution of this bug is critical for the execution of the aeroo reporting module and any module that includes the function
config ['addons_path']
They do not work when there are multiple addons paths.

-- 
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/507973

Title:
  [trunk] [rev 1975] startup option --addons-path can't handle more than
  one addons path

Status in OpenERP Server:
  Confirmed
Status in OpenERP Server trunk series:
  Confirmed

Bug description:
  Startup option --addons-path can be useful when launching server to add modules on the fly.
  It seems to be able to handle multiple addons-path comma separated (server/bin/addons/__init__.py line 48 : ad_paths= map(lambda m: os.path.abspath(m.strip()),tools.config['addons_path'].split(',')) )  but _check_addons_path method from config.py raise incorrect error cause it doesn't split the args...

  patch attached