[CalendarServer-dev] 9.0 got an unexpected keyword argument 'dialect' in subServiceFactory
Andre LaBranche
dre at apple.com
Mon Nov 21 16:10:12 PST 2016
Hi,
> On Nov 19, 2016, at 1:55 PM, Axel Rau <Axel.Rau at Chaos1.DE> wrote:
>
> ...
> maxConnections=config.MaxDBConnectionsPerPool
> TypeError: __init__() got an unexpected keyword argument ‚dialect'
>
> Can I remove that argument safely?
"dialect" is (was) used to select either Postgres or Oracle. I'd say the problem is either: 1) your config needs to be updated, or 2) you have mismatched versions of subcomponents with respect to CalendarServer (like maybe twisted extensions).
In particular, this change set seems relevant: https://github.com/apple/ccs-twistedextensions/commit/0d442984f49a7966e7fdda862ba6850a91e6e79b
Here's a plist representation of the possible server settings: https://github.com/apple/ccs-calendarserver/blob/master/conf/caldavd-stdconfig.plist
I think the comment for DBType should reference DatabaseConnection, not DSN...
-dre
>
> Axel
> ---
> PGP-Key:29E99DD6 ☀ computing @ chaos claudius
>
> _______________________________________________
> calendarserver-dev mailing list
> calendarserver-dev at lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/calendarserver-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-dev/attachments/20161121/f72f082a/attachment.html>
More information about the calendarserver-dev
mailing list