[Bug 697044] Re: Natty: calendarserver doesn't start
Julian Taylor
697044 at bugs.launchpad.net
Tue Aug 9 10:14:24 UTC 2011
an rebuild of twisted-calendarserver so it picks up python2.7 should
suffice to solve both bugs
** Summary changed:
- Natty: calendarserver doesn't start
+ calendarserver doesn't start, needs twisted-calendarserver
** Description changed:
- Binary package hint: calendarserver
-
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.
- 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
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
** Tags added: oneiric
** 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 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
** Summary changed:
- calendarserver doesn't start, needs twisted-calendarserver
+ calendarserver doesn't start, needs twisted-calendarserver rebuild
** 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 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 /usr/lib/twisted-calendarserver/bin/twistd caldav && echo "success"
expected output: success
- failure output: nothing
+ failure output:
+ Traceback (most recent call last):
+ File "/usr/lib/twisted-calendarserver/bin/twistd", line 20, in <module>
+ from twisted.scripts.twistd import run
+ 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
** 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 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
+ apt-get install calendarserver python-twisted-core
python /usr/lib/twisted-calendarserver/bin/twistd caldav && echo "success"
expected output: success
failure output:
- Traceback (most recent call last):
- File "/usr/lib/twisted-calendarserver/bin/twistd", line 20, in <module>
- from twisted.scripts.twistd import run
+ ...
+ 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
--
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 “calendarserver” package in Ubuntu:
Confirmed
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/calendarserver/+bug/697044/+subscriptions
More information about the Ubuntu-sponsors
mailing list