Enabled Natty-proposed and then installed CalendarServer.

Started CalendarServer successfully and then was able to access the
server admin interface via Firefox.

As far as I'm concerned, the problem is solved.

** Description changed:

  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@ja-desktop:~$ sudo /etc/init.d/calendarserver start
-  * Starting calendarserver caldavd                                            
  exec python /usr/lib/twisted-calendarserver/bin/twistd  caldav 
-                                                                          
[fail]
+  * 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: 
+ 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
+   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
+  LANGUAGE=en_NZ:en
+  LANG=en_NZ.UTF-8
+  LC_MESSAGES=en_NZ.utf8
+  SHELL=/bin/bash
  SourcePackage: calendarserver

-- 
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:
  calendarserver doesn't start, needs twisted-calendarserver rebuild

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

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

Reply via email to