[Zope] IOError: [Errno 2] No such file or directory:'zope/2-4-0/lib/python/Products/ZMySQLDA/misc_/ZMySQLDA/conn'

Norman Khine khine@btinternet.com
Mon, 23 Jul 2001 22:19:40 +0100


Hello,
I just instaled 2.4.0, and also installed ZMySQLDA which installed without
any problems, then I checked the installation and everything worked great,
until I installed the latest checkout for the CMF, then upon restarting the
zope server I got the following error:

IOError: [Errno 2] No such file or directory:
'/usr/home/dsuk5/zope/2-4-0/lib/python/Products/ZMySQLDA/misc_/ZMySQLDA/conn
'

ZMySQLDA is not shown to be broken, BUT and I can still connect to the
databases I setup prior to my adding of the CMF, BUT when I try to add
additional Databases, I get this traceback:

Site Error
An error was encountered while publishing this resource.

Debugging Notice

Zope has encountered a problem publishing your object.
Cannot locate object at:
http://www.localhost:8080/Tutorials/manage_addProduct/ZMySQLDA/manage_addZMy
SQLConnection

Traceback (innermost last):
  File /usr/home/dsuk5/zope/2-4-0/lib/python/ZPublisher/Publish.py, line
223, in publish_module
  File /usr/home/dsuk5/zope/2-4-0/lib/python/ZPublisher/Publish.py, line
187, in publish
  File /usr/home/dsuk5/zope/2-4-0/lib/python/Zope/__init__.py, line 226, in
zpublisher_exception_hook
  File /usr/home/dsuk5/zope/2-4-0/lib/python/ZPublisher/Publish.py, line
162, in publish
  File /usr/home/dsuk5/zope/2-4-0/lib/python/ZPublisher/BaseRequest.py, line
370, in traverse
  File /usr/home/dsuk5/zope/2-4-0/lib/python/ZPublisher/HTTPResponse.py,
line 557, in debugError
NotFound: (see above)

And this is the traceback I get from the command line upon restarting the
ZServer

2001-07-23T21:06:25 ERROR(200) Zope Couldn't install ZMySQLDA
Traceback (innermost last):
  File /usr/home/dsuk5/zope/2-4-0/lib/python/OFS/Application.py, line 657,
in install_product
    (Object: ApplicationDefaultPermissions)
    (Info: ZMySQLDA)
  File /usr/home/dsuk5/zope/2-4-0/lib/python/Products/ZMySQLDA/__init__.py,
line 105, in initialize
  File /usr/home/dsuk5/zope/2-4-0/lib/python/App/ProductContext.py, line
258, in registerClass
  File /usr/home/dsuk5/zope/2-4-0/lib/python/App/ImageFile.py, line 110, in
__init__
IOError: [Errno 2] No such file or directory:
'/usr/home/dsuk5/zope/2-4-0/lib/python/Products/ZMySQLDA/misc_/ZMySQLDA/conn
'

Any ideas

Many thanks

Norman

zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
zz/********/z/****\zzz|****\*\zz|*******|z
z/^^^^^^^^/z/******\zz|*^^^^|*|z|*|^^^^^|z norman khine
zzzzzz/**/z|**/^^\**|z|*|zzz|*|z|*|zzzzzzz mailto:norman@khine.net
zzzzz/**/zz|*|zzzz|*|z|****/*/zz|*****|zzz purley
z/******/zz|*|zzzz|*|z|*|^^zzzzz|*|^^^|zzz UK
zzZ/**/zzzz|**\^^/**|z|*|zzzzzzz|*|zzzzzzz
zz/******/zz\******/zz|*|zzzzzzz|*|*****|z
z/^^^^^^/zzzz\^^^^/zzz|^|zzzzzzz|^^^^^^^|z
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz