[Zope] questions about migrating forwards

Andreas Jung lists at zopyx.com
Wed Mar 10 22:43:08 EST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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
migrated...

>
> 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,
you have
to make sure that your third-party modules are installed within the
virtualenv
environment. This is *purpose* of virtualenv: isolated environments.

- -aj
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuYZssACgkQCJIWIbr9KYwcRgCgoRuHvKyXehi1yzcxUDVzc1CR
6kIAn1qVFBh7SyBO7OI4w6sNlNy5cEWl
=9cF4
-----END PGP SIGNATURE-----

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 316 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20100311/9a4b2ded/attachment.vcf 


More information about the Zope mailing list