Hi, I am producing a manual on CD ROM with ZOPE, like I found in the HOW TO "Running Zope off CD ROM" from Jens, 2001/07/13. It helped me a lot. Autoran starts the browser (with a first information page) and the ZServer starts in read-Modus at the same time. Afterwards the pages can be loaded. Unfortunately now I have some problems: 1. The ZServer needs a long time (nearly 3 minutes) for the start-up 2. The dos-window opens 3. The ZServer in read-Modus writes the Logs in cmd Maybe you can help me to answer my questions: to point 1: How can I shorten the loading time at the beginning? to point 2: Can I run the ZServer in the background, like a service from WindowsNT? to point 3: How can I manipulate ZOPE so it will not write Logs in cmd? Are you interested why I decided to use ZOPE? I decided to go this way because: · The manual has a complex tree structure including often 5 levels. · I had to include a glossary database · I use the ZCatalogue to search the manual · I wanted to separate text and layout Thanks a lot for your help best wishes Laleh ----- Laleh Baschardust EAN.UCC - The Global Language of Business _____________________________________ Centrale fuer Coorganisation GmbH Maarweg 133 . D-50825 Koeln . Germany Tel.: +49-221-9 47 14-0 - Direct -137 Fax.: +49-221-9 47 14-195 e-Mail: Baschardust@ccg.de http://www.ccg.de _____________________________________ Member of EAN International
1) the loading time depends on the size of your ZODB. since reading from CD ROM is slower than from hard drive it will always be slower. if you have a large ZODB there isn't much you can do. 2) this is normal and i don't see a way to change it unless you invoke a real installer and write stuff to the user's hard drive. you cannot make something into a service in windoze unless you install the whole thing and twiddle in that dreadful registry thing. the CD ROM when done like in the howto is supposed to not touch anything on your machine and run completely self-contained, so it doesn't install anything. besides, you can only make something into a service that runs from the command line on NT/2000/... but not win9x. 3) check if the start script starts zope with the -D switch or if it explicitly sets the STUPID_LOG_FILE environment variable. you want to make sure that -D is not set. i'm not sure how you redirect stuff into the bit bucket in windoze, like you can redirect to /dev/null in unices, but that' s probably where the STUPID_LOG_FILE environment variable should point to. jens On Tuesday, October 30, 2001, at 05:04 , Laleh Baschardust wrote:
Hi,
I am producing a manual on CD ROM with ZOPE, like I found in the HOW TO "Running Zope off CD ROM" from Jens, 2001/07/13. It helped me a lot.
Autoran starts the browser (with a first information page) and the ZServer starts in read-Modus at the same time. Afterwards the pages can be loaded.
Unfortunately now I have some problems: 1. The ZServer needs a long time (nearly 3 minutes) for the start-up 2. The dos-window opens 3. The ZServer in read-Modus writes the Logs in cmd
Maybe you can help me to answer my questions: to point 1: How can I shorten the loading time at the beginning? to point 2: Can I run the ZServer in the background, like a service from WindowsNT? to point 3: How can I manipulate ZOPE so it will not write Logs in cmd?
Are you interested why I decided to use ZOPE?
I decided to go this way because: · The manual has a complex tree structure including often 5 levels. · I had to include a glossary database · I use the ZCatalogue to search the manual · I wanted to separate text and layout
Thanks a lot for your help best wishes
Laleh
-----
Laleh Baschardust
EAN.UCC - The Global Language of Business _____________________________________ Centrale fuer Coorganisation GmbH Maarweg 133 . D-50825 Koeln . Germany Tel.: +49-221-9 47 14-0 - Direct -137 Fax.: +49-221-9 47 14-195 e-Mail: Baschardust@ccg.de http://www.ccg.de _____________________________________ Member of EAN International
_______________________________________________ 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 )
On Tue, Oct 30, 2001 at 07:39:02AM -0500, Jens Vagelpohl wrote:
i'm not sure how you redirect stuff into the bit bucket in windoze, like you can redirect to /dev/null in unices, but that' s probably where the STUPID_LOG_FILE environment variable should point to.
NUL: -- should be treatable like a drive letter, or a file. Neat trick from DOS to test for the existence of a directory was to check for the existence of thedir\nul -- Mike Renfro / R&D Engineer, Center for Manufacturing Research, 931 372-3601 / Tennessee Technological University -- renfro@tntech.edu
[Mike Renfro]
NUL: -- should be treatable like a drive letter, or a file. Neat trick from DOS to test for the existence of a directory was to check for the existence of thedir\nul
Ah, bringing back those old memories - I used to do that too. Cheers, Tom P
participants (4)
-
Jens Vagelpohl -
Laleh Baschardust -
Mike Renfro -
Thomas B. Passin