[Bug 697044] Re: calendarserver doesn't start, needs twisted-calendarserver rebuild

Brian Murray brian at ubuntu.com
Thu Sep 8 21:29:22 UTC 2011


I found this in the sponsorship queue today while patch piloting and saw
the open Natty task so I added the patch to Natty and uploaded the fix
to natty-proposed.

** Changed in: twisted-calendarserver (Ubuntu Natty)
       Status: New => In Progress

** Changed in: twisted-calendarserver (Ubuntu Natty)
     Assignee: (unassigned) => Brian Murray (brian-murray)

** Changed in: twisted-calendarserver (Ubuntu Natty)
   Importance: Undecided => Medium

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

Title:
  calendarserver doesn't start, needs twisted-calendarserver rebuild

Status in “twisted-calendarserver” package in Ubuntu:
  Fix Released
Status in “twisted-calendarserver” source package in Natty:
  In Progress

Bug description:
  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:
  apt-get install calendarserver python-twisted-core
  python /usr/lib/twisted-calendarserver/bin/twistd  caldav && echo "success"
  expected output: success
  failure output: 
  ...
  ImportError: No module named web2

  
  ImportError: No module named twisted.scripts.twistd

  TESTCASE2:
  apt-get install calendarserver
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/twisted-calendarserver/+bug/697044/+subscriptions



More information about the Ubuntu-sponsors mailing list