-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Using the ZCA within Pyramid is a bit special. See
http://docs.pylonsproject.org/projects/pyramid/en/1.0-branch/narr/zca.html
The short story is that Pyramid has per-app registries and that global
ZCA calls are somewhat incompatible. However, Kotti itself calls
`config.hook_zca()` (which is described in the link above). It is
*after* that call that you should be able to use the ZCA global API,
i.e. your code, just fine.
Concretely, try moving your adapter registration into the `includeme`
function. So that your code is executed after Kotti's call to
`config.hook_zca()`.
You may also want to consider "Disusing the Global ZCA API" as
described in the link above.
Daniel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iEYEARECAAYFAlGEAkgACgkQi2kx5isbD8zV+gCfQiAE2Ezd0Ta8y9Fa/zTc0zKR
npYAn0hIREvNwsfTemlsgjfGromLXYGc
=KfC3
-----END PGP SIGNATURE-----