Hi All, Is it possible to run an Zope application directly on a CDROM? I mean with Zope+ZServer+Zope-Products+date on the CDROM without install all this stuff on the hard disk of the user. I read somethings about this on the mailing list but I cannot rediscover ... FR
Fr, your mind is on holidays... Or maybe you've now a win os on your computer ;-) Friendly, ================ Emmanuel DISCORS ================ Association ADVL ( Au-Delà de Vos Limites ) anciènnement Association pour le développement du Val de Loire. 59, rue de la Châine 41000 BLOIS Tel & Fax 02 54 56 80 61 Email : webmaster@advl.org Site web : http://www.advl.org/ ==== Archive mailling list of ZOPE ============ From: Jim Fulton <jim@digicool.com> To : Stefan Franke <spamfranke@bigfoot.de> Date: Wed, 09 Jun 1999 17:37:22 -0400 Re: [Zope] Zope on a CD-ROM? Does the CD site have the same database and products as the hard disk site? Zope thinkgs that there are new products and is trying to update it's database to reflect the change. Jim Stefan Franke wrote:
I'm trying to put my Zope app (1.10.2, Win NT) on a CD-ROM for demo purposes, using ZopeHTTPServer.
I have a batch file whichs sets ZOPE_READ_ONLY before starting start.bat. It works fine when running from the harddisk. But on a CD-ROM I get the traceback below.
Is the read-only mode not really read only?
Stefan
Traceback (innermost last): File "serve.py", line 100, in ? ZopeHTTPServer.main(args) File "D:\Programme\Zope\Koelnzope\ZopeHTTPServer\ZopeHTTPServer.py", line 500, in main start(module_file,host,port,threading,env) File "D:\Programme\Zope\Koelnzope\ZopeHTTPServer\ZopeHTTPServer.py", line 438, in start set_published_module(module_file,BoboRequestHandler,env) File "D:\Programme\Zope\Koelnzope\ZopeHTTPServer\ZopeHTTPServer.py", line 434, in set_published_module __import__(name) # to catch problem modules right away File "D:\Programme\zope\koelnzope\lib\python\Main.py", line 103, in ? Bobobase=OFS.Application.open_bobobase() File "D:\Programme\zope\koelnzope\lib\python\OFS\Application.py", line 365, in open_bobobase install_products(app) File "D:\Programme\zope\koelnzope\lib\python\OFS\Application.py", line 483, in install_products get_transaction().commit() File "D:\Programme\Zope\Koelnzope\lib\python\BoboPOS\SingleThreadedTransaction.py", line 182, in commit o.__inform_commit__(self,self.now) File "C:\temp\zope_cd\lib\python\BoboPOS\SimpleDB.py", line 348, in store if self._ro: self.write_mode_error() File "C:\temp\zope_cd\lib\python\BoboPOS\SimpleDB.py", line 341, in write_mode _error raise IOError, (ErrorFormat % IOError: <HTML><HEAD><TITLE>Database Error</TITLE></HEAD> <BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555" ALINK="#77003B"> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="10"> <TR> <TD VALIGN="TOP"><BR> <CENTER><B><FONT SIZE="+6" COLOR="#77003B">!</FONT></B></CENTER> </TD> <TD VALIGN="TOP"><BR><BR> <CENTER>Attempt to perform a <em>write</em> operation while the database is in <em>read-only</em> mode. </CENTER> </TD> </TR> </TABLE>
Le mar, 08 fév 2000, Francois-Regis CHALAOUX a écrit :
Hi All,
Is it possible to run an Zope application directly on a CDROM? I mean with Zope+ZServer+Zope-Products+date on the CDROM without install all this stuff on the hard disk of the user. I read somethings about this on the mailing list but I cannot rediscover ...
FR
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) --
--
participants (2)
-
Compte utilisateur Sultan-advl -
Francois-Regis CHALAOUX