[Zope] questions about migrating forwards
lists at zopyx.com
Wed Mar 10 22:43:08 EST 2010
-----BEGIN PGP SIGNED MESSAGE-----
Andrew Watkins wrote:
> My next step is to get the Products list that we were using
> running. Here I have run into two problems
> 1. ExternalFile
> This fails to load with the error 'ImportError: No module named
> Interface' (stack trace below)
> I tested this with zope 2.11.4 and it works ok.
Likely incompatible. Zope 2.12 no longer supports old Zope 2-style
interfaces - only zope.interface is supported - ExternalFile needs to be
replaced with something else...or you application must be adjusted or
> 2. ZMySQLDA
> This fails with the message 'ImportError: No module named _mysql'
> again this works ok on zope 2.11.4
Not a Zope problem. Likely your mysql-python installation in not working
correctly. The problem happens on the Python import level and has nothing
to do with Zope directly...perhaps file permission issue or a messed up
PYTHONPATH or sys.path or something like that. By using virtualenv,
to make sure that your third-party modules are installed within the
environment. This is *purpose* of virtualenv: isolated environments.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 316 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20100311/9a4b2ded/attachment.vcf
More information about the Zope