Re: [SOGo] [openchange] install on debian squeeze 64-bit

2011-10-12 Thread Ludovic Marcotte

On 12/10/11 06:45, Gerhard W. Recher (abuse) wrote:

sogo@sogo:~/openchange/sogo/setup$ sudo PYTHONPATH=$PYTHONPATH
./openchange_provision
Traceback (most recent call last):
   File ./openchange_provision, line 26, inmodule
 import openchange
ImportError: No module named openchange

On page 5, we refer to Python v2.7. If you are using an other version, 
modify accordingly.


Regards,

--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +1.514.755.3630  ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] [openchange] install on debian squeeze 64-bit

2011-10-12 Thread Gerhard W. Recher (abuse)
Am 12.10.2011 13:28, schrieb Ludovic Marcotte:
 On 12/10/11 06:45, Gerhard W. Recher (abuse) wrote:
 sogo@sogo:~/openchange/sogo/setup$ sudo PYTHONPATH=$PYTHONPATH
 ./openchange_provision
 Traceback (most recent call last):
File ./openchange_provision, line 26, inmodule
  import openchange
 ImportError: No module named openchange

 On page 5, we refer to Python v2.7. If you are using an other version,
 modify accordingly.

 Regards,

oops, ok I change to 2.6 and start from scratch.


all things are fine exept of page#11

add user to samba was fine
but create user in openchange failed

sogo@sogo:~/openchange/sogo/setup$ sudo ./openchange_newuser --create
gerhard
[sudo] password for root:
Traceback (most recent call last):
  File ./openchange_newuser, line 26, in module
import openchange
ImportError: No module named openchange


-- gerhard



-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: Re: [SOGo] [openchange] install on debian squeeze 64-bit

2011-10-12 Thread christophschroedercs
Hello,

I've had the same problem. I have solved it by manually giving him the
Pythonpath. For Openchange you need to take the one where the openchange folder
is inside of site-packages. In my case on ubuntu this was
/usr/local/lib/python2.7/site-packages, in this folder you can find a folder
called openchange. I don't know whether it's the same folder for you.

Respectively, the command would be:
sudo PYTHONPATH='/usr/local/lib/python2.7/site-packages' ./openchange_newuser
--create x

Hope this helps.
Kind regards,
Christoph
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] [openchange] install on debian squeeze 64-bit

2011-10-12 Thread Gerhard W. Recher (abuse)
Am 12.10.2011 16:43, schrieb christophschroede...@googlemail.com:
 Hello,

 I've had the same problem. I have solved it by manually giving him the
 Pythonpath. For Openchange you need to take the one where the openchange 
 folder
 is inside of site-packages. In my case on ubuntu this was
 /usr/local/lib/python2.7/site-packages, in this folder you can find a folder
 called openchange. I don't know whether it's the same folder for you.

 Respectively, the command would be:
 sudo PYTHONPATH='/usr/local/lib/python2.7/site-packages' ./openchange_newuser
 --create x

 Hope this helps.
 Kind regards,
 Christoph
thx christoph !

this trick does it

but for root and for user sogo env var :

echo $PYTHONPATH
:/usr/local/samba/lib/python2.6/site-packages


-- gerhard

-- 
users@sogo.nu
https://inverse.ca/sogo/lists