[CalendarServer-dev] 9.0 got an unexpected keyword argument 'dialect' in subServiceFactory

Axel Rau Axel.Rau at Chaos1.DE
Sat Nov 19 13:55:43 PST 2016


While trying to upgrade my FreeBSD port of calendarserver to 9.0, I get

Reading configuration from file: /usr/local/etc/caldavd/caldavd.plist
Traceback (most recent call last):
  File "/usr/local/bin/twistd", line 11, in <module>
    load_entry_point('Twisted==16.4.1', 'console_scripts', 'twistd')()
  File "/usr/local/lib/python2.7/site-packages/twisted/scripts/twistd.py", line 29, in run
    app.run(runApp, ServerOptions)
  File "/usr/local/lib/python2.7/site-packages/twisted/application/app.py", line 648, in run
    runApp(config)
  File "/usr/local/lib/python2.7/site-packages/twisted/scripts/twistd.py", line 25, in runApp
    _SomeApplicationRunner(config).run()
  File "/usr/local/lib/python2.7/site-packages/twisted/application/app.py", line 379, in run
    self.application = self.createOrGetApplication()
  File "/usr/local/lib/python2.7/site-packages/twisted/application/app.py", line 439, in createOrGetApplication
    ser = plg.makeService(self.config.subOptions)
  File "/usr/local/lib/python2.7/site-packages/twisted/plugins/caldav.py", line 50, in makeService
    return self._serviceMaker.makeService(options)
  File "/usr/local/lib/python2.7/site-packages/calendarserver/tap/caldav.py", line 844, in makeService
    service = serviceMethod(options)
  File "/usr/local/lib/python2.7/site-packages/calendarserver/tap/caldav.py", line 1995, in makeService_Combined
    spawnerSvcCreator, None, uid, gid
  File "/usr/local/lib/python2.7/site-packages/calendarserver/tap/caldav.py", line 1690, in storageService
    DBAPIConnector.connectorFor(config.DBType, **config.DatabaseConnection).connect, None
  File "/usr/local/lib/python2.7/site-packages/calendarserver/tap/caldav.py", line 1584, in subServiceFactory
    maxConnections=config.MaxDBConnectionsPerPool
TypeError: __init__() got an unexpected keyword argument ‚dialect'

Can I remove that argument safely?

Axel
---
PGP-Key:29E99DD6  ☀  computing @ chaos claudius



More information about the calendarserver-dev mailing list