Re: [Zope-dev] Testing Zope Products with Python Debugger

2002-06-06 Thread R. David Murray

On Wed, 5 Jun 2002, Robert Rottermann wrote:
> Just install a second Zope and have it running from an other Port.

You don't even have to install a second zope.  Just use an
INSTANCE_HOME setup to start zope with a different port and
different Data.fs.

--RDM



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] Testing Zope Products with Python Debugger

2002-06-05 Thread Chris McDonough

You might be able to use the medusa monitor client.
(ZServer/medusa/monitor_client.py).  This requires that you have an "access"
file in your Zope's software home.

- Original Message -
From: "William Trenker" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 04, 2002 11:32 PM
Subject: [Zope-dev] Testing Zope Products with Python Debugger


> I've read the various tutorials and have successfully used Zope with the
> Python debugger.  But, of course, I can't have my production Zope running
> and the debugger running at the same time unless I get Zeo going.  But is
> there another way?  Is it possible to start Zope in the debugger but have
> it open a different data.fs file for testing?  (I only have one computer
> and have to keep a small, Zope-driven web site running 24/7 as well as do
> development on a new Zope Database Adapter.)
>
> I've looked into the Zeo How-To and feel a little overwhelmed.  And I
> suspect it is probably asking a bit too much of one Celeron 400 with
> Windows 98 to have all that running.  What do you think?  (Sorry, but "get
> Linux" or "get another computer" would be great, but aren't on my
immediate
> horizon.)
>
> Thanks,
> Bill
>
>
>
> --
> "The commandments of the LORD are right, bringing joy to the heart. The
> commands of the LORD are clear, giving insight to life . . . For this is
> the love of God, that we keep His commandments. And His commandments are
> not burdensome." (Psalm 19:8, 1John
> 5:3)<http://torahteacher.com/>torahteacher.com
>






>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.363 / Virus Database: 201 - Release Date: 5/21/02
>



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] Testing Zope Products with Python Debugger

2002-06-05 Thread Lennart Regebro

> From: "William Trenker" <[EMAIL PROTECTED]>
> I've read the various tutorials and have successfully used Zope with the
> Python debugger.  But, of course, I can't have my production Zope running
> and the debugger running at the same time unless I get Zeo going.  But is
> there another way?  Is it possible to start Zope in the debugger but have
> it open a different data.fs file for testing?  (I only have one computer
> and have to keep a small, Zope-driven web site running 24/7 as well as do
> development on a new Zope Database Adapter.)

I would quite simply reccomend you to not in any way do development on your
production site.
Install another site where you do development. It's not a problem.

> > And I suspect it is probably asking a bit too much of one Celeron 400
with
> > Windows 98 to have all that running.

I do all my development on a Pentium 233 with 64MB memory. :-)
A 400MHz Celeron will do nicely.





___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] Testing Zope Products with Python Debugger

2002-06-04 Thread Toby Dickenson

On Wednesday 05 Jun 2002 4:32 am, William Trenker wrote:

> And I
> suspect it is probably asking a bit too much of one Celeron 400 with
> Windows 98 to have all that running.  What do you think? 

One Zope using a ZEO server on the same machine is going to take only 
marginally more resources than a non-ZEO Zope alone.

Two Zopes using one ZEO server is going to use less resources than two Zopes 
not using ZEO.

> (Sorry, but "get
> Linux" or "get another computer" would be great, but aren't on my immediate
> horizon.)

No need. Windows 98 is more than adequate.

The only thing you might be short of is memory. You could try:
1. Removing any unnecessary products. 
2. Reducing the size of the zodb memory cache using Control Panel.
3. Reducing the number of publisher threads using the -t command line switch.
   (each thread gets its own memory cache)
4. Upgrading to the current CVS of Zope
   (which is more strict about sticking to the cache size limits, and more
   efficient with a small cache )
5. get some more memory.


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] Testing Zope Products with Python Debugger

2002-06-04 Thread Robert Rottermann

Just install a second Zope and have it running from an other Port.
The Product you are developping ypu put in an extra direcory.
start.bat for both versions have to be adapted as follows:
add a line like the following:
set
PRODUCTS_PATH=g:\projects\redModules;k:\programme\zope\lib\python\Products;
As you can see the PRODUCTS_PATH environment setting points to your shared
product directory and the product directory the Zope product path.

To one of the Start.bat's add a -P 9000 (or whatever port-range you wish)
flag

Robert
- Original Message -
From: "William Trenker" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 05, 2002 5:32 AM
Subject: [Zope-dev] Testing Zope Products with Python Debugger


> I've read the various tutorials and have successfully used Zope with the
> Python debugger.  But, of course, I can't have my production Zope running
> and the debugger running at the same time unless I get Zeo going.  But is
> there another way?  Is it possible to start Zope in the debugger but have
> it open a different data.fs file for testing?  (I only have one computer
> and have to keep a small, Zope-driven web site running 24/7 as well as do
> development on a new Zope Database Adapter.)
>
> I've looked into the Zeo How-To and feel a little overwhelmed.  And I
> suspect it is probably asking a bit too much of one Celeron 400 with
> Windows 98 to have all that running.  What do you think?  (Sorry, but "get
> Linux" or "get another computer" would be great, but aren't on my
immediate
> horizon.)
>
> Thanks,
> Bill
>
>
>
> --
> "The commandments of the LORD are right, bringing joy to the heart. The
> commands of the LORD are clear, giving insight to life . . . For this is
> the love of God, that we keep His commandments. And His commandments are
> not burdensome." (Psalm 19:8, 1John
> 5:3)<http://torahteacher.com/>torahteacher.com
>






>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.363 / Virus Database: 201 - Release Date: 5/21/02
>



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[Zope-dev] Testing Zope Products with Python Debugger

2002-06-04 Thread William Trenker

I've read the various tutorials and have successfully used Zope with the 
Python debugger.  But, of course, I can't have my production Zope running 
and the debugger running at the same time unless I get Zeo going.  But is 
there another way?  Is it possible to start Zope in the debugger but have 
it open a different data.fs file for testing?  (I only have one computer 
and have to keep a small, Zope-driven web site running 24/7 as well as do 
development on a new Zope Database Adapter.)

I've looked into the Zeo How-To and feel a little overwhelmed.  And I 
suspect it is probably asking a bit too much of one Celeron 400 with 
Windows 98 to have all that running.  What do you think?  (Sorry, but "get 
Linux" or "get another computer" would be great, but aren't on my immediate 
horizon.)

Thanks,
Bill



--
"The commandments of the LORD are right, bringing joy to the heart. The 
commands of the LORD are clear, giving insight to life . . . For this is 
the love of God, that we keep His commandments. And His commandments are 
not burdensome." (Psalm 19:8, 1John 
5:3)torahteacher.com



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.363 / Virus Database: 201 - Release Date: 5/21/02