[egenix-users] Help! Zope adapter stoped working after update

robert robert at redcor.ch
Wed Feb 2 08:51:44 CET 2005


Starting Zope with runzope I get the following:
ope at izar:~> instances/fha1.5/bin/runzope
*** Problem importing the eGenix mx Extensions:

Please make sure that you have downloaded and installed
the right eGenix mxODBC Zope DA version for your version
of Zope. Zope comes with its own built-in Python interpreter
and binaries for different versions of the interpreter are
mutually incompatible.

Your Zope installation is using: Python 2.3.4 (#1, Jul  9 2004, 22:18:51)
[GCC 3.3.3 (SuSE Linux)]

the version I unpacked is:
egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip

Robert

robert wrote:

> Some more info:
> What I did is:
> I did install mx_commercial
> I did copy the lib directory that came with the distribution to my 
> Zope installation.
>
> Robert
>
> robert wrote:
>
>> Hi there,
>> after updating to the newest version of the mxODBC adapter
>> the Zope egenix-Objects show as broken.
>> Trying to do a refresh of *mxODBCZopeDA 
>> <http://localhost:8280/Control_Panel/Products/mxODBCZopeDA/manage_workspace> 
>> *I get the following error:
>>
>> Thanks for any help, (the users are screaming)
>>
>> Robert
>>
>> *An exception occurred during the last refresh.*
>> Exception type: *AttributeError*
>> Exception value: *'module' object has no attribute '__version__'*
>>
>> Traceback (most recent call last):
>>  File "/home/zope/Zope-2.7.3-0/lib/python/App/RefreshFuncs.py", line 
>> 182, in performSafeRefresh
>>    if not performRefresh(jar, productid):
>>  File "/home/zope/Zope-2.7.3-0/lib/python/App/RefreshFuncs.py", line 
>> 169, in performRefresh
>>    Application.reimport_product(productid)
>>  File "/home/zope/Zope-2.7.3-0/lib/python/OFS/Application.py", line 
>> 863, in reimport_product
>>    raise_exc=1, log_exc=0)
>>  File "/home/zope/Zope-2.7.3-0/lib/python/OFS/Application.py", line 
>> 660, in import_product
>>    product=__import__(pname, global_dict, global_dict, silly)
>>  File "Products/mxODBCZopeDA/__init__.py", line 7, in ?
>>    # Version 2.0 (ZPL).  A copy of the ZPL should accompany this 
>> distribution.
>>  File "Products/mxODBCZopeDA/ZopeDA.py", line 463, in ?
>> AttributeError: 'module' object has no attribute '__version__'
>>
>>
>>
>>
>> _______________________________________________________________________
>> eGenix.com User Mailing List                     http://www.egenix.com/
>> http://lists.egenix.com/mailman/listinfo/egenix-users
>>
>
>



More information about the egenix-users mailing list