I have running Zope 2 application using SQLAlchemy 0.3.11/z3c.sqlalchemy 1.0.11 and needs to be migrated to SA 0.4/z3c.sqlalchemy 1.1. For the migration period I installed all four versions as multi-version eggs.

For debugging purposes, my lib/python/Zope2/Startup/zopectl.py

import pkg_resources
import sqlalchemy
print sqlalchemy.__version__
import z3c.sqlalchemy
from z3c.sqlalchemy.interfaces import ISQLAlchemyWrapper

This works nicely. The correct modules are imported properly.

Later during the startup phase while initializing a product called "MedienDB" the related code is doing the following import:

from z3c.sqlalchemy.interfaces import ISQLAlchemyWrapper

This import fails with

portError: 'No module named sqlalchemy.interfaces'
-> from z3c.sqlalchemy.interfaces import ISQLAlchemyWrapper

although the same import worked much earlier?

Any ideas? As said: this issue only occurs with multi-version eggs.


ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376
Registergericht: Amtsgericht Stuttgart, Handelsregister A 381535
Geschäftsführer/Gesellschafter: ZOPYX Limited, Birmingham, UK
E-Publishing, Python, Zope & Plone development, Consulting

Attachment: pgp8Ghs94qHf3.pgp
Description: PGP signature

Zope-Dev maillist  -  Zope-Dev@zope.org
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to