[Bug 697044] [NEW] calendarserver doesn't start, needs twisted-calendarserver

Launchpad Bug Tracker 697044 at bugs.launchpad.net
Tue Aug 9 10:22:34 UTC 2011


You have been subscribed to a public bug by Julian Taylor (jtaylor):

Calendarserver refuses to start from /etc/init.d/calendarserver

The file /etc/default/calendarserver file has been edited to remove the
comment sign. This works in earlier distros.

I can't find any logs or error messages other than:

ja at ja-desktop:~$ sudo /etc/init.d/calendarserver start
 * Starting calendarserver caldavd                                              exec python /usr/lib/twisted-calendarserver/bin/twistd  caldav 
                                                                         [fail]

The behaviour occurs when I try to start it manually, or on boot-up.

also
calendarserver_export fails to start with:
ImportError: No module named twisted.web2.static

the problem is that the embeded web2 is only installed for python2.6
twisted-calendarserver needs to be rebuilt to pick up python2.7

TESTCASE:
python /usr/lib/twisted-calendarserver/bin/twistd  caldav && echo "success"
expected output: success
failure output: nothing

TESTCASE2:
calendarserver_export
expected output:
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//CALENDARSERVER.ORG//NONSGML Version 1//EN
END:VCALENDAR

failure output:
Traceback (most recent call last):
  File "/usr/bin/calendarserver_export", line 38, in <module>
    from calendarserver.tools.export import main
  File "/usr/lib/twisted-calendarserver/lib/python2.7/site-packages/calendarserver/tools/export.py", line 39, in <module>
    from twistedcaldav.config import ConfigurationError
  File "/usr/lib/twisted-calendarserver/lib/python2.7/site-packages/twistedcaldav/__init__.py", line 36, in <module>
    from twisted.web2.static import File, loadMimeTypes
ImportError: No module named twisted.web2.static


ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: calendarserver 2.4.dfsg-3
ProcVersionSignature: Ubuntu 2.6.37-11.25-generic 2.6.37-rc7
Uname: Linux 2.6.37-11-generic i686
Architecture: i386
Date: Tue Jan  4 13:51:11 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20101221.1)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_NZ:en
 LANG=en_NZ.UTF-8
 LC_MESSAGES=en_NZ.utf8
 SHELL=/bin/bash
SourcePackage: calendarserver

** Affects: calendarserver (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: apport-bug i386 natty oneiric python27 regression-release
-- 
calendarserver doesn't start, needs twisted-calendarserver
https://bugs.launchpad.net/bugs/697044
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.




More information about the Ubuntu-sponsors mailing list