Resourcesinvitation not working in 3.3 ! (pypthon solved, but)

Franz Skale i.bin at dah.am
Tue Nov 18 17:39:34 CET 2014



Hi Torsten,
i found a bug in the python-kolab package.
I rebuild from source and straced wallaced, when adding this to the
wallace __init.py file:

from kolab import calendaring

So, the package lacks on an init file and i simply did:
touch /usr/lib/python2.7/dist-packages/kolab/__init__.py
The dir then get treated containing sub modules, which solved the error
shown in pykolab.log.

Some questions remain unanswered.
It would be great to have a topic resource management in the admin guide.


Rgds.

Franz




Am 18.11.14 um 13:23 schrieb Franz Skale:
>
>
>
> Hi,
> the delivery to the shared resource folder now works.
> It would be great, when creating a shared resource, to have a default
> acl of anony lrsp.
> I fixed this by issuing the command via kolab command line:
>
> kolab sam  shared/Resources/Konferenzraum at test.com anyone lrsp
>
> Delivery now works, but the problem of the python bug still exists !
>
>
> Rgds.
>
> Franz
>
>
>
>
> Am 17.11.14 um 20:52 schrieb Franz Skale:
>>
>>
>> Hi Torsten,
>> thanks for the response, but in my mail i clearly stated, that i
>> rebuild libkolab from source resulting in 4 deb packages.
>> So, my filelist looks like this after rebuild.
>> rw-r--r--  1 root root 318K Nov 16 15:24
>> libkolab0_0.6~dev20140624-0~kolab1_amd64.deb
>> -rw-r--r--  1 root root  75K Nov 16 15:24
>> php-kolab_0.6~dev20140624-0~kolab1_amd64.deb
>> -rw-r--r--  1 root root 126K Nov 16 15:24
>> python-kolab_0.6~dev20140624-0~kolab1_amd64.deb
>> -rw-r--r--  1 root root  12K Nov 16 15:24
>> libkolab-dev_0.6~dev20140624-0~kolab1_amd64.deb
>>
>> Contents of resulting python-kolab package:
>> dpkg -L python-kolab
>> /.
>> /usr
>> /usr/lib
>> /usr/lib/python2.7
>> /usr/lib/python2.7/dist-packages
>> /usr/lib/python2.7/dist-packages/kolab
>> /usr/lib/python2.7/dist-packages/kolab/_shared.so
>> /usr/lib/python2.7/dist-packages/kolab/_calendaring.so
>> /usr/lib/python2.7/dist-packages/kolab/_icalendar.so
>> /usr/lib/python2.7/dist-packages/kolab/_kolabobject.so
>> /usr/lib/pyshared
>> /usr/lib/pyshared/python2.7
>> /usr/lib/pyshared/python2.7/kolab
>> /usr/share
>> /usr/share/doc
>> /usr/share/doc/python-kolab
>> /usr/share/doc/python-kolab/copyright
>> /usr/share/doc/python-kolab/changelog.Debian.gz
>> /usr/share/pyshared
>> /usr/share/pyshared/kolab
>> /usr/share/pyshared/kolab/shared.py
>> /usr/share/pyshared/kolab/calendaring.py
>> /usr/share/pyshared/kolab/icalendar.py
>> /usr/share/pyshared/kolab/kolabobject.py
>> /usr/lib/python2.7/dist-packages/kolab/kolabobject.py
>> /usr/lib/python2.7/dist-packages/kolab/icalendar.py
>> /usr/lib/python2.7/dist-packages/kolab/calendaring.py
>> /usr/lib/python2.7/dist-packages/kolab/shared.py
>> /usr/lib/pyshared/python2.7/kolab/_kolabobject.so
>> /usr/lib/pyshared/python2.7/kolab/_icalendar.so
>> /usr/lib/pyshared/python2.7/kolab/_calendaring.so
>> /usr/lib/pyshared/python2.7/kolab/_shared.so
>>
>> Even if installed, wallace cannot find the module because of missing
>> init, i think.
>> Stracing clearly shows, that there's no kolab.so nor other libs to
>> find the calendaring.so.
>> I'm not the python guru, but i think there has to be an import
>> statement with the right path, or something else, in wallace init.
>>
>> Problem on File: /usr/share/pyshared/pykolab/xml/event.py
>> Line: 275
>>
>> def _xml_from_ical(self, ical):
>>         from kolab.calendaring import EventCal
>>         self.event = EventCal()
>>         self.event.fromICal("BEGIN:VCALENDAR\nVERSION:2.0\n" + ical +
>> "\nEND:VCALENDAR")
>>
>> Line: 1110
>>
>> def to_event_cal(self):
>>         from kolab.calendaring import EventCal
>>         return EventCal(self.event)
>>
>> Also please tell me, why the shared folder delivery doesn't work, but
>> freebusy is able to access the shared folder with no problems at all.
>>
>> Anyone else the same prob ?
>>
>>
>> Rgds.
>>
>> Franz
>>
>>
>> Am 16.11.14 23:22, schrieb Torsten Grote:
>>> On 11/17/2014 07:13 AM, Franz Skale wrote:
>>>> ImportError('No module named kolab.calendaring',);
>>> Just a guess: It might be the libkolab package for Debian does not ship
>>> the required python bindings:
>>>
>>>
>>> https://github.com/detrout/libkolab/blob/master/debian/python-kolab.install#L4
>>>
>>> Do you have the python-kolab package installed?
>>>
>>> If yes, check this package:
>>>
>>>     https://obs.kolabsys.com/package/show/Kolab:3.3/libkolab
>>>
>>> Kind Regards,
>>> Torsten
>>>
>>>
>>>
>>> _______________________________________________
>>> users mailing list
>>> users at lists.kolab.org
>>> https://lists.kolab.org/mailman/listinfo/users
>>
>>
>>
>> _______________________________________________
>> users mailing list
>> users at lists.kolab.org
>> https://lists.kolab.org/mailman/listinfo/users
>
>
>
> _______________________________________________
> users mailing list
> users at lists.kolab.org
> https://lists.kolab.org/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolab.org/pipermail/users/attachments/20141118/556a152a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4254 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.kolab.org/pipermail/users/attachments/20141118/556a152a/attachment-0001.p7s>


More information about the users mailing list