[egenix-users] Problem with mxODBC

M.-A. Lemburg mal at egenix.com
Fri May 19 11:29:29 CEST 2006


Andre Jordaan wrote:
> Hi
> I installed the latest version and got everyting working. Recently I got
> this problem and cannot see what is wrong. The file does exist.
>  
> Traceback (most recent call last):
>   File "D:\ENFOLD~1\Zope\lib\python\OFS\Application.py", line 695, in
> import_product
>     product=__import__(pname, global_dict, global_dict, silly)
>   File "Products\mxODBCZopeDA\__init__.py", line 7, in ?
>   File "Products\mxODBCZopeDA\ZopeDA.py", line 3190, in ?
>   File "D:\ENFOLD~1\Python\lib\site-packages\PIL\ImageFile.py", line 74,
> in __init__
>     self.fp = open(fp, "rb")
> IOError: [Errno 2] No such file or directory:
> 'Shared/DC/ZRDB/www/DBAdapterFolder_icon.gif'

This the icon that's being used for the connection object
in the ZMI.

> We are using:
> Zope Version 
> (Zope 2.8.3-final, python 2.3.5, win32) 
> Python Version 
> 2.3.5 (#62, Feb 8 2005, 16:23:02) [MSC v.1200 32 bit (Intel)] 
> System Platform 
> win32 
> SOFTWARE_HOME 
> D:\Enfold Server\Zope\lib\python 
> ZOPE_HOME 
> D:\Enfold Server\Zope 
> INSTANCE_HOME 
> D:\Enfold Server\Client 
> CLIENT_HOME 
> D:\Enfold Server\Client\var 
>  
>  
>  
> Any ideas?

Your setup looks more or less standard, except for the space
in the base directory. These always cause problems one way
or another.

Could you check whether you actually have the icon file
somewhere under "D:\Enfold Server\" ?!

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, May 19 2006)
>>> Python/Zope Consulting and Support ...        http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________
2006-07-03: EuroPython 2006, CERN, Switzerland              44 days left

::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::



More information about the egenix-users mailing list