[Zope] Zope on cdrom

Nicolas Perrier - Zindep nperrier at zindep.com
Thu Apr 14 10:53:58 EDT 2005


Hi,

I would like to run zope on cdrom but it doesn't work.
I used the handbook on the following site: 
http://georget.sebastien.free.fr/files/zope/zope-on-cdrom.en.html
On the HDD, it goes, but as soon as I put it on cdrom, it does not 
function any more.
I use a mandrake 10, python 2.3.4 and zope 2.7.3

 I have the following error:

/mnt/cdrom/python/lib/python2.3/fcntl.py:7: DeprecationWarning: the 
FCNTL module is deprecated; please use fcntl
 DeprecationWarning)esource File 
"/mnt/cdrom/zope/lib/python/Zope/Startup/__init__.py", line 33, in 
parse   File "/tmp/python/l                              Traceback (most 
recent call last):y", line 107, in parse]$   File 
"/tmp/python/lib/python2.3/xml/sax/xmlreader.py", line 123, in parse
 File "/mnt/cdrom/zope/lib/python/Zope/Startup/run.py", line 49, in 
?ader.py", line 300, in start_element           ile 
"/tmp/zope/lib/python/ZConfi
   run()in startElement File "/tmp/zope/lib/python/ZConfig/loader.py", 
line 154, in schemaComponentSourcee 
"/mnt/cdrom/zope/lib/python/Zope/Startup/           File 
"/mnt/cdrom/zope/lib/python/Zope/Startup/run.py", line 18, in runich is 
backed by a
   opts = _setconfig()drom]$   File 
"/mnt/cdrom/zope/lib/python/ZServer/HTTPServ
 File "/mnt/cdrom/zope/lib/python/Zope/Startup/run.py", line 41, in 
_setconfig
   opts.realize(doc="Sorry, no option docs yet.")
 File "/mnt/cdrom/zope/lib/python/zdaemon/zdoptions.py", line 262, in 
realize
   self.load_schema()
 File "/mnt/cdrom/zope/lib/python/zdaemon/zdoptions.py", line 303, in 
load_schema
   self.schema = ZConfig.loadSchema(self.schemafile)
 File "/tmp/zope/lib/python/ZConfig/loader.py", line 37, in loadSchema
 File "/tmp/zope/lib/python/ZConfig/loader.py", line 71, in loadURL
 File "/tmp/zope/lib/python/ZConfig/loader.py", line 137, in loadResource
 File "/tmp/zope/lib/python/ZConfig/schema.py", line 43, in parseResource
 File "/mnt/cdrom/zope/lib/python/Zope/Startup/__init__.py", line 33, in 
parse
   check_python_version()
 File "/tmp/python/lib/python2.3/xml/sax/expatreader.py", line 107, in 
parse
 File "/tmp/python/lib/python2.3/xml/sax/xmlreader.py", line 123, in parse
 File "/tmp/python/lib/python2.3/xml/sax/expatreader.py", line 207, in feed
 File "/tmp/python/lib/python2.3/xml/sax/expatreader.py", line 300, in 
start_element
 File "/tmp/zope/lib/python/ZConfig/schema.py", line 119, in startElement
 File "/tmp/zope/lib/python/ZConfig/schema.py", line 306, in start_import
 File "/tmp/zope/lib/python/ZConfig/loader.py", line 154, in 
schemaComponentSource
 File "/mnt/cdrom/zope/lib/python/Zope/Startup/__init__.py", line 36, in ?
   # we log events to the root logger, which is backed by a
 File "/mnt/cdrom/zope/lib/python/ZServer/HTTPServer.py", line 45, in ?
   from HTTPResponse import make_response
 File "/mnt/cdrom/zope/lib/python/ZServer/HTTPResponse.py", line 25, in ?
   from PubCore.ZEvent import Wakeup
 File "/mnt/cdrom/zope/lib/python/ZServer/PubCore/ZEvent.py", line 24, in ?
   the_trigger=simple_trigger()
 File 
"/mnt/cdrom/zope/lib/python/ZServer/medusa/thread/select_trigger.py", 
line 50, in __init__
   asyncore.file_dispatcher.__init__ (self, r)
 File "/mnt/cdrom/python/lib/python2.3/asyncore.py", line 543, in __init__
   flags = fcntl.fcntl(fd, fcntl.F_GETFL, 0)
AttributeError: 'module' object has no attribute 'fcntl'

Somebody can it help me? Is there any other handbook? Thanks.

Nip



More information about the Zope mailing list