[Kolab-devel] 3.0 on debian wheezy: setup-kolab failing

Jeroen van Meeuwen vanmeeuwen at kolabsys.com
Sun Sep 16 14:32:48 CEST 2012


On Saturday, September 15, 2012 08:47:36 PM Johannes Graumann wrote:
> Hi,
> 
> On my swanky new debian wheezy system
> 
> PROMPT> setup-kolab -d 9
> 
> leads to theerror below. python 2.7 seems installed. Pointers? Thank you.
> Joh
> 
> Could not change the ownership of log file /var/log/kolab/pykolab.log
> Could not change the ownership of log file /var/log/kolab/pykolab.log
> Could not change the ownership of log file /var/log/kolab/pykolab.log
> Could not change the ownership of log file /var/log/kolab/pykolab.log
> Traceback (most recent call last):
>   File "/usr/sbin/setup-kolab", line 41, in <module>
>     setup = Setup()
>   File "/usr/lib/python2.7/dist-packages/pykolab/setup/__init__.py", line
> 32, in __init__
>     components.__init__()
>   File "/usr/lib/python2.7/dist-packages/pykolab/setup/components.py", line
> 52, in __init__
>     exec("from %s import __init__ as %s_register" %
> (module_name,component_name))
>   File "<string>", line 1, in <module>
>   File "/usr/lib/python2.7/dist-packages/pykolab/setup/setup_php.py", line
> 20, in <module>
>     from augeas import Augeas
>   File "/usr/lib/python2.7/dist-packages/augeas.py", line 55, in <module>
>     class Augeas(object):
>   File "/usr/lib/python2.7/dist-packages/augeas.py", line 61, in Augeas
>     for _v in ("%d.%d", "%d%d")])
>   File "/usr/lib/python2.7/dist-packages/augeas.py", line 52, in _dlopen
>     raise ImportError("Unable to import lib%s!" % args[0])
> ImportError: Unable to import libpython2.7!
> 
> 

This looks like an issue with Augeas (or the packaging of its python bindings) 
on Debian, more so than it seems to be an issue with pykolab itself.

Does the following work?

$ python
>>> from augeas import Augeas

Kind regards,

Jeroen van Meeuwen

--
Systems Architect

Kolab Systems AG
Zürich, Switzerland

e: vanmeeuwen at kolabsys.com
t: +41 43 501 66 91
m: +44 74 2516 3817
w: http://kolabsys.com

pgp: 0x9342BF08
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.kolab.org/pipermail/devel/attachments/20120916/aa06c2fd/attachment.sig>


More information about the devel mailing list