[CalendarServer-dev] Migrating from 5.1 to 8.0 --was: Re: Circular reference in 8.0 (cannot import name GroupCacherPollingWork)

Axel Rau Axel.Rau at Chaos1.DE
Mon May 30 13:39:52 PDT 2016


> Am 25.05.2016 um 18:15 schrieb Axel Rau <Axel.Rau at chaos1.de>:
> 
> ImportError: cannot import name checkDirectory
I’m stuck here, so I try to setup a new server with the test configuration.

Server is starting but fails creating the tables:
- - -
2016-05-30T22:33:23+0200 [-] Log opened.
2016-05-30T22:33:23+0200 [-] twistd 15.2.1 (/usr/local/bin/python2.7 2.7.11) starting up.
2016-05-30T22:33:23+0200 [-] reactor class: twisted.internet.kqreactor.KQueueReactor.
2016-05-30T22:33:23+0200 [-] AMPPushNotifierFactory starting on 62311
2016-05-30T22:33:23+0200 [-] ControlSocket starting on '/var/db/caldavd/data/Logs/state/caldavd.sock'
2016-05-30T22:33:23+0200 [twext.enterprise.adbapi2#critical] Re-trying connection due to connection failure

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/twisted/python/context.py", line 81, in callWithContext
    return func(*args,**kw)
  File "/usr/local/lib/python2.7/site-packages/twext/internet/threadutils.py", line 51, in _run
    while self._qpull():
  File "/usr/local/lib/python2.7/site-packages/twext/internet/threadutils.py", line 72, in _qpull
    return True
  File "/usr/local/lib/python2.7/site-packages/twext/internet/threadutils.py", line 85, in _oneWorkUnit
    self._reactor.callFromThread(deferred.callback, result)
--- <exception caught here> ---
  File "/usr/local/lib/python2.7/site-packages/twext/internet/threadutils.py", line 77, in _oneWorkUnit
    result = instruction()
  File "/usr/local/lib/python2.7/site-packages/twext/enterprise/adbapi2.py", line 1284, in initCursor
    txn._connection = self.connectionFactory()
  File "/usr/local/lib/python2.7/site-packages/txdav/base/datastore/dbapiclient.py", line 253, in connect
    self.preflight(w, **self.connectKw)
  File "/usr/local/lib/python2.7/site-packages/txdav/base/datastore/dbapiclient.py", line 430, in pg8000Preflight
    connection.realConnection.py_types[postgres.six.text_type] = (705, postgres.core.FC_TEXT, my_text_out)
exceptions.AttributeError: ‚module' object has no attribute 'six'
- - -
Postgresql show client connection:
- - -
2016-05-30T22:34:04.346966+02:00 build3 postgres[28326]: [3-1] LOG:  connection received: host=[local]
2016-05-30T22:34:04.348914+02:00 build3 postgres[28326]: [4-1] LOG:  connection authorized: user=caldavd database=caldavd
2016-05-30T22:34:04.361283+02:00 build3 postgres[28307]: [5-1] DEBUG:  unexpected EOF on client connection
2016-05-30T22:34:04.362111+02:00 build3 postgres[28310]: [5-1] DEBUG:  unexpected EOF on client connection
- - -

pkg info | grep pg8000
py27-pg8000-1.10.5             Pure-Python Interface to the PostgreSQL Database

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



More information about the calendarserver-dev mailing list