calendarserver missing dependency on twisted-web

Bug #297053 reported by David Leonard on 2008-11-12
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
calendarserver (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: calendarserver

# apt-get install calendarserver
(configure, start)
# caladmin users
Traceback (most recent call last):
  File "/usr/bin/caladmin", line 29, in <module>
    run()
  File "/usr/lib/python2.5/site-packages/twistedcaldav/admin/script.py", line 108, in run
    adminOptions.parseOptions(sys.argv[1:])
  File "/usr/lib/python2.5/site-packages/twistedcaldav/admin/script.py", line 73, in parseOptions
    usage.Options.parseOptions(self, opts)
  File "/usr/lib/python2.5/site-packages/twisted/python/usage.py", line 241, in parseOptions
    self.postOptions()
  File "/usr/lib/python2.5/site-packages/twistedcaldav/admin/script.py", line 96, in postOptions
    self.parseOptions(self.params)
  File "/usr/lib/python2.5/site-packages/twistedcaldav/admin/script.py", line 73, in parseOptions
    usage.Options.parseOptions(self, opts)
  File "/usr/lib/python2.5/site-packages/twisted/python/usage.py", line 231, in parseOptions
    self.subOptions.parseOptions(rest)
  File "/usr/lib/python2.5/site-packages/twisted/python/usage.py", line 241, in parseOptions
    self.postOptions()
  File "/usr/lib/python2.5/site-packages/twistedcaldav/admin/options.py", line 164, in postOptions
    report = reflect.namedAny(self.action)(self, self.name).run()
  File "/usr/lib/python2.5/site-packages/twisted/python/reflect.py", line 426, in namedAny
    topLevelPackage = _importAndCheckStack(trialname)
  File "/usr/lib/python2.5/site-packages/twistedcaldav/admin/principals.py", line 26, in <module>
    from twistedcaldav.admin import util
  File "/usr/lib/python2.5/site-packages/twistedcaldav/admin/util.py", line 25, in <module>
    from twisted.web import microdom
ImportError: No module named web

The workaround was to install the package python-twisted-web.

Missing dependency?

calendarserver:
  Installed: 1.2.dfsg-6
  Candidate: 1.2.dfsg-6
  Version table:
 *** 1.2.dfsg-6 0
        500 http://us.archive.ubuntu.com intrepid/universe Packages
        100 /var/lib/dpkg/status

Mikael Ståldal (mikaelstaldal) wrote :

You need to install python-twisted-web2 as well.

But it still doesn't work, I get this error:
ImportError: No module named dav

And I don't know which package to install to get that one.

Changed in calendarserver (Ubuntu):
status: New → Confirmed
indium (indium) wrote :

same for me: ImportError: No module named dav

does anybody have an idea where to look?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers