← Back to team overview

openerp-expert-framework team mailing list archive

Re: openerp web in openerp-server

 

Hi,

I have a slightly different setup:

/server
/web
/addons

the server and the web are installed under the same virtualenv
the path I rung the command is not under PYTHONPATH
this way running

$ ./server/openerp-server --addons-path=addons-trunk/,
web/addons

gives

ERROR:root:Failed to load server-wide module `web`
Traceback (most recent call last):
  File "./server/openerp-server", line 244, in <module>
    __import__(m)
ImportError: No module named web

should I add something to PYTHONPATH? or is there some other error?


On Mon, Sep 26, 2011 at 3:21 PM, Antony Lesuisse <al@xxxxxxxxxxx> wrote:

> WSGI is merged, with the following directory structure:
>
> server/trunk
> addons/trunk
> web/trunk
>
> run:
>
> ./server/trunk/openerp-server --load=web --addons-path=addons/trunk,**
> web/trunk/addons
>
> point your browser to:
>
> http://localhost:8069/
>
> enjoy.
>
> ______________________________**_________________
> Mailing list: https://launchpad.net/~**openerp-expert-framework<https://launchpad.net/%7Eopenerp-expert-framework>
> Post to     : openerp-expert-framework@**lists.launchpad.net<openerp-expert-framework@xxxxxxxxxxxxxxxxxxx>
> Unsubscribe : https://launchpad.net/~**openerp-expert-framework<https://launchpad.net/%7Eopenerp-expert-framework>
> More help   : https://help.launchpad.net/**ListHelp<https://help.launchpad.net/ListHelp>
>

Follow ups

References