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
Nicolas Perrier - Zindep wrote:
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.
This looks more like you are trying ot use zopectl on Windows than anything to do with being on a CDROM. Is that the case? cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
Hi, it was a burning problem. In fact, if you want to use your cdrom both on windows and linux, you need to burn with rockridge AND joliet extensions... If not, it doesn't work. That was my case because i used vmware and burned my cdrom under windows. Now, it works fine. Thanks for your help. cheers, Nip Chris Withers wrote:
Nicolas Perrier - Zindep wrote:
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.
This looks more like you are trying ot use zopectl on Windows than anything to do with being on a CDROM.
Is that the case?
cheers,
Chris
participants (2)
-
Chris Withers -
Nicolas Perrier - Zindep