[Zope] ImportError: No module named misc.lock_file

Andreas Jung lists at zopyx.com
Sat Mar 25 14:11:47 EST 2006



--On 26. März 2006 01:54:58 +0700 Myo Zaw Nyunt <myozaw at ait.ac.th> wrote:

>
> Hello Zope Group,
>
> I have the following Zope 2.9 installation error with Python 4 (the
> latest) in Trustix Linux 2.2

You mean Python 2.4!

>
> Detail of the error is as follows. Your reply is much appreciated.
>
> root at trustix /myzope/instance1/bin# ./runzope
> /usr/local/Zope-2.9.0/lib/python/App/ImageFile.py:21: DeprecationWarning:
> Using OFS.content_types is deprecated (will be removed in Zope 2.11).
> Instead use zope.app.contenttypes.
>   from OFS.content_types import guess_content_type
> Traceback (most recent call last):
>   File "/usr/local/Zope-2.9.0/lib/python/Zope2/Startup/run.py", line 56,
> in ?   File "/usr/local/Zope-2.9.0/lib/python/Zope2/Startup/run.py", line
> 21, in run   File
> "/usr/local/Zope-2.9.0/lib/python/Zope2/Startup/__init__.py", line 95, in
> prepare
>   File "/usr/local/Zope-2.9.0/lib/python/Zope2/Startup/__init__.py", line
> 272, in makeLockFile
> ImportError: No module named misc.lock_file
>

The file should be here:

  lib/python/Zope2/Startup/misc/lock_file.py

Did you install from the sources? Check your installation, check the file 
permissions..

-aj
    -----------------------------------------------------------------------
   -   Andreas Jung            ZOPYX Ltd. & Co KG                        -
  -   E-mail: info at zopyx.com   Web: www.zopyx.com, www.zopyx.de         -
   -----------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20060325/f8da91f3/attachment.bin


More information about the Zope mailing list