← Back to team overview

openerp-expert-framework team mailing list archive

Re: openerp web in openerp-server

 

On Thu, Oct 6, 2011 at 8:21 AM, Viktor Nagy <viktor.nagy@xxxxxxxxxxx> wrote:

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

I report a bug about this, but i run without web addons

Regards,


>
> 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>
>>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openerp-expert-framework
> Post to     : openerp-expert-framework@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openerp-expert-framework
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Cristian Salamea
@ovnicraft

References