← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 708709] [NEW] [Trunk 4468] addons web module dont load if you dont start web client in the good directory.

 

Public bug reported:

To reproduce the problem

Start web client (local path home)

python /usr/local/src/test/web/openerp-web.py -c /usr/local/src/test
/openerp-web.cfg

In openobject/addons.py line : 227


writeable = os.access('addons', os.W_OK)    <=== this force you to start client web from the right directory

Change by

writeable = os.access(paths.addons(), os.W_OK)  <== this allow you to
start from anywhere


tested on my test server and that work fine now.

** Affects: openobject-client-web
     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/708709

Title:
  [Trunk 4468] addons web module dont load if you dont start web client
  in the good directory.

Status in OpenERP Web Client:
  New

Bug description:
  To reproduce the problem

  Start web client (local path home)

  python /usr/local/src/test/web/openerp-web.py -c /usr/local/src/test
  /openerp-web.cfg

  In openobject/addons.py line : 227

  
  writeable = os.access('addons', os.W_OK)    <=== this force you to start client web from the right directory

  Change by

  writeable = os.access(paths.addons(), os.W_OK)  <== this allow you to
  start from anywhere

  
  tested on my test server and that work fine now.





Follow ups

References