Re: [Zope] Problems getting server running in debug mode

2005-09-22 Thread michael nt milne
I restart using ./zopect1 then start

I'm right in thinking that all you do is take out the # in the config file?On 9/22/05, Peter Bengtsson [EMAIL PROTECTED]
 wrote:When you switch debug-mode on, do you start zope with ./bin/runzope ?
and if so, what are the error messages if any?2005/9/21, michael nt milne [EMAIL PROTECTED]: Has anyone had any problems running in debug mode? I took out the # in the
 zope.conf file next to- debug-mode on which would set it to be on. However my server wouldn't come back up so I had to turn it off. Zope Version (Zope 2.8.0-final
, python 2.3.5, linux2) Python Version 2.3.5 (#1, Jul 27 2005, 00:45:20) [GCC 3.3.2 20031022 (Red Hat Linux 3.3.2-1)] System Platform linux2 SOFTWARE_HOME
 /opt/Zope-2.8/lib/python ZOPE_HOME /opt/Zope-2.8 INSTANCE_HOME /home/zopeinstance CLIENT_HOME /home/zopeinstance/var Network Services
 ZServer.HTTPServer.zhttp_server (Port: 8080) Process Id 1401 (49156) Running For 29 min 33 sec ___ Zope maillist-
Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding!** (Related lists -
http://mail.zope.org/mailman/listinfo/zope-announcehttp://mail.zope.org/mailman/listinfo/zope-dev
 )--Peter Bengtsson,work www.fry-it.comhome www.peterbe.comhobby 
www.issuetrackerproduct.com
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Problems getting server running in debug mode

2005-09-22 Thread Peter Bengtsson
I guess you actually mean ./zopectl not ./zopect1
Try ./runzope which will spit out all messages to stdout.

2005/9/22, michael nt milne [EMAIL PROTECTED]:
 I restart using ./zopect1 then start

  I'm right in thinking that all you do is take out the # in the config file?


 On 9/22/05, Peter Bengtsson [EMAIL PROTECTED]  wrote:
  When you switch debug-mode on, do you start zope with ./bin/runzope ?
  and if so, what are the error messages if any?
 
 
  2005/9/21, michael nt milne [EMAIL PROTECTED]:
   Has anyone had any problems running in debug mode? I took out the # in
 the
   zope.conf file next to  - debug-mode on which would set it to be on.
 However
   my server wouldn't come back up so I had to turn it off.
  
  
  
   Zope Version
   (Zope 2.8.0-final , python 2.3.5, linux2)
  
   Python Version
   2.3.5 (#1, Jul 27 2005, 00:45:20) [GCC 3.3.2 20031022 (Red Hat Linux
   3.3.2-1)]
  
   System Platform
   linux2
  
   SOFTWARE_HOME
   /opt/Zope-2.8/lib/python
  
   ZOPE_HOME
   /opt/Zope-2.8
  
   INSTANCE_HOME
   /home/zopeinstance
  
   CLIENT_HOME
   /home/zopeinstance/var
  
   Network Services
   ZServer.HTTPServer.zhttp_server (Port: 8080)
  
  
   Process Id
   1401 (49156)
  
   Running For
   29 min 33 sec
   ___
   Zope maillist  -   Zope@zope.org
   http://mail.zope.org/mailman/listinfo/zope
   **   No cross posts or HTML encoding!  **
   (Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )
  
  
  
 
 
  --
  Peter Bengtsson,
  work www.fry-it.com
  home www.peterbe.com
  hobby www.issuetrackerproduct.com
 




--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Membership website

2005-09-22 Thread Robert Boyd
On 9/21/05, Javier Godinez [EMAIL PROTECTED] wrote:
I am trying to decide how to go about building site where users can
signup for an account by confirming their email address. They will also
have profiles and a rating system. 

If anyone can direct me where to start, I will really appreciate it,
the tutorials where really basic and didnt get into the details of
sending emails or how to keep a user database with encrypted passwords
to authenticate users.
Javier,

Take a look at the CMF or CMF-based products like Plone
(http://plone.org) or CPS (http://www.cps-project.org/). CMF is
linked directly from the main Zope.org site. Included is membership
signup, you can encrypt passwords in the Zope ZODB database by using
the supplied acl_users folder or use any of a variety of user
datastores. They all provide a lot more than just membership signup and
form-based logon.

Non-modified CMF / Plone etc do have member signup and member profiles,
but not member confirmation or the concept of a member requiring higher
approval before their registration becomes a 'real' member. I believe
the CMFMember product provides this, but I've never tried it and wrote
my own solutions long ago. I don't know about a rating system product.

Have you looked at the Plone how-to's? They often are helpful even if you aren't specifically building a Plone site.

Good luck,
Rob
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope scalability / efficiency question

2005-09-22 Thread Julien Anguenot
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Fernando Lujan wrote:
 On 9/20/05, Andrew Sawyers [EMAIL PROTECTED] wrote:
 
I did some tests a few years back, basically that came out such that you run
the number of zope instances as you have CPUs.  I was able to get double the
performance of a single instance on a dual cpu server when adding a second
instance.  On a single CPU server, I found that the number of requests the
server was able to render was cut by nearly 50% +/- when adding a second
instance.

My rule for building out ZEO Client servers is:
Single CPU - Single Zope instance
Multiple Processors - # CPUs == # of Zope instances
 
 
 Hi Andrew,
 
 And how can I distribute the load over these Instances, running on the
 same machine?
 

You may use load balancers such as :

 - pound : http://www.apsis.ch/pound/
 - balance : http://www.inlab.de/balance.html (not sticky last time I
used it)

and probably others.

Cheers,

J.

- --
Julien Anguenot | Nuxeo RD (Paris, France)
CPS Platform : http://www.cps-project.org
Zope3 / ECM   : http://www.z3lab.org
mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFDMrDEGhoG8MxZ/pIRAsKKAJ9qxWcxH/6Kujvmxnvq2VlVrff6RgCfRC0V
1ItmtQGQiAnS89h+7tP9XXY=
=/2zA
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Membership website

2005-09-22 Thread Javier Godinez
On 9/22/05, Robert Boyd [EMAIL PROTECTED] wrote:
On 9/21/05, Javier Godinez 
[EMAIL PROTECTED] wrote:
I am trying to decide how to go about building site where users can
signup for an account by confirming their email address. They will also
have profiles and a rating system. 

If anyone can direct me where to start, I will really appreciate it,
the tutorials where really basic and didnt get into the details of
sending emails or how to keep a user database with encrypted passwords
to authenticate users.
Javier,

Take a look at the CMF or CMF-based products like Plone
(http://plone.org) or CPS (
http://www.cps-project.org/). CMF is
linked directly from the main Zope.org site. Included is membership
signup, you can encrypt passwords in the Zope ZODB database by using
the supplied acl_users folder or use any of a variety of user
datastores. They all provide a lot more than just membership signup and
form-based logon.

Non-modified CMF / Plone etc do have member signup and member profiles,
but not member confirmation or the concept of a member requiring higher
approval before their registration becomes a 'real' member. I believe
the CMFMember product provides this, but I've never tried it and wrote
my own solutions long ago. I don't know about a rating system product.

Have you looked at the Plone how-to's? They often are helpful even if you aren't specifically building a Plone site.

Good luck,
Rob

___
I will take a look at Plone, thank you so much, Javier!
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


RE: [Zope] Zope scalability / efficiency question

2005-09-22 Thread Andrew Sawyers
Any load balancer should be able to do this, google for your OS there.  The
load balancer I use LVS.  See http://www.linuxvirtualserver.org/ for more
details.

Andrew Sawyers
--
Zope Managed Hosting
Software Engineer
Zope Corporation
(540) 361-1700 

 -Original Message-
 From: Fernando Lujan [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, September 21, 2005 5:35 PM
 To: Andrew Sawyers; zope@zope.org
 Subject: Re: [Zope] Zope scalability / efficiency question
 
 On 9/20/05, Andrew Sawyers [EMAIL PROTECTED] wrote:
  I did some tests a few years back, basically that came out such that you
 run
  the number of zope instances as you have CPUs.  I was able to get double
 the
  performance of a single instance on a dual cpu server when adding a
 second
  instance.  On a single CPU server, I found that the number of requests
 the
  server was able to render was cut by nearly 50% +/- when adding a second
  instance.
 
  My rule for building out ZEO Client servers is:
  Single CPU - Single Zope instance
  Multiple Processors - # CPUs == # of Zope instances
 
 Hi Andrew,
 
 And how can I distribute the load over these Instances, running on the
 same machine?
 
 Thanks in advance.
 
 Fernando Lujan

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Problems getting server running in debug mode

2005-09-22 Thread michael nt milne
Yes, that's what I mean. I'll try that.On 9/22/05, Peter Bengtsson [EMAIL PROTECTED] wrote:
I guess you actually mean ./zopectl not ./zopect1Try ./runzope which will spit out all messages to stdout.2005/9/22, michael nt milne [EMAIL PROTECTED]:
 I restart using ./zopect1 then startI'm right in thinking that all you do is take out the # in the config file? On 9/22/05, Peter Bengtsson 
[EMAIL PROTECTED]  wrote:  When you switch debug-mode on, do you start zope with ./bin/runzope ?  and if so, what are the error messages if any?2005/9/21, michael nt milne 
[EMAIL PROTECTED]:   Has anyone had any problems running in debug mode? I took out the # in the   zope.conf file next to- debug-mode on which would set it to be on.
 However   my server wouldn't come back up so I had to turn it off. Zope Version   (Zope 2.8.0-final , python 
2.3.5, linux2) Python Version   2.3.5 (#1, Jul 27 2005, 00:45:20) [GCC 3.3.2 20031022 (Red Hat Linux   3.3.2-1)] System Platform
   linux2 SOFTWARE_HOME   /opt/Zope-2.8/lib/python ZOPE_HOME   /opt/Zope-2.8 INSTANCE_HOME
   /home/zopeinstance CLIENT_HOME   /home/zopeinstance/var Network Services   ZServer.HTTPServer.zhttp_server
 (Port: 8080)   Process Id   1401 (49156) Running For   29 min 33 sec   ___
   Zope maillist- Zope@zope.org   http://mail.zope.org/mailman/listinfo/zope   ** No cross posts or HTML encoding!**
   (Related lists -  http://mail.zope.org/mailman/listinfo/zope-announce  
http://mail.zope.org/mailman/listinfo/zope-dev )  --  Peter Bengtsson,  work 
www.fry-it.com  home www.peterbe.com  hobby www.issuetrackerproduct.com 
--Peter Bengtsson,work www.fry-it.comhome www.peterbe.comhobby www.issuetrackerproduct.com

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] schema won't update - persistant .pyc files??

2005-09-22 Thread michael nt milne
Yes it is.

I solved it by uninstalling the product in the ZMI, then, deleting the
product in the UNIX command line instead of FTP,(same user) and
restarting. The product stuill appeared in the ZMI even though it
wasn't in the directory. Errors in the event log though. Had to flush
the database cache and then it finally disappeared.



Then FTP'up the whole product again with changes made and it worked.
Either database caching or deleting by FTP not working right.On 9/22/05, Peter Bengtsson [EMAIL PROTECTED] wrote:
Is this a plone site? If so, try going tolocalhost:8080/plone1/portal_memberdata/base_edit
and press the Save button.2005/9/21, michael nt milne [EMAIL PROTECTED]: I've been trying to edit basic text information in a product schema, the
 member.py of the Samplex tutorial but the text I enter simply won't update through to the form on the website. I've tried everything, including flushing the cache and refreshing the product, re-starting etc. Seems like
 Zope is holding the old information somewhere and won't let go of it. Does anyone know of any issues with .pyc files that won't replace etc and seem to be cached indefinitely? Totally infuriating. I've tried running in debug
 mode but I couldn't get any ZMI inferface that way. This is my set-up: Zope Version (Zope 2.8.0-final, python 2.3.5, linux2) Python Version
 2.3.5 (#1, Jul 27 2005, 00:45:20) [GCC 3.3.2 20031022 (Red Hat Linux 3.3.2-1)] System Platform linux2 SOFTWARE_HOME /opt/Zope-2.8/lib/python ZOPE_HOME
 /opt/Zope-2.8 INSTANCE_HOME /home/zopeinstance CLIENT_HOME /home/zopeinstance/var Network Services ZServer.HTTPServer.zhttp_server (Port: 8080)
 Process Id 1401 (49156) Running For 29 min 33 sec ___ Zope maillist-Zope@zope.org
 http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding!** (Related lists -
http://mail.zope.org/mailman/listinfo/zope-announcehttp://mail.zope.org/mailman/listinfo/zope-dev )--Peter Bengtsson,
work www.fry-it.comhome www.peterbe.comhobby www.issuetrackerproduct.com

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] schema won't update - persistant .pyc files??

2005-09-22 Thread Peter Bengtsson
I doubt it has to be that complicated. I had the same problem. I tried
everything but the schema wasn't refreshed. Pressing that button
solved the problem.

2005/9/22, michael nt milne [EMAIL PROTECTED]:
 Yes it is.

  I solved it by uninstalling the product in the ZMI, then, deleting the
 product in the UNIX command line instead of FTP,(same user) and restarting.
 The product stuill appeared in the ZMI even though it wasn't in the
 directory. Errors in the event log though. Had to flush the database cache
 and then it finally disappeared.

  Then FTP'up the whole product again with changes made and it worked. Either
 database caching or deleting by FTP not working right.


 On 9/22/05, Peter Bengtsson [EMAIL PROTECTED] wrote:
  Is this a plone site? If so, try going to
  localhost:8080/plone1/portal_memberdata/base_edit
  and press the Save button.
 
  2005/9/21, michael nt milne [EMAIL PROTECTED]:
   I've been trying to edit basic text information in a product schema, the
   member.py of the Samplex tutorial but the text I enter simply won't
 update
   through to the form on the website. I've tried everything, including
   flushing the cache and refreshing the product, re-starting etc. Seems
 like
   Zope is holding the old information somewhere and won't let go of it.
 Does
   anyone know of any issues with .pyc files that won't replace etc and
 seem to
   be cached indefinitely? Totally infuriating. I've tried running in debug
   mode but I couldn't get any ZMI inferface that way.
  
   This is my set-up:
  
  
  
   Zope Version
   (Zope 2.8.0-final, python 2.3.5, linux2)
  
   Python Version
   2.3.5 (#1, Jul 27 2005, 00:45:20) [GCC 3.3.2 20031022 (Red Hat Linux
   3.3.2-1)]
  
   System Platform
   linux2
  
   SOFTWARE_HOME
   /opt/Zope-2.8/lib/python
  
   ZOPE_HOME
   /opt/Zope-2.8
  
   INSTANCE_HOME
   /home/zopeinstance
  
   CLIENT_HOME
   /home/zopeinstance/var
  
   Network Services
   ZServer.HTTPServer.zhttp_server (Port: 8080)
  
  
   Process Id
   1401 (49156)
  
   Running For
   29 min 33 sec
   ___
   Zope maillist  -  Zope@zope.org
   http://mail.zope.org/mailman/listinfo/zope
   **   No cross posts or HTML encoding!  **
   (Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )
  
  
  
 
 
  --
  Peter Bengtsson,
  work www.fry-it.com
  home www.peterbe.com
  hobby www.issuetrackerproduct.com
 




--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] runzope vs zopectl fg ?

2005-09-22 Thread Simon Michael
Question: is runzope now equivalent to zopectl fg (turning on debug mode 
for you etc.) and if so could we drop it ?


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] runzope vs zopectl fg ?

2005-09-22 Thread Peter Bengtsson
runzope doesn't turn on debug-mode.

2005/9/22, Simon Michael [EMAIL PROTECTED]:
 Question: is runzope now equivalent to zopectl fg (turning on debug mode
 for you etc.) and if so could we drop it ?

 ___
 Zope maillist  -  Zope@zope.org
 http://mail.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists -
  http://mail.zope.org/mailman/listinfo/zope-announce
  http://mail.zope.org/mailman/listinfo/zope-dev )



--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Re: schema won't update - persistant .pyc files??

2005-09-22 Thread michael nt milne
Haven't read anything about that button. Are you using CMFMember?I'm
also using Plone 2.1

On 9/22/05, Peter Bengtsson [EMAIL PROTECTED] wrote:
 I doubt it has to be that complicated. I had the same problem. I tried
 everything but the schema wasn't refreshed. Pressing that button
 solved the problem.

 2005/9/22, michael nt milne [EMAIL PROTECTED]:
  Yes it is.
 
   I solved it by uninstalling the product in the ZMI, then, deleting the
  product in the UNIX command line instead of FTP,(same user) and
 restarting.
  The product stuill appeared in the ZMI even though it wasn't in the
  directory. Errors in the event log though. Had to flush the database
 cache
  and then it finally disappeared.
 
   Then FTP'up the whole product again with changes made and it worked.
 Either
  database caching or deleting by FTP not working right.
 
 
  On 9/22/05, Peter Bengtsson [EMAIL PROTECTED] wrote:
   Is this a plone site? If so, try going to
   localhost:8080/plone1/portal_memberdata/base_edit
   and press the Save button.
  
   2005/9/21, michael nt milne [EMAIL PROTECTED]:
I've been trying to edit basic text information in a product schema,
 the
member.py of the Samplex tutorial but the text I enter simply won't
  update
through to the form on the website. I've tried everything, including
flushing the cache and refreshing the product, re-starting etc. Seems
  like
Zope is holding the old information somewhere and won't let go of it.
  Does
anyone know of any issues with .pyc files that won't replace etc and
  seem to
be cached indefinitely? Totally infuriating. I've tried running in
 debug
mode but I couldn't get any ZMI inferface that way.
   
This is my set-up:
   
   
   
Zope Version
(Zope 2.8.0-final, python 2.3.5, linux2)
   
Python Version
2.3.5 (#1, Jul 27 2005, 00:45:20) [GCC 3.3.2 20031022 (Red Hat Linux
3.3.2-1)]
   
System Platform
linux2
   
SOFTWARE_HOME
/opt/Zope-2.8/lib/python
   
ZOPE_HOME
/opt/Zope-2.8
   
INSTANCE_HOME
/home/zopeinstance
   
CLIENT_HOME
/home/zopeinstance/var
   
Network Services
ZServer.HTTPServer.zhttp_server (Port: 8080)
   
   
Process Id
1401 (49156)
   
Running For
29 min 33 sec
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
  http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )
   
   
   
  
  
   --
   Peter Bengtsson,
   work www.fry-it.com
   home www.peterbe.com
   hobby www.issuetrackerproduct.com
  
 
 


 --
 Peter Bengtsson,
 work www.fry-it.com
 home www.peterbe.com
 hobby www.issuetrackerproduct.com

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Problems getting server running in debug mode

2005-09-22 Thread Dieter Maurer
michael nt milne wrote at 2005-9-21 23:34 +0100:
Has anyone had any problems running in debug mode?

A feature, I find stupid, but many (knowledgeable) people are fond of:

   A Zope in debug mode will not start if any product has import
   problems...

And insaner yet:

   These problems are logged only, when Zope is run in the foreground
   (bin/zopectl fg or bin/runzope).


-- 
Dieter
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Multiple ZODB for virtual hosts with ZEO

2005-09-22 Thread Dieter Maurer
David Pratt wrote at 2005-9-21 13:38 -0300:
 ...
If I wanted to configure with multiple zodb 
for a single ZEO server you say there may be a possible downside in 
requiring a single ZEO server per database instance further down the 
road.  Is this something that is currently planned so I don't implement 
something that will  not be supported later?

This was discussed on a zope mailing list (I think zodb-dev@zope.org).
Please search the archives (via your favorite search engine).

It could be also be a bit 
of a problem since each ZEO server requires its own RAM.  RAM is a 
valuable commodity.

ZEO is not very RAM hungry.

Only for packing, a higher amount of RAM is necessary.

My goal is to ensure that customers I work with are working exclusively 
in their own zodb.  It seems preferable for these zodb's to be 
associated with a single ZEO server (instead of each zodb mounted in a 
single zope instance) to make maintenance tasks smooth and handled 
asynchronously.

Does this not speak for one ZEO server per customer?

   Imagine, you must restore a storage for one customer (because he
   destroyed its content).

   With a single ZEO server, you must bring it down to activate
   the backup. All your customers are affected.

   With a separate ZEO for each customer -- you bring
   down the ZEO for this customer. All others are unaffected.

I realize that if resources were 
unlimited, it would be best for a single ZEO server to use a single 
zodb and have one or more ZEO clients.

Huch? I do not understand that argument.

   With unlimited resources, each customer had its own computer
   with its own ZEO and ZEO clients...


 ...
I guess I see the possibility of single ZEO  for a number of virtual 
hosted sites as a plus (since it means also that I could add additional 
ZEO clients to provide more threads for serving the group of virtual 
sites).

But for this, it does not matter whether you have one or
many ZEO servers...

-- 
Dieter
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Multiple ZODB for virtual hosts with ZEO

2005-09-22 Thread David Pratt

Hi Dieter

This was discussed on a zope mailing list (I think 
zodb-dev@zope.org).

Please search the archives (via your favorite search engine).


Thanks.  I'll look for this.


ZEO is not very RAM hungry.

Only for packing, a higher amount of RAM is necessary.


This is good to know.


Does this not speak for one ZEO server per customer?


Sure does. With a number of sites in a single zeo instance it looks to 
be essentially the same issue as number of sites in a singe zope 
instance, you'd have to stop and start as you have pointed out.


At the same time it does not seem reasonable to run a separate zope 
instance and a separate zeo instance for each site where each zodb 
would not normally exceed 50 MB in my case.  So to me it is clear the 
importance of running separate zodbs per site (but perhaps not as 
important to have a separate framework whether it be a zope instance or 
a zeo instance per site). The zodb size has mostly to do with the heavy 
use of blobs and also relational database storage. But there are still 
thousands of objects in this situation (and it does not mean any less 
site maintenance).


I am interested in what you might recommend when you are dealing with a 
number of virtual sites of the smaller zodb scale since this is really 
the issue I am attempting to solve.  I definitely like the features ZEO 
has to offer as far as asynchronous maintenance, etc.


Regards,
David
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Re: schema won't update - persistant .pyc files??

2005-09-22 Thread Peter Bengtsson
2005/9/22, michael nt milne [EMAIL PROTECTED]:
 Haven't read anything about that button. Are you using CMFMember?I'm
 also using Plone 2.1

Yes, that was CMFMember with plone 2.0

--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Passing args to PageTemplateFile instances

2005-09-22 Thread Anders Bruun Olsen
Hi,

I have read some posts about this before, but the solutions given there
does not seem to work for me.

The deal is that I would like to make a product where amongst other
things there needs to be a search feature.

I then make a method that takes input from a form with searchwords but
then I get stuck. How do I get the search results handed over to a ZPT
that will display them?

I would like to just pass the results as an argument to it, and have
made a simple test-product to test how this would work.


class TestProd(SimpleItem):
A TestProd object
meta_type = TestProd
manage_options = (  {label: Edit, action: manage_main},
{label: View, action: index_html})

manage_main = PageTemplateFile(templates/mainTestProd, globals())
index_html = PageTemplateFile(templates/indexTestProd, globals())
test = PageTemplateFile(templates/test, globals())

def __init__(self, id, title):
self.id = id
self.title = title

def testit(self, REQUEST=None):
return self.test.__of__(self)(something=blah)


In the template I should now be able to access options/something
according to previous posts, but this:

span tal:replace=options/something/

results in:
Error Type: KeyError
Error Value: 'something'

I am using Zope 2.8.0. Am I doing it wrong? How can it be done
correctly?

-- 
Anders
-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCS/O d--@ s:+ a-- C++ UL+++$ P++ L+++ E- W+ N(+) o K? w O-- M- V
PS+ PE@ Y+ PGP+ t 5 X R+ tv+ b++ DI+++ D+ G e- h !r y?
--END GEEK CODE BLOCK--
PGPKey: 
http://random.sks.keyserver.penguin.de:11371/pks/lookup?op=getsearch=0xD4DEFED0
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] How modify *path* of a 'zope instance home' ??

2005-09-22 Thread seberino
I tried modifying paths to 'zope instance home' in
bin/runzope, bin/runzope.bat and etc/zope.conf.

I also tried just doing a symbolic link from old path
to new location of 'zope instance home'.

NOTHING WORKS

I get errors about Zope/Plone not being able to load Archtypes
product.

**Is the old zope instance home _path_ burned into a binary
somewhere that cannot be changed??**

e.g. Does Data.fs depend on old path somehow??


HOW CHANGE PATH OF ZOPE INSTANCE HOME???

Chris
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] how determine all Zope/Plone dependencies for chroot jail?

2005-09-22 Thread seberino
I'd like to run Zope/Plone in a chroot jail.

How determine all dependencies to make this possible??

(What does it need outside of the zope instance home?)

Chris
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )