PeterNSteinmetz : I was able to build a calendarserver package following
the steps you describe, but I have not been able to get it to start.

1. /etc/caldavd was not created when the package was installed, so I copied 
over the configuration from a running calendarserver on another machine.  
2. '/etc/init.d/calendarstart start' produces the output :
 * Starting calendarserver caldavd
exec python /usr/bin/twistd  caldav 
   ...fail!
3. My running calendarserver (on the other machine) has the following ps output:
... python /usr/bin/twistd caldav
... /usr/bin/python /usr/bin/twistd -u caldavd -g caldavd -n caldav -f 
/etc/caldavd/caldavd.plist -o ProcessType=Slave -o BindAddresses= -o 
PIDFile=None -o ErrorLogFile=None -o MultiProcess/ProcessCount=1 -o 
BindSSLPorts=8443

When I run the second line manually (the /usr/bin/python /usr/bin/twistd 
command), I get the following Python backtrace:
r...@grawp:/etc/courier# /usr/bin/python /usr/bin/twistd -u caldavd -g caldavd 
-n caldav -f /etc/caldavd/caldavd.plist -o ProcessType=Slave -o BindAddresses= 
-o PIDFile=None -o ErrorLogFile=None -o MultiProcess/ProcessCount=1 -o 
BindSSLPorts=8443
Traceback (most recent call last):
  File "/usr/bin/twistd", line 21, in <module>
    run()
  File "/usr/lib/python2.6/dist-packages/twisted/scripts/twistd.py", line 27, 
in run
    app.run(runApp, ServerOptions)
  File "/usr/lib/python2.6/dist-packages/twisted/application/app.py", line 689, 
in run
    config.parseOptions()
  File "/usr/lib/python2.6/dist-packages/twisted/application/app.py", line 669, 
in parseOptions
    usage.Options.parseOptions(self, options)
  File "/usr/lib/python2.6/dist-packages/twisted/python/usage.py", line 226, in 
parseOptions
    for (cmd, short, parser, doc) in self.subCommands:
  File "/usr/lib/python2.6/dist-packages/twisted/application/app.py", line 680, 
in subCommands
    self.loadedPlugins[plug.tapname] = plug
  File "/usr/lib/python2.6/dist-packages/twisted/plugins/caldav.py", line 13, 
in getProperty
    return getattr(reflect.namedClass(self.serviceMakerClass), propname)
  File "/usr/lib/python2.6/dist-packages/twisted/python/reflect.py", line 343, 
in namedObject
    module = namedModule(string.join(classSplit[:-1], '.'))
  File "/usr/lib/python2.6/dist-packages/twisted/python/reflect.py", line 331, 
in namedModule
    topLevel = __import__(name)
  File "/usr/lib/python2.6/dist-packages/calendarserver/sidecar/task.py", line 
24, in <module>
    from calendarserver.provision.root import RootResource
  File "/usr/lib/python2.6/dist-packages/calendarserver/provision/root.py", 
line 25, in <module>
    from twisted.web2 import responsecode
ImportError: No module named web2

I don't have any more time to look into this tonight, but I'll keep
poking at it as I can make time.

-- 
calendarserver has dependency on non-existent python-xml package in karmic
https://bugs.launchpad.net/bugs/403349
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to