[CalendarServer-dev] [RESOLVED] 9.0 got an unexpected keyword argument 'dialect' in subServiceFactory
Axel Rau
Axel.Rau at Chaos1.DE
Wed Nov 23 02:19:41 PST 2016
Hi Andre,
thanks for your detailed answer.
> Am 22.11.2016 um 01:10 schrieb Andre LaBranche <dre at apple.com>:
>
> Hi,
>
> On Nov 19, 2016, at 1:55 PM, Axel Rau <Axel.Rau at Chaos1.DE <mailto: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 <https://github.com/apple/ccs-twistedextensions/commit/0d442984f49a7966e7fdda862ba6850a91e6e79b>Using a8528bc which is mentioned in requirements-cs.txt’ fixes the issue. (-;
>
> Here's a plist representation of the possible server settings: https://github.com/apple/ccs-calendarserver/blob/master/conf/caldavd-stdconfig.plist <https://github.com/apple/ccs-calendarserver/blob/master/conf/caldavd-stdconfig.plist>
>
> I think the comment for DBType should reference DatabaseConnection, not DSN...
>
Axel
—
PGP-Key:29E99DD6 ☀ computing @ chaos claudius
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-dev/attachments/20161123/880554c6/attachment.html>
More information about the calendarserver-dev
mailing list