After upgrade to 17.04 caldavd doesn't start

Bug #1708080 reported by Andreas Moran
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calendarserver (Ubuntu)
New
Undecided
Unassigned

Bug Description

Traceback (most recent call last):
  File "/usr/bin/twistd", line 11, in <module>
    load_entry_point('Twisted==16.6.0', 'console_scripts', 'twistd')()
  File "/usr/lib/python2.7/dist-packages/twisted/scripts/twistd.py", line 29, in run
    app.run(runApp, ServerOptions)
  File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 643, in run
    config.parseOptions()
  File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 610, in parseOptions
    usage.Options.parseOptions(self, options)
  File "/usr/lib/python2.7/dist-packages/twisted/python/usage.py", line 262, in parseOptions
    for (cmd, short, parser, doc) in self.subCommands:
  File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 627, in subCommands
    for plug in sorted(plugins, key=attrgetter('tapname')):
  File "/usr/lib/python2.7/dist-packages/twisted/plugins/caldav.py", line 29, in getProperty
    return getattr(reflect.namedClass(self.serviceMakerClass), propname)
  File "/usr/lib/python2.7/dist-packages/twisted/python/reflect.py", line 165, in namedObject
    module = namedModule('.'.join(classSplit[:-1]))
  File "/usr/lib/python2.7/dist-packages/twisted/python/reflect.py", line 151, in namedModule
    topLevel = __import__(name)
  File "/usr/lib/python2.7/dist-packages/txdav/dps/server.py", line 21, in <module>
    from calendarserver.tap.util import getDBPool, storeFromConfigWithDPSServer
  File "/usr/lib/python2.7/dist-packages/calendarserver/tap/util.py", line 33, in <module>
    from calendarserver.provision.root import RootResource
  File "/usr/lib/python2.7/dist-packages/calendarserver/provision/root.py", line 37, in <module>
    from twistedcaldav.directory.principal import DirectoryPrincipalResource
  File "/usr/lib/python2.7/dist-packages/twistedcaldav/directory/principal.py", line 56, in <module>
    from twistedcaldav.resource import CalendarPrincipalCollectionResource, CalendarPrincipalResource
  File "/usr/lib/python2.7/dist-packages/twistedcaldav/resource.py", line 32, in <module>
    from calendarserver.push.notifier import getPubSubAPSConfiguration
  File "/usr/lib/python2.7/dist-packages/calendarserver/push/notifier.py", line 30, in <module>
    from txdav.common.datastore.sql_tables import schema
  File "/usr/lib/python2.7/dist-packages/txdav/common/datastore/sql_tables.py", line 76, in <module>
    schema = _populateSchema()
  File "/usr/lib/python2.7/dist-packages/txdav/common/datastore/sql_tables.py", line 62, in _populateSchema
    return SchemaSyntax(schemaFromPath(pathObj))
  File "/usr/lib/python2.7/dist-packages/twext/enterprise/dal/parseschema.py", line 105, in schemaFromPath
    addSQLToSchema(schema, schemaData)
  File "/usr/lib/python2.7/dist-packages/twext/enterprise/dal/parseschema.py", line 142, in addSQLToSchema
    while stmt.tokens and not significant(stmt.tokens[0]):
  File "/usr/lib/python2.7/dist-packages/twext/enterprise/dal/parseschema.py", line 734, in significant
    return (not isinstance(token, Comment) and not token.is_whitespace())
TypeError: 'bool' object is not callable

The problem appears to be the same as https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848361

lsb_release -rd
Description: Ubuntu 17.04
Release: 17.04

apt-cache policy calendarserver
calendarserver:
  Installed: 7.0+dfsg-2
  Candidate: 7.0+dfsg-2
  Version table:
 *** 7.0+dfsg-2 500
        500 http://us.archive.ubuntu.com/ubuntu zesty/universe amd64 Packages
        100 /var/lib/dpkg/status

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.