Hi,

as far as i could examine, this behaviour occurs when calling

     exec python /usr/lib/twisted-calendarserver/bin/twistd  caldav

But in /usr/lib/twisted-calendarserver/lib/python2.7 is no web2-module.

(~$python --version 
  >Python 2.7.1+)

hope these information are helpfull when solving the problem.

.....................................................................................................................
Here are my actions and what i discovered:

Starting from command-line:

      ~$ /etc/init.d/calendarserver start

@line 44 (of file  /etc/init.d/calendarserver) the following command is
called

     /usr/bin/caldavd

-------------------
There, a "for-loop" is executed over python versions

     "" "2.6" "2.5"

This causes eventually the invokation of

      exec python /usr/lib/twisted-calendarserver/bin/twistd  caldav
-------------------

There, in /usr/lib/twisted-calendarserver/bin/twistd, i wrapped a try-
catch statement around the last two lines

      from twisted.scripts.twistd import run
      run()

-------------------
This exception-handling brings up the following exception:

Handling run-time error: No module named web2

Filename = /usr/lib/twisted-calendarserver/bin/twistd / Error Line # = 28
Filename = /usr/lib/python2.7/dist-packages/twisted/scripts/twistd.py / Error 
Line # = 27
Filename = /usr/lib/python2.7/dist-packages/twisted/application/app.py / Error 
Line # = 626
Filename = /usr/lib/python2.7/dist-packages/twisted/application/app.py / Error 
Line # = 606
Filename = /usr/lib/python2.7/dist-packages/twisted/python/usage.py / Error 
Line # = 226
Filename = /usr/lib/python2.7/dist-packages/twisted/application/app.py / Error 
Line # = 617
Filename = 
/usr/lib/twisted-calendarserver/lib/python2.7/site-packages/twisted/plugins/caldav.py
 / Error Line # = 13
Filename = /usr/lib/python2.7/dist-packages/twisted/python/reflect.py / Error 
Line # = 351
Filename = /usr/lib/python2.7/dist-packages/twisted/python/reflect.py / Error 
Line # = 339
Filename = 
/usr/lib/twisted-calendarserver/lib/python2.7/site-packages/calendarserver/sidecar/task.py
 / Error Line # = 24
Filename = 
/usr/lib/twisted-calendarserver/lib/python2.7/site-packages/calendarserver/provision/root.py
 / Error Line # = 25



.................................................................
.................................................................

platform: x86_64 
release: 11.04 
kernel: 2.6.38-8-generic
calendarserver: 2.4.dfsg-6

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/697044

Title:
  Natty: calendarserver doesn't start

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to