<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix"><br>
      <br>
      Hi Torsten,<br>
      i found a bug in the python-kolab package.<br>
      I rebuild from source and straced wallaced, when adding this to
      the wallace __init.py file:<br>
      <br>
      from kolab import calendaring<br>
      <br>
      So, the package lacks on an init file and i simply did:<br>
      touch /usr/lib/python2.7/dist-packages/kolab/__init__.py<br>
      The dir then get treated containing sub modules, which solved the
      error shown in pykolab.log.<br>
      <br>
      Some questions remain unanswered.<br>
      It would be great to have a topic resource management in the admin
      guide.<br>
      <br>
      <br>
      Rgds.<br>
      <br>
      Franz<br>
      <br>
      <br>
      <br>
      <br>
      Am 18.11.14 um 13:23 schrieb Franz Skale:<br>
    </div>
    <blockquote cite="mid:546B3A42.4010308@dah.am" type="cite">
      <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
      <div class="moz-cite-prefix"><br>
        <br>
        <br>
        Hi,<br>
        the delivery to the shared resource folder now works.<br>
        It would be great, when creating a shared resource, to have a
        default acl of anony lrsp.<br>
        I fixed this by issuing the command via kolab command line:<br>
        <br>
        kolab sam  <a moz-do-not-send="true"
          class="moz-txt-link-abbreviated"
          href="mailto:shared/Resources/Konferenzraum@test.com">shared/Resources/Konferenzraum@test.com</a>
        anyone lrsp<br>
        <br>
        Delivery now works, but the problem of the python bug still
        exists !<br>
        <br>
        <br>
        Rgds.<br>
        <br>
        Franz<br>
        <br>
        <br>
        <br>
        <br>
        Am 17.11.14 um 20:52 schrieb Franz Skale:<br>
      </div>
      <blockquote cite="mid:546A51F4.80200@dah.am" type="cite">
        <meta content="text/html; charset=utf-8"
          http-equiv="Content-Type">
        <div class="moz-cite-prefix"><br>
          <br>
          Hi Torsten,<br>
          thanks for the response, but in my mail i clearly stated, that
          i rebuild libkolab from source resulting in 4 deb packages.<br>
          So, my filelist looks like this after rebuild.<br>
          rw-r--r--  1 root root 318K Nov 16 15:24
          libkolab0_0.6~dev20140624-0~kolab1_amd64.deb<br>
          -rw-r--r--  1 root root  75K Nov 16 15:24
          php-kolab_0.6~dev20140624-0~kolab1_amd64.deb<br>
          -rw-r--r--  1 root root 126K Nov 16 15:24
          python-kolab_0.6~dev20140624-0~kolab1_amd64.deb<br>
          -rw-r--r--  1 root root  12K Nov 16 15:24
          libkolab-dev_0.6~dev20140624-0~kolab1_amd64.deb<br>
          <br>
          Contents of resulting python-kolab package:<br>
          dpkg -L python-kolab<br>
          /.<br>
          /usr<br>
          /usr/lib<br>
          /usr/lib/python2.7<br>
          /usr/lib/python2.7/dist-packages<br>
          /usr/lib/python2.7/dist-packages/kolab<br>
          /usr/lib/python2.7/dist-packages/kolab/_shared.so<br>
          /usr/lib/python2.7/dist-packages/kolab/_calendaring.so<br>
          /usr/lib/python2.7/dist-packages/kolab/_icalendar.so<br>
          /usr/lib/python2.7/dist-packages/kolab/_kolabobject.so<br>
          /usr/lib/pyshared<br>
          /usr/lib/pyshared/python2.7<br>
          /usr/lib/pyshared/python2.7/kolab<br>
          /usr/share<br>
          /usr/share/doc<br>
          /usr/share/doc/python-kolab<br>
          /usr/share/doc/python-kolab/copyright<br>
          /usr/share/doc/python-kolab/changelog.Debian.gz<br>
          /usr/share/pyshared<br>
          /usr/share/pyshared/kolab<br>
          /usr/share/pyshared/kolab/shared.py<br>
          /usr/share/pyshared/kolab/calendaring.py<br>
          /usr/share/pyshared/kolab/icalendar.py<br>
          /usr/share/pyshared/kolab/kolabobject.py<br>
          /usr/lib/python2.7/dist-packages/kolab/kolabobject.py<br>
          /usr/lib/python2.7/dist-packages/kolab/icalendar.py<br>
          /usr/lib/python2.7/dist-packages/kolab/calendaring.py<br>
          /usr/lib/python2.7/dist-packages/kolab/shared.py<br>
          /usr/lib/pyshared/python2.7/kolab/_kolabobject.so<br>
          /usr/lib/pyshared/python2.7/kolab/_icalendar.so<br>
          /usr/lib/pyshared/python2.7/kolab/_calendaring.so<br>
          /usr/lib/pyshared/python2.7/kolab/_shared.so<br>
          <br>
          Even if installed, wallace cannot find the module because of
          missing init, i think.<br>
          Stracing clearly shows, that there's no kolab.so nor other
          libs to find the calendaring.so.<br>
          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.<br>
          <br>
          Problem on File: /usr/share/pyshared/pykolab/xml/event.py<br>
          Line: 275<br>
          <br>
          def _xml_from_ical(self, ical):<br>
                  from kolab.calendaring import EventCal<br>
                  self.event = EventCal()<br>
                  self.event.fromICal("BEGIN:VCALENDAR\nVERSION:2.0\n" +
          ical + "\nEND:VCALENDAR")<br>
          <br>
          Line: 1110<br>
          <br>
          def to_event_cal(self):<br>
                  from kolab.calendaring import EventCal<br>
                  return EventCal(self.event)<br>
          <br>
          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.<br>
          <br>
          Anyone else the same prob ?<br>
          <br>
          <br>
          Rgds.<br>
          <br>
          Franz<br>
          <br>
          <br>
          Am 16.11.14 23:22, schrieb Torsten Grote:<br>
        </div>
        <blockquote cite="mid:5469239A.9010801@kolab.org" type="cite">
          <pre wrap="">On 11/17/2014 07:13 AM, Franz Skale wrote:
</pre>
          <blockquote type="cite">
            <pre wrap="">ImportError('No module named kolab.calendaring',);
</pre>
          </blockquote>
          <pre wrap="">Just a guess: It might be the libkolab package for Debian does not ship
the required python bindings:


<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://github.com/detrout/libkolab/blob/master/debian/python-kolab.install#L4">https://github.com/detrout/libkolab/blob/master/debian/python-kolab.install#L4</a>

Do you have the python-kolab package installed?

If yes, check this package:

    <a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://obs.kolabsys.com/package/show/Kolab:3.3/libkolab">https://obs.kolabsys.com/package/show/Kolab:3.3/libkolab</a>

Kind Regards,
Torsten

</pre>
          <br>
          <fieldset class="mimeAttachmentHeader"></fieldset>
          <br>
          <pre wrap="">_______________________________________________
users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:users@lists.kolab.org">users@lists.kolab.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.kolab.org/mailman/listinfo/users">https://lists.kolab.org/mailman/listinfo/users</a></pre>
        </blockquote>
        <br>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:users@lists.kolab.org">users@lists.kolab.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.kolab.org/mailman/listinfo/users">https://lists.kolab.org/mailman/listinfo/users</a></pre>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.kolab.org">users@lists.kolab.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kolab.org/mailman/listinfo/users">https://lists.kolab.org/mailman/listinfo/users</a></pre>
    </blockquote>
    <br>
  </body>
</html>