[Zope] Zope on a CD-ROM?

Jim Fulton jim@digicool.com
Wed, 09 Jun 1999 17:37:22 -0400


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>
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
> 
> (For developer-specific issues, use the companion list,
> zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )

--
Jim Fulton           mailto:jim@digicool.com   Python Powered!        
Technical Director   (888) 344-4332            http://www.python.org  
Digital Creations    http://www.digicool.com   http://www.zope.org    

Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email
address may not be added to any commercial mail list with out my
permission.  Violation of my privacy with advertising or SPAM will
result in a suit for a MINIMUM of $500 damages/incident, $1500 for
repeats.