In the event.log file, I can not locate  the file " _mysql.py ".
 File "build/bdist.linux-i686/egg/_mysql.py", line 7, in ?
 File "build/bdist.linux-i686/egg/_mysql.py", line 4, in __bootstrap__
I remember python-eggs was installed automatically when I install
MySQL-python , is there a way to check that?
Thanks,

On 3/8/07, jaly youth <[EMAIL PROTECTED]> wrote:
I already change the permission.
8 drwxrwxrwx   4 zope zope  4096 Mar  7 22:13 .python-eggs

The result is the same. I completely lost?

Thanks,
-J

On 3/8/07, Maciej Wisniowski <[EMAIL PROTECTED]> wrote:
> Send your emails also to the zope list, please.
>
> There were questions about this recently (not sure if it was here
> or on Zope3s list.
>
> Message says that you have to set proper permissions to the .pyton-eggs
> folder, so just do it (give write access to everybody or something like
> that).
>
> --
> Maciej Wisniowski
>
> > Hi,
> >
> > The contorl panel showed as following:
> >  Zope Version
> > (Zope 2.9.6-final, python 2.4.4, linux2)
> > Python Version
> > 2.4.4 (#1, Mar 5 2007, 20:29:49) [GCC 3.4.6 20060404 (Red Hat 3.4.6-3)]
> > System Platform
> > linux2
> > SOFTWARE_HOME
> > /opt/Plone-2.5.2/lib/python
> > ZOPE_HOME
> > /opt/Plone-2.5.2
> > INSTANCE_HOME
> > /opt/Plone-2.5.2/zeocluster/client1
> > CLIENT_HOME
> > /opt/Plone-2.5.2/zeocluster/client1/var
> > Network Services
> > ZServer.HTTPServer.zhttp_server (Port: 8080)
> >
> > Process Id
> > 4060 (-1277957200)
> > Running For
> > 14 hours 44 min 36 sec
> >
> >
> > Path of my installed ZMySQLDA is:
> >
> > client1]# ls -las /opt/Plone-2.5.2/zeocluster/client1/Products/ZMySQLDA
> > total 196
> > 8 drwxr-xr-x   4 plone wheel  4096 Mar  7 22:28 .
> > 8 drwxrwxr-x  50 plone root   4096 Mar  7 15:01 ..
> > 8 -rw-r--r--   1 plone wheel   397 Mar  7 15:01 browse.dtml
> > 8 -rw-r--r--   1 plone wheel  1756 Mar  7 15:01 CHANGES.txt
> > 8 -rw-r--r--   1 plone wheel  2451 Mar  7 15:01 connectionAdd.dtml
> > 8 -rw-r--r--   1 plone wheel  1310 Mar  7 15:01 connectionEdit.dtml
> > 16 -rwxr-xr-x   1 plone wheel  8804 Mar  7 15:01 DABase.py
> > 12 -rw-r--r--   1 root  root   6643 Mar  7 22:28 DABase.pyc
> > 12 -rw-r--r--   1 plone wheel  6090 Mar  7 15:01 DA.py
> > 8 -rw-r--r--   1 plone plone  3169 Mar  7 15:03 DA.pyc
> > 16 -rw-r--r--   1 plone wheel 11946 Mar  7 15:01 db.py
> > 16 -rw-r--r--   1 plone plone  8640 Mar  7 15:03 db.pyc
> > 8 -rw-r--r--   1 plone wheel    45 Mar  7 15:01 DEPENDENCIES.txt
> > 8 drwxr-xr-x   2 plone wheel  4096 Mar  7 15:01 help
> > 8 drwxr-xr-x   2 plone wheel  4096 Mar  7 15:01 icons
> > 12 -rw-r--r--   1 plone wheel  4351 Mar  7 15:01 __init__.py
> > 8 -rw-r--r--   1 plone plone   906 Mar  7 15:03 __init__.pyc
> > 8 -rw-r--r--   1 plone wheel  1220 Mar  7 15:01 README.txt
> > 8 -rw-r--r--   1 plone wheel   202 Mar  7 15:01 table_info.dtml
> > 8 -rw-r--r--   1 plone wheel    15 Mar  7 15:01 VERSION.txt
> > [EMAIL PROTECTED] client1]#
> >
> >
> > The event.log has an erro :
> >
> > 2007-03-08T13:40:57 ERROR Zope Couldn't install ZMySQLDA
> > Traceback (most recent call last):
> >  File "/opt/Plone-2.5.2/lib/python/OFS/Application.py", line 755, in
> > install_product
> >    global_dict, global_dict, silly)
> >  File "/opt/Plone-2.5.2/zeocluster/client1/Products/ZMySQLDA/__init__.py",
> > line 91, in ?
> >    import DA
> >  File "/opt/Plone-2.5.2/zeocluster/client1/Products/ZMySQLDA/DA.py", line
> > 92, in ?
> >    from db import DB
> >  File "/opt/Plone-2.5.2/zeocluster/client1/Products/ZMySQLDA/db.py", line
> > 89, in ?
> >    import _mysql
> >  File "build/bdist.linux-i686/egg/_mysql.py", line 7, in ?
> >  File "build/bdist.linux-i686/egg/_mysql.py", line 4, in __bootstrap__
> >  File "/opt/Plone-2.5.2/Python-2.4.4
> > /lib/python2.4/site-packages/setuptools-0.6c5-py2.4.egg/pkg_resources.py",
> > line 799, in resource_filename
> >    return get_provider(package_or_requirement).get_resource_filename(
> >  File "/opt/Plone-2.5.2/Python-2.4.4
> > /lib/python2.4/site-packages/setuptools-0.6c5-py2.4.egg/pkg_resources.py",
> > line 1228, in get_resource_filename
> >    self._extract_resource(manager, self._eager_to_zip(name))
> >  File "/opt/Plone-2.5.2/Python-2.4.4
> > /lib/python2.4/site-packages/setuptools-0.6c5-py2.4.egg/pkg_resources.py",
> > line 1249, in _extract_resource
> >    real_path = manager.get_cache_path(
> >  File "/opt/Plone-2.5.2/Python-2.4.4
> > /lib/python2.4/site-packages/setuptools-0.6c5-py2.4.egg/pkg_resources.py",
> > line 880, in get_cache_path
> >    self.extraction_error()
> >  File "/opt/Plone-2.5.2/Python-2.4.4
> > /lib/python2.4/site-packages/setuptools-0.6c5-py2.4.egg/pkg_resources.py",
> > line 846, in extraction_error
> >    raise err
> > ExtractionError: Can't extract file(s) to egg cache
> >
> > The following error occurred while trying to extract file(s) to the Python
> > egg
> > cache:
> >
> >  [Errno 13] Permission denied: '/home/zope/.python-eggs'
> >
> > The Python egg cache directory is currently set to:
> >
> >  /home/zope/.python-eggs
> >
> > Perhaps your account does not have write access to this directory?  You can
> > change the cache directory by setting the PYTHON_EGG_CACHE environment
> >
> > How can I correct it ? Thanks.
> >
> > - J
>

_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to