[Zope] RE: Zope digest, Vol 1 #939 - 31 msgs

Nish Parikh nparikh@etrade.com
Fri, 18 Aug 2000 13:51:14 -0700


How do I unsubscribe

		-----Original Message-----
		From:	zope-admin@zope.org [mailto:zope-admin@zope.org]
		Sent:	Friday, August 18, 2000 3:00 PM
		To:	zope@zope.org
		Subject:	Zope digest, Vol 1 #939 - 31 msgs


		Send Zope maillist submissions to
			zope@zope.org

		To subscribe or unsubscribe via the web, visit
			http://lists.zope.org/mailman/listinfo/zope
		or, via email, send a message with subject or body 'help' to
			zope-request@zope.org
		You can reach the person managing the list at
			zope-admin@zope.org

		(When replying, please edit your Subject line so it is more
specific than
		"Re: Contents of Zope digest...")


		Today's Topics:

		  1. Re: unable to login with newly created user (Martijn
Pieters)
		  2. RE: [Ann] Another Zope Book (Chris McDonough)
		  3. Meet Paul Everitt at the Paris Zope Meeting ! (Maik
Roeder)
		  4. Product question, third posting (Daniel Rusch)
		  5. Re: Workaround and a tree and dtml-in problem (Rik
Hoekstra)
		  6. Declaration of a sheet property as a personnalise
class... (Vincent)
		  7. Pb getting local roles ... strange (Didier Georgieff)
		  8. ANNOUNCE: updated Hotfix release for recent mutable
object issue (Brian Lloyd)
		  9. Creating Graphs (Stuart Foster)
		  10. TEST (please discard) (Jack Morgan)
		  11. Re: Pb getting local roles ... strange (Shane
Hathaway)
		  12. Can't change title of a common instance property sheet
(Jeff Sasmor)
		  13. Add a folder anywhere from anywhere (Francois-Regis
CHALAOUX)
		  14. Re: Xron test (Loren Stafford)
		  15. Apache is not caching Zope pages (Fabio Akita)
		  16. Re: sending mail slow? (Loren Stafford)
		  17. Re: . makes search engines happy... (Andy McKay)
		  18. Re: [Ann] Another Zope Book (Andy McKay)
		  19. RE: Strange behaviour on authorization (Casey Duncan)
		  20. RE: Tracker and Zope 2.2 (Ken Manheimer)
		  21. Merging multiple catalogs (Andy McKay)
		  22. Setting Default Properties in a Product
(robert_j_roberts@rl.gov)
		  23. URL is missing up in Zope (Stuart Foster)
		  24. How to execute multiple SQL statements in one
SQL-Method ? (Stuart Foster)
		  25. RE: How to execute multiple SQL statements in one
SQL-Method ? (Mabe, Brad)
		  26. Installing Zope (spambait@www.com)
		  27. Re: [Zope-dev] Aaargh, no safe seperators :S (Scott
Shepherd)
		  28. Re: Apache is not caching Zope pages (Chris Withers)
		  29. Don't use relative links! (Chris Withers)
		  30. Re: Don't use relative links! (Chris Withers)
		  31. ANNOUNCE ZEO 0.2.3 Released (Jim Fulton)

		--__--__--

		Message: 1
		Date: Fri, 18 Aug 2000 15:40:18 +0200
		From: Martijn Pieters <mj@digicool.com>
		To: Corey <corey@axcelerant.com>
		Cc: zope@zope.org
		Subject: Re: [Zope] unable to login with newly created user

		On Thu, Aug 17, 2000 at 02:28:07AM -0700, Corey wrote:
		>   Will having the Owner role actually keep me from logging
in as that
		>   user?  I can't seem to create a user *without* the Owner
role
		>   anyhow... jeeze.
		> 
		>   Any other suggestions?  I appreciate the help - in the
mean time,
		>   I'm gong to try installing version 2.1.6.

		Aha! Found it I think.

		The list of roles you see are possible selections. It's a
selectbox, you
		need to select the roles you want your user to have, they'll
be
		highlighted.

		The fact that they are listed doesn't mean they are selected
:)

		-- 
		Martijn Pieters
		| Software Engineer            mailto:mj@digicool.com
		| Digital Creations          http://www.digicool.com/
		| Creators of Zope               http://www.zope.org/
		| ZopeStudio: http://www.zope.org/Products/ZopeStudio
		-----------------------------------------------------

		--__--__--

		Message: 2
		From: Chris McDonough <chrism@digicool.com>
		To: "'Kapil Thangavelu'" <kthangavelu@earthlink.net>,
		Dieter Maurer
		<dieter@handshake.de>
		Cc: zope@zope.org, woessner@springer.de, frs@lysia.de
		Subject: RE: [Zope] [Ann] Another Zope Book
		Date: Fri, 18 Aug 2000 10:27:57 -0400

		Much of the aim of the "Product Developer's Guide" (see
		http://www.zope.org/Wikis/Docs/ProductDevelopersGuide) is to
address the
		issues you bring up.  It's been slow going, although I
almost have the
		security chapter completed.  Hopefully this weekend I'll be
able to
		release that chapter.

		> -----Original Message-----
		> From: Kapil Thangavelu [mailto:kthangavelu@earthlink.net]
		> Sent: Thursday, August 17, 2000 11:19 PM
		> To: Dieter Maurer
		> Cc: zope@zope.org; woessner@springer.de; frs@lysia.de
		> Subject: Re: [Zope] [Ann] Another Zope Book
		> great plan.
		> redundant no... desparetely needed? yes:)
		> 
		> my thoughts...
		> 
		> i've often felt thought that dc and zope cater a bit too
much to the
		> newbie crowd in the sense that the documentation is built
around on
		> touching upon a working knowledge of acquisition and the
majority
		> focuses on dtml. i often felt the need (and perhaps i'll
scratch the
		> itch) for a zope book for python developers. python is
easy to learn,
		> there is no reason zope can't be if it were approached as
a collection
		> of python frameworks. zodb (acqusition, persistence,
zcatalog),
		> medusa(asyncore+orb), document template, security.
		> 
		> many of the components of zope are very suitable for reuse
outside of
		> zope to a python programmer if the pieces were understood
as separate
		> entities and explained how they worked in synergy to make
zope work, i
		> think there would be many more developers and products for
zope.
		> 
		> as is, you learn piecemeal unless you have the stomach and
the time to
		> go through all the source code. i've learned a bit (still
learning)
		> mainly from the source, but i think most developers are 
		> forced to learn
		> through trial and error because the docs don't do the 
		> components justice
		> since they tend to focus on working understanding of
zope's framework
		> from dtml. and in the end they are forced to turn to the
source which
		> can be confusing without knowing the parts of the
framework from a
		> fundamental not a working perspective.
		> 
		> comments?
		> 
		> Kapil
		> 
		> _______________________________________________
		> 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 )
		> 

		--__--__--

		Message: 3
		Date: Wed, 16 Aug 2000 05:18:56 +0200
		From: Maik Roeder <roeder@berg.net>
		To: zope@zope.org
		CC: eurozope@comlounge.net, sf@fermigier.com,
olivier.berger@idealx.com,
		kayeva@hotmail.com, david@pilotsystems.net,
jpd@pilotsystems.net,
		lstep@free.fr, richard.stepniewski@c2a.fr, orabhi@online.fr,
		vanfleteren@iie.cnam.fr, joe@iuveno.de, simon@nipltd.com,
		chrisw@nipltd.com, nbernier@lw.multithematiques.com,
		ltonin@lw.multithematiques.com,
fsilvestre@lw.multithematiques.com,
		dguglielmini@lw.multithematiques.com,
		snowakowski@lw.multithematiques.com, mail@stevesimmons.com,
		vw@lightwerk.de, bruno.mattarollo@ams.greenpeace.org,
js@aixtraware.de,
		soto@itu.ch, tino_wildenhain@peacock.de, cs@comlounge.net,
		steve@cat-box.ne, helen@cat-box.net
		Subject: [Zope] Meet Paul Everitt at the Paris Zope Meeting
!

		Hi everyone !


		The Paris Zope Meeting is a great opportunity for Europe's
Zope community
		to meet Paul Everitt, CEO of Digital Creations,  who is
currently in France
		for holidays. It is also a chance to meet Zope developers
from England,
		Germany, Switzerland and of course France.

		If you want to come to the event, please send a mail to
eurozope@comlounge.net
		to let us know about your plans. Maybe some of us can
already gather a day
		or two before the event ?

		A list of people who have already registered is available
here:
		http://portalux.com/nnl/documents/zope-meeting/list

		Event Details:

		Date: Wednesday August 23rd 2000
		Exact time: To be announced later
		Place: 18, rue du Faubourg du Temple - 75011 Paris

		Registration:
http://portalux.com/nnl/documents/zope-meeting/
		WebSite:
http://zdp.zope.org/projects/eurozope/events/pariszopemeeting
		Mailing List: http://comlounge.net/mailman/listinfo/eurozope


		There are some talks planned, but due to the short
preparation time,
		these are not fixed (yet). Maybe you can give a talk as well
? Just let
		us know.

		This is the first event organized by the EuroZope
initiative, which
		tries to better support Zope in Europe due to the great
response we
		received at the Linuxtag 2000 in Stuttgart. EuroZope infos:

		http://zdp.zope.org/projects/eurozope

		Maybe you want to attend some of the other events planned by
the EuroZope
		team ?

		http://zdp.zope.org/projects/eurozope/events

		We still need Zopers who would like to help us organizing
those
		future events. Let's discuss it on the EuroZope mailing
list:

		http://comlounge.net/mailman/listinfo/eurozope

		Greetings,

		Maik Röder

		-- 
		"The computing future is based  on "cyberbodies" -
self-contained, 
		neatly-ordered,  beautifully-laid-out  collections of
information, 
		like immaculate giant gardens." The second coming - A
manifesto. David
		Gelernter
http://www.edge.org/3rd_culture/gelernter/gelernter_p1.html


		--__--__--

		Message: 4
		Date: Fri, 18 Aug 2000 09:39:38 -0500
		From: Daniel Rusch <drusch@globalcrossing.com>
		To: zope@zope.org
		Subject: [Zope] Product question, third posting

		I've created a folderish product. When I select that product
from the
		available objects list, thus creating an instance of that
product, I can
		create objects like dtml document and dtml method in the new
folderish
		object (very similar to what happens when you instantiate a
folder
		object, you can have a dtml method created in the new
folder).

		The question is why can't I create objects from the Products
directory,
		such as Local File System?????


		The code below works great, I get a dtml document, two
folders each with
		a dtml method in them....
		HOW CAN I CREATE A LOCAL FILE SYSTEM OR ANY OTHER OBJECT
FROM THE
		PRODUCTS DIRECTORY IN THIS MANAGE_ADD FUNCTION???????


		def manage_addSimpleSite(self, id, title='',
		                     createNewFolder=0,
		                     createEditFolder=0,
		                     REQUEST=None):
		    """Add a new SimpleSite object with id *id*.

		    If the 'createNewFolder' and 'createEditFolder'
parameters are set
		to any true
		    value, an 'New sub Folder' and an 'edit sub Folder'
objects are
		created respectively
		    in the new SimpleSite.
		    """
		    ob=SimpleSite()
		    ob.id=id
		    ob.title=title
		    self._setObject(id, ob)
		    try: user=REQUEST['AUTHENTICATED_USER']
		    except: user=None
		    ob.manage_addDTMLDocument(id='index_html', title='')
		    if createNewFolder:
		        if (user is not None) and not (
		            user.has_permission('Add User SimpleSites',
self)):
		            raise 'Unauthorized', (
		                  'You are not authorized to add User
SimpleSites.'
		                  )
		        ob.manage_addFolder(id='New'+id, title='',
createPublic=1)
		    if createEditFolder:
		        if (user is not None) and not (
		            user.has_permission('Add Documents, Images, and
Files',
		self)):
		            raise 'Unauthorized', (
		                  'You are not authorized to add DTML
Documents.'
		                  )
		        ob.manage_addFolder(id='Edit'+id, title='',
createPublic=1)
		    if REQUEST is not None:
		        return self.manage_main(self, REQUEST,
update_menu=1)


		Thanks,

		Dan


		--__--__--

		Message: 5
		From: "Rik Hoekstra" <rik.hoekstra@inghist.nl>
		To: "Chris Withers" <chrisw@nipltd.com>,
		"Phil Harris" <phil.harris@zope.co.uk>
		Cc: <zope@zope.org>
		Subject: Re: [Zope] Workaround and a tree and dtml-in
problem
		Date: Fri, 18 Aug 2000 16:40:30 +0200
		charset="utf-8"


		-----Original Message-----
		From: Chris Withers <chrisw@nipltd.com>
		To: Phil Harris <phil.harris@zope.co.uk>
		Cc: zope@zope.org <zope@zope.org>
		Date: vrijdag 18 augustus 2000 14:44
		Subject: [Zope] Workaround and a tree and dtml-in problem


		>Phil Harris wrote:
		>> Why isn't _ available in the tree tag?
		>>
		>
		>The workaround is to wrap it in a
		><dtml-let posting = "_.getitem('sequence-item',0)">
		>
		>But now I'm confused.
		>
		>Surely
		>
		>  <dtml-in postingValues>
		>    <dtml-let posting="_.getitem('sequence-item',0)">
		>    <dtml-tree posting branches="postingValues">
		>      <dtml-var id><BR>
		>    </dtml-tree>
		>    </dtml-let>
		>  </dtml-in>
		>
		>should produce the same results as:
		>
		><dtml-tree branches="postingValues">
		>  <dtml-var id><BR>
		></dtml-tree>
		>
		>It doesn't :(


		A guess (I never quite understood this either) Isn't the
difference :
		- first example the 'postingValues' in the context of your
'posting' object
		and
		- the second the 'postingValues' in the context of the
default objectlist  -
		presumably objectValues


		>
		>Why am I doing this you may ask? Well, I want to do
batching at the top
		>level and, AFAIK, dtml-in doesn't support this :(
		>
		>any ideas?

		if so, you might want to wrap the postingValues as well in a
		<dtml-let postings="postingValues">

		just guessing

		Rik


		--__--__--

		Message: 6
		Reply-To: <vinc.del@wanadoo.fr>
		From: "Vincent" <vinc.del@wanadoo.fr>
		To: "[Zope Org] (E-mail)" <zope@zope.org>
		Subject: [Zope] Declaration of a sheet property as a
personnalise class...
		Date: Fri, 18 Aug 2000 16:52:18 +0100
		charset="iso-8859-1"

		Hi,

		I would like to add a new property to a ZClass that I
created.

		Right now, I can choose between int, date, text,
selection..., How can I
		choose another ZClass I created in the same product ?

		Thanks

		Vincent


		--__--__--

		Message: 7
		Date: 18 Aug 2000 17:12:05 +0100
		From: "Didier Georgieff"
<Didier.GEORGIEFF@agriculture.gouv.fr>
		To: <zope@zope.org>
		Reply-To: <Didier.GEORGIEFF@agriculture.gouv.fr>
		Subject: [Zope] Pb getting local roles ... strange

		Hello,

		I'm on 2.1.6.
		I'm trying to have an information box with all roles.

		<dtml-in "AUTHENTICATED_USER.getRoles()">
		 <dtml-var sequence-item>
		</dtml-in>

		works OK. But doesn't give the local roles.
		So i tried 

		<dtml-with URL0>
		 <dtml-in "get_local_roles()">
		  <dtml-var sequence-item>
		 </dtml-in>
		</dtml-with>

		But it only gives ['owner'] and not the other local role
['roleFoo'].
		But the response is correct if i test with 

		<dtml-if "AUTHENTICATED_USER.has_role('roleFoo',this())"> is

		True.

		Is it a bug or a misunderstanding ? I found nothing on the
archives.
		Thanks in advance.

		 
		--
		Didier Georgieff
		DDAF du Bas-Rhin - Cellule SIG 
		2, rue des Mineurs 67070 Strasbourg Cedex
		tél : 03.88.25.20.33 - fax : 03.88.25.20.01
		email : didier.georgieff@agriculture.gouv.fr
		GéoWeb http://10.67.90.3 (Intranet Agriculture)
		GéoWeb http://sertit10.u-strasbg.fr (Internet)

		--__--__--

		Message: 8
		From: Brian Lloyd <Brian@digicool.com>
		To: "'zope-announce@zope.org'" <zope-announce@zope.org>,
		"'zope@zope.org'"
		<zope@zope.org>
		Subject: [Zope] ANNOUNCE: updated Hotfix release for recent
mutable object issue
		Date: Fri, 18 Aug 2000 11:25:51 -0400

		Hi all -

		We recently made a Hotfix release to address an issue 
		dealing with Zope APIs returning mutable objects that 
		could be changed inappropriately from DTML 
		(Hotfix_08_09_2000). After further investigation, there 
		was another aspect to the problem that was not addressed 
		in the recent hotfix.

		I've uploaded a new hotfix release (Hotfix_2000-08-17) 
		that supercedes the one from the 9th and includes the 
		extra fix required.

		http://www.zope.org/Products/Zope/Hotfix_2000-08-17/

		If you run a Zope site and allow untrusted users to edit 
		DTML on your site, you should install this updated hotfix. 
		There is no need to uninstall the prior hotfix release.
		These fixes will also be in the 2.2.1 release, expected 
		next week.


		Brian Lloyd        brian@digicool.com
		Software Engineer  540.371.6909              
		Digital Creations  http://www.digicool.com 



		--__--__--

		Message: 9
		From: "Stuart Foster" <stuartafoster@home.com>
		To: "Zope List" <zope@zope.org>
		Subject: [Zope] Creating Graphs
		Date: Fri, 18 Aug 2000 08:23:31 -0700
		charset="iso-8859-1"

		We need the ability to create multiple graphs from data that
we get from
		Postgres.
		Currently we use a py method to call gnu plot, but we are
looking for an
		alternative to serve up graphs.

		Any suggestions? I took a look at the Python Image Library
is this the best
		solution?

		TIA

		Stuart


		--__--__--

		Message: 10
		Date: Sat, 19 Aug 2000 00:23:47 +0900 (JST)
		From: Jack Morgan <yojack@mri.biglobe.ne.jp>
		To: zope@zope.org
		Subject: [Zope] TEST (please discard)

		just a test, Sorry!

		Jack Morgan				Debian GNU/Linux
Enthusiast
		yojack@mandinka.org
http://www.mandinka.org


		--__--__--

		Message: 11
		Date: Fri, 18 Aug 2000 11:28:26 -0400
		From: Shane Hathaway <shane@digicool.com>
		To: Didier.GEORGIEFF@agriculture.gouv.fr
		CC: zope@zope.org
		Subject: Re: [Zope] Pb getting local roles ... strange

		Didier Georgieff wrote:
		> 
		> Hello,
		> 
		> I'm on 2.1.6.
		> I'm trying to have an information box with all roles.
		> 
		> <dtml-in "AUTHENTICATED_USER.getRoles()">
		>  <dtml-var sequence-item>
		> </dtml-in>
		> 
		> works OK. But doesn't give the local roles.
		> So i tried
		> 
		> <dtml-with URL0>
		>  <dtml-in "get_local_roles()">
		>   <dtml-var sequence-item>
		>  </dtml-in>
		> </dtml-with>
		> 
		> But it only gives ['owner'] and not the other local role
['roleFoo'].
		> But the response is correct if i test with
		> 
		> <dtml-if "AUTHENTICATED_USER.has_role('roleFoo',this())">
is
		> True.
		> 
		> Is it a bug or a misunderstanding ? I found nothing on the
archives.
		> Thanks in advance.

		Have you tried AUTHENTICATED_USER.getRolesInContext(this())?

		Shane

		--__--__--

		Message: 12
		Reply-To: "Jeff Sasmor" <jeff@sasmor.com>
		From: "Jeff Sasmor" <jeff@sasmor.com>
		To: <Zope@Zope.org>
		Subject: [Zope] Can't change title of a common instance
property sheet
		Date: Fri, 18 Aug 2000 11:35:33 -0400
		charset="Windows-1252"

		I suppose this is some sort of lack in the Zope management
UI, but
		maybe someone else knows how to do this:

		If you create a ZClass property sheet you can pick an ID and
a title.

		But you don't seem to be able to EDIT the title of the
property
		sheet ever again.

		Is there some magic property sheet property name or
		is there just no way to edit the title from the management 
		interface?

		The other bizzare thing is that you can export a property
sheet,
		but there seems no obvious way to import one anywhere.
		Anyone have a clue on this?  What's it there for?

		TIA


		Jeff Sasmor
		jeff@sasmor.com



		--__--__--

		Message: 13
		Date: Fri, 18 Aug 2000 17:26:00 +0200
		From: Francois-Regis CHALAOUX
<Francois-Regis.CHALAOUX@sanofi-synthelabo.com>
		Subject: [Zope] Add a folder anywhere from anywhere
		To: zope@zope.org (Receipt Notification Requested)

		Hi,

		USE CASE
		========
		How to test if an "idFolder" exist in my "topFolder"?
		If the "idFolder" does not exist I would like to add it to
"topFolder"

		Question
		======
		Who know why this code in an external method (EM) does not
work?

		Code
		====
		def addFolder(self, idFolder, topFolder):
		   self=self.this()
		   if not hasattr(topfolder,idFolder):
	
self.getattr(self,topFolder).manage_addFolder(idFolder)


		PS: How to add a folder anywhere in the ZODB tree with an EM
also located
		anywhere?

		Bye, FR.

	

	

	

	

	

	

	

	

	

	

	

	

	

	

	

	

	

	

	


		--__--__--

		Message: 14
		From: "Loren Stafford" <lstaffor@dynalogic.com>
		To: "Nicholas Lo" <nicklo@siliconcreation.com>
		Cc: <zope@zope.org>
		Subject: [Zope] Re: Xron test
		Date: Fri, 18 Aug 2000 08:38:27 -0700
		charset="iso-8859-1"

		Nick,

		Two other Zopistas reported similar problems. Both succeeded
eventually in
		getting Xron started, but we didn't succeed in diagnosing
the problem, nor
		in determining precisely how to work around it. I myself
haven't been able
		to reproduce the problem.

		The problem seems to occur only on Linux, but it does not
always occur. Some
		users have successfully started Xron on Linux with no
problem. The problem
		seems to have to do with contention for a lock on ZODB. Did
you see any log
		or console message that would confirm this?

		One user went to the console and killed all the Zope
processes that were
		running at the time, then restarted Zope from the command
line. The second
		time, Zope started up correctly with Xron.

		Another user thought that he had mistakenly tried to start
Zope while logged
		in as root. When he restarted as a different user, Zope
started up with Xron
		correctly. I suspect that the user was not relevant to the
Xron problem (it
		is normal in some installations to start as root), but that
the restarting
		was the key.

		One user thought that the monitor process contributed to the
lock
		contention. I don't know, but it might be worthwhile to try
to restart Zope
		without the monitor (changing the start-up options to
disable the monitor).

		The problem seems to relate to Xron's creating the Schedule
catalog the
		first time the Xron product is loaded during Zope start-up.
If you succeed
		in creating the Schedule one time, the problem will not
recurr, as Xron will
		just use the existing Schedule.

		I hope that helps you get started. Let me know how it goes.
I'll copy this
		email to the zope list in hopes that someone else can shed
some light on the
		problem.

		-- Loren

		----- Original Message -----
		From: "Nicholas Lo" <nicklo@siliconcreation.com>
		To: <lstaffor@dynalogic.com>
		Sent: August 18, 2000 12:41 AM
		Subject: xcron test


		> Hi Loren,
		>
		> I have a problem with installing Xron 0.9 onto my machine.
Currently,
		> I'm running SuSE Linux 6.4 on a 600MHz/128Mb/20Gb PC. I
have followed
		> the release note and set the STUPID_LOG_FILE environment
variable to
		> point the log file, and Xron itself is, of course, resides
in the
		> /Products directory. When I start Zope, the console looks
okay. However,
		> the browser keeps on loading and loading and could not
show the Zope
		> management screen. I have also tried Xron on my notebook,
which is
		> running Win98. Everything works just fine. I just wonder
what's gone
		> wrong.
		>
		> Thanks.
		>
		> Nick
		>


		--__--__--

		Message: 15
		From: "Fabio Akita" <akitaf@sti.com.br>
		To: <zope@zope.org>
		Subject: [Zope] Apache is not caching Zope pages
		Date: Fri, 18 Aug 2000 12:50:27 -0300
		charset="iso-8859-1"

		Hello again

		There´s something very strange with the Apache + ZServer
solution presented
		in the zope.org howtos.

		The problem is: I have a Zope 2.1.6 with SiteAccess and
Apache 1.3.12 with
		the mod_proxy and mod_expire set up to that all request get
at por 80 by
		Apache are proxed back to port 8080 of Zope. SiteAccess
garantees that this
		cycle works all the time and port 8080 is never accessed
directly.

		This works fine. The problem is that the Apache proxy is not
caching the
		pages as it should, so that requests made to Zope once are
not made again
		until expired from the cache. This results that every single
request made to
		Apache goes directly to Zope and than the lack of robustness
of ZServer
		makes it very slow and unstable (as expected).

		The strange thing is that the directory used for the cache
is been filled up
		with files but it looks like Apache is ignoring them and
going directly to
		Zope. When I shut down Zope, it never goes to the cached
files and when I
		make requests to Apache the Zope´s log grows up all the time
for the same
		bunch of pages.

		Here´s the configuration in my httpd.conf

		 CacheRoot "D:/Program Files/Apache Group/Apache/proxy"
		 CacheSize 50000
		 CacheGcInterval 1
		 CacheMaxExpire 24
		 CacheLastModifiedFactor 0.1
		 CacheDefaultExpire 1
		 CacheForceCompletion 90

		 ProxyPass /zope/ http://10.10.10.176:8080/
		 ProxyPassReverse /zope/ http://10.10.10.176:8080/

		ExpiresActive On
		ExpiresDefault A86400
		ExpiresByType image/gif A604800
		ExpiresByType image/jpg A604800
		ExpiresByType text/html M43200


		Anyone knows why this happens? What´s the workaround? I
searched through all
		the web and find nothing about the mod_proxy configuration
so it´s turning
		to be extremelly difficult to maintain the Zope site, even
with the robust
		Apache as the front-end.

		Thanks


		--__--__--

		Message: 16
		From: "Loren Stafford" <lstaffor@dynalogic.com>
		To: "Chris Withers" <chrisw@nipltd.com>, <zope@zope.org>
		Subject: Re: [Zope] sending mail slow?
		Date: Fri, 18 Aug 2000 09:02:58 -0700
		charset="iso-8859-1"

		From: "Chris Withers" <chrisw@nipltd.com>
		>
		> I've noticed that sending mail from within Zope the
<sendmail> tab or
		> mailhost.send() is very slow (like it adds a few seconds
to the time it
		> takes to get a page back from a post).
		>
		> Why is that? how can I make it faster?
		>
		> I'd thought about having the actual mail sending done in a
different
		> thread/process but I don't know how I'd do that or whether
it'd be worth
		> doing.

		You could use Xron to schedule sending the email. You could
schedule it for
		later or for "now". Either way the email would be sent
asyncronously from
		the original request. (But check out another email dated
today titled "Xron
		test").

		-- Loren



		--__--__--

		Message: 17
		From: "Andy McKay" <AndyM@ActiveState.com>
		To: <zope@zope.org>
		Subject: Re: [Zope] . makes search engines happy...
		Date: Fri, 18 Aug 2000 09:18:46 -0700
		charset="iso-8859-1"

		> Andy McKay wrote:
		> >
		> > Dont put . in id's... I try not to anyway. Could we say
. or if your id
		has
		> > a . use something else eg:
		>
		> dots in ids are essential if you rely of search engine
hits for your
		> site.
		>
		> .html
		> .gif
		> .txt
		>
		> Just processing the extension on a file name is a lot
quicker than doing
		> a HEAD to get the content type :/

		Hmm I suppose, I dont rely on search engines much so I have
never worried
		about it. I always end up with some reason for them being
imported no matter
		how hard I try.



		--__--__--

		Message: 18
		From: "Andy McKay" <AndyM@ActiveState.com>
		To: <zope@zope.org>
		Subject: Re: [Zope] [Ann] Another Zope Book
		Date: Fri, 18 Aug 2000 09:27:13 -0700
		charset="iso-8859-1"

		There is room for both books. Zope is a powerful and very
deep products. The
		majority of users are unlikely to go into a great deal of
python, most are
		going to use the dtml and other basic functionality. If Zope
is going to
		increase its market then this sort of book is essential to
make Zope
		accessible. Can I help at all?

		But a book covering the internals will be useful. One of my
gripes about the
		documentation is how spread out and hard to find it is
there's Wiki's here,
		presentations there... I've often searched zope.org and come
up blank, when
		people on the mailing list can point it to me in 2 mins. But
searching
		zope.org is another matter entirely :)

		my 2 cents.

		----- Original Message -----
		From: "Max Møller Rasmussen" <maxm@normik.dk>
		To: <zope@zope.org>
		Sent: Friday, August 18, 2000 2:19 AM
		Subject: Re: [Zope] [Ann] Another Zope Book


		> Fra: Kapil Thangavelu [mailto:kthangavelu@earthlink.net]
		>
		> >I think most developers are forced to learn
		> >through trial and error because the docs don't do the
components justice
		> >since they tend to focus on working understanding of
zope's framework
		> >from dtml. and in the end they are forced to turn to the
source which
		> >can be confusing without knowing the parts of the
framework from a
		> >fundamental not a working perspective.
		>
		> >comments?
		>
		> 2 right you are. We need more info about Zope from a
Python programmers
		POW.
		> Setting pages up in dtml is not that interresting from my
point of view.
		>
		> We need more detailed documentation on all the seperate
modules, and far
		> more/better on making products.
		>
		> dtml is not for programming and business logic, only for
presentation.
		>
		> Max M
		>
		> _______________________________________________
		> 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 )
		>


		--__--__--

		Message: 19
		Reply-To: <casey.duncan@state.co.us>
		From: "Casey Duncan" <casey.duncan@state.co.us>
		To: <Jarkko.Veijalainen@tecnomen.fi>, <zope@zope.org>
		Subject: RE: [Zope] Strange behaviour on authorization
		Date: Fri, 18 Aug 2000 10:30:02 -0600
		charset="iso-8859-1"

		Jarkko Veijalainen wrote:
		> i have been trying to figure this out and get help to this
almost one
		> week...
		...
		> Zope loads login form with no problem (it's basicly static
page) but when
		i
		> try so POST data to email_headers with login form, popups
Authorization
		> failed window. I have tried to use my manager and
superuser name and same
		> values that i submitted, but nothing is accepted to auth.
window.
		...
		> so i have authenticated user and i still can't login. All
these documents
		> work like they're supposed to in Zope 2.1.6, but not
anymore when i
		> installed Zope 2.2.0 on Solaris. Why is Zopesecurity
trying to validate
		> 'cn', which is value that i submit to another document.
		>
		> What went wrong here and how i fix this problem?

		Aha, it worked in 2.1.6 eh? That's the tip off. A *major*
change between
		2.1.x and 2.2.x is in the security dept. 2.2.x runs all
methods using the
		security level of the _owner_ of the method, regardless of
whether this is a
		lower or higher level than the currently authenticated user.
My guess is
		that your method has no owner (which is what pre-2.2.x
objects default to
		when run under 2.2.x). This means it is running as anonymous
which does not
		have rights to do what you want. Specify an owner for the
method that has
		sufficient rights to do what you want and try it again.

		Good luck,
		-Casey Duncan


		--__--__--

		Message: 20
		From: Ken Manheimer <klm@digicool.com>
		To: "'Hanno Schulz'" <schulz@catworkx.de>, zope@zope.org
		Subject: RE: [Zope] Tracker and Zope 2.2
		Date: Fri, 18 Aug 2000 12:33:44 -0400

		Is the tracker you're using a recent checkout from the CVS
repository,
		or something else?  Where did you get it and how recently?

		Ken Manheimer
		klm@digicool.com

		-----Original Message-----
		From: Hanno Schulz [mailto:schulz@catworkx.de]
		Sent: Friday, August 18, 2000 6:03 AM
		To: zope@zope.org
		Subject: [Zope] Tracker and Zope 2.2


		Hi!

		I tried to add Tracker on my Zope 2.2 and get following
error after
		inserting
		id an title and press the add button.

	
--------------------------------------------------------------
		Zope Error
		Zope has encountered an error while publishing this
resource. 
		Error Type: TypeError
		Error Value: string, None

		Troubleshooting Suggestions

		The URL may be incorrect. 
		The parameters passed to this resource may be incorrect. 
		A resource that this resource relies on may be encountering
an error. 

		Traceback (innermost last):
		  File
	
/usr/local/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/Publish.py, line
		222, in publish_module
		  File
	
/usr/local/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/Publish.py, line
		187, in publish
		  File
/usr/local/Zope-2.2.0-linux2-x86/lib/python/Zope/__init__.py,
		line 221, in zpublisher_exception_hook
		    (Object: RoleManager)
		  File
	
/usr/local/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/Publish.py, line
		171, in publish
		  File
/usr/local/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/mapply.py,
		line 160, in mapply
		    (Object: addTracker)
		  File
	
/usr/local/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/Publish.py, line
		112, in call_object
		    (Object: addTracker)
		  File
	
/usr/local/Zope-2.2.0-linux2-x86/lib/python/Products/ExternalMethod/Exte
		rnalMethod.py, line 251, in __call__
		    (Object: addTracker)
		TypeError: (see above)
	
------------------------------------------------------------------------
		------



		Thanks for any help

		Hanno Schulz

		catWorkX GmbH
		Stresemannstr. 364
		22761 Hambug
		http://www.catworkx.de
		http://www.catbridge.de

		Tel.: +49 40 890 646 0
		Fax:  +49 40 890 646 66

		_______________________________________________
		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 )

		--__--__--

		Message: 21
		From: "Andy McKay" <AndyM@ActiveState.com>
		To: <zope@zope.org>
		Subject: [Zope] Merging multiple catalogs
		Date: Fri, 18 Aug 2000 09:34:17 -0700
		charset="iso-8859-1"

		Before I go off into coding mode has anybody had to deal
with merging
		results from multiple catalogs? I have several catalogs and
I would like to
		make this transparent by only having one search results
interface. I quickly
		made one Catalog indexing multiple Catalogs but the result
is multiple sets
		of records returned...

		Thanks.

		--
		     Andy McKay, Developer, ActiveState
		     http://www.ActiveState.com
		     Programming for the People




		--__--__--

		Message: 22
		From: Robert_J_Roberts@rl.gov
		To: zope@zope.org
		Subject: [Zope] Setting Default Properties in a Product
		Date: Fri, 18 Aug 2000 09:43:29 -0700
		charset="iso-8859-1"

		I have a product I have created.  

		When creating an instance of the product, there are several
property field
		which I pre-populate with default values.  Those default
values are
		currently set in my __init__() function.

		I would like to allow the users to redefine the defaults at
the product
		level.

		How do I add a default properties page to my product so the
user can set
		them in /root/Control_Panel/Products/{MyProduct} so that
each new instance
		of that products uses their defaults and not my hard-coded
defaults?

		Robert J. Roberts
		robert_j_roberts@rl.gov



		--__--__--

		Message: 23
		From: "Stuart Foster" <stuartafoster@home.com>
		To: "Zope List" <zope@zope.org>
		Subject: [Zope] URL is missing up in Zope
		Date: Fri, 18 Aug 2000 10:12:07 -0700
		charset="iso-8859-1"

		I've noticed that sometimes as I traverse my Zope sight the
URL keeps
		growing..

		For instance
		The main folder has an index_html
		  mainfolder->index_html

		A subfolder doesn't
		  mainfolder/subfolder

		If the index_html is accessed from the sub you get the
mainfolders
		index_html as I expect to.

		However if I traverse the two folders sometimes the URL
looks like

		mainfolder/subfolder/subfolder/subfolder/index_html

		Why..

		Thanks


		--__--__--

		Message: 24
		From: "Stuart Foster" <stuartafoster@home.com>
		To: "Zope List" <zope@zope.org>
		Subject: [Zope] How to execute multiple SQL statements in
one SQL-Method ?
		Date: Fri, 18 Aug 2000 10:13:39 -0700
		charset="iso-8859-1"

		I know it can be done but forgot how. 

		Stuart

		--__--__--

		Message: 25
		From: "Mabe, Brad" <BRADLEY.D.MABE@saic.com>
		To: "'Stuart Foster'" <stuartafoster@home.com>, Zope List
<zope@zope.org>
		Subject: RE: [Zope] How to execute multiple SQL statements
in one SQL-Method ?
		Date: Fri, 18 Aug 2000 13:39:43 -0400
		charset="iso-8859-1"

		SQLSTATEMENT 1

		<dtml-var sql_delimiter>

		SQLSTATMENT 2


		-----Original Message-----
		From: Stuart Foster [mailto:stuartafoster@home.com]
		Sent: Friday, August 18, 2000 1:14 PM
		To: Zope List
		Subject: [Zope] How to execute multiple SQL statements in
one SQL-Method
		?


		I know it can be done but forgot how. 

		Stuart

		_______________________________________________
		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 )



		--__--__--

		Message: 26
		From: spambait@www.com
		Date: 18 Aug 2000 10:59:49 -0700
		To: zope@zope.org
		Subject: [Zope] Installing Zope


		The Zope install notes say to find an installation directory
that is *not* accessible to your web server.  Is there a good reason for
this?  Security?

		Zope will install easily, if I put everything into my
commercial host's cgi-bin.  Is this asking for trouble?

		Yes, I have read gldnspud's "Third-Party Web Host" notes.
But things are different enough on my host to cause problems.

		S.

		I have no control of anything written below this line.


	
___________________________________________________________________
		Get your free, permanent e-mail @www.com, the original Net
address! 
		- http://www.com/freemail 

		Listen to your favorite music while you work! 
		- http://www.com/radio 

		--__--__--

		Message: 27
		<01f001c00883$ccf10760$eb0217ac@dev.prognet.com>
		<399C4725.C10FAE9@nipltd.com>
<399C4F49.47B701FF@digicool.com>
		<399C51C9.DC3B423E@nipltd.com>
<008801c00898$faf4eae0$6703a8c0@torch>
		Date: Fri, 18 Aug 2000 14:05:49 -0400
		To: zope@zope.org
		From: Scott Shepherd <skot@pobox.com>
		Subject: [Zope] Re: [Zope-dev] Aaargh, no safe seperators :S

		>&dtml-foo.[bar.dot].y

		In all the computer languages I know there's already a
convention for 
		solving this kind of problem.

			&dtml-foo.bar\.dot.y

		But I prefer path-style identifiers:

			&dtml-/foo/bar\.dot/y

		Then the correspondence to the site's folder structure is
evident. 
		Plus you can support both relative and absolute paths
without 
		confusing anybody:

			&dtml-foo/bar\.dot/y

		Or, if y is a *property* of bar.dot,

			&dtml-foo/bar\.dot.y



		>
		>Dont put . in id's... I try not to anyway. Could we say .
or if your id has
		>a . use something else eg:
		>
		>&dtml-foo.[bar.dot].y
		>
		>?
		>
		>--
		>     Andy McKay, Developer, ActiveState
		>     http://www.ActiveState.com
		>     Programming for the People
		>
		>
		>----- Original Message -----
		>From: "Chris Withers" <chrisw@nipltd.com>
		>To: "Shane Hathaway" <shane@digicool.com>
		>Cc: "Jonothan Farr" <jfarr@real.com>; <zope-dev@zope.org>
		>Sent: Thursday, August 17, 2000 1:57 PM
		>Subject: [Zope-dev] Aaargh, no safe seperators :S
		>
		>
		> > Shane Hathaway wrote:
		> > > That would probably work, but isn't kind of ugly?  Now
we'd be forcing
		> > > people to realize that colons can be path separators.
Only Mac users
		> > > know this. :-)
		> >
		> > Well,
		> >
		> >   / and \ are bad XML
		> >
		> >   ; is bad XML, and _really_ ugly
		> >
		> >   . confuses when there's .'s in ids
		> >
		> > Any other suggestions :S
		> >
		> > cheers,
		> >
		> > Chris
		> >
		> > _______________________________________________
		> > Zope-Dev maillist  -  Zope-Dev@zope.org
		> > 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 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 )


		--__--__--

		Message: 28
		Date: Fri, 18 Aug 2000 19:37:17 +0100
		From: Chris Withers <chrisw@nipltd.com>
		Organization: New Information Paradigms
		To: Fabio Akita <akitaf@sti.com.br>
		CC: zope@zope.org
		Subject: Re: [Zope] Apache is not caching Zope pages

		Fabio Akita wrote:
		> the lack of robustness of ZServer
		> makes it very slow and unstable (as expected).

		That's certainly not expected by me :(

		How did you come to this conclusion?
		What do you mean by slow?
		What do you mean by unstable?

		> The strange thing is that the directory used for the cache
is been filled up
		> with files but it looks like Apache is ignoring them and
going directly to
		> Zope. When I shut down Zope, it never goes to the cached
files and when I
		> make requests to Apache the Zope´s log grows up all the
time for the same
		> bunch of pages.

		Are you setting the cache headers in Zope?

		cheers,

		Chris

		--__--__--

		Message: 29
		Date: Fri, 18 Aug 2000 19:46:20 +0100
		From: Chris Withers <chrisw@nipltd.com>
		Organization: New Information Paradigms
		To: Stuart Foster <stuartafoster@home.com>
		CC: Zope List <zope@zope.org>
		Subject: [Zope] Don't use relative links!

		Stuart Foster wrote:
		> However if I traverse the two folders sometimes the URL
looks like
		> 
		> mainfolder/subfolder/subfolder/subfolder/index_html
		> 
		> Why..

		somewhere on one of you pages you have a link something like
		<a href="subfolder/index_html">

		that's a relative link and thanks to the magic of the Zope
automatically
		inserted BASE tag (yurch!) will actually be a link to:
	
http://yoursite.com/mainfolder/subfolder/subfolder/index_html

		so, the above should actually be:

		<a href="&dtml.url-subfolder/index_html">

		cheers,

		Chris

		--__--__--

		Message: 30
		Date: Fri, 18 Aug 2000 19:58:47 +0100
		From: Chris Withers <chrisw@nipltd.com>
		Organization: New Information Paradigms
		To: Stuart Foster <stuartafoster@home.com>, Zope List
<zope@zope.org>
		Subject: Re: [Zope] Don't use relative links!

		Chris Withers wrote:
		> so, the above should actually be:
		> 
		> <a href="&dtml.url-subfolder/index_html">

		erk :S

		<a href="&dtml.url-subfolder;/index_html">
		                           ^^^

		sorry,

		Chris

		--__--__--

		Message: 31
		Date: Fri, 18 Aug 2000 14:59:15 -0400
		From: Jim Fulton <jim@digicool.com>
		To: Zope Mailing List <zope@zope.org>,
zope-announce@zope.org,
		zope-zeo@zope.org
		Subject: [Zope] ANNOUNCE ZEO 0.2.3 Released

		A new bug-fix release of ZEO is available at:
		http://www.zope.org/Products/ZEO.

		This release makes versions work with ZEO. Previously,
		versions were almost entirely broken.  See the 
		CHANGES.txt file in the release for a list of other
		bugs fixed.

		If you encounter problems with ZEO, please report them
		using the ZEO issue tracker at:
		http://www.zope.org/Products/ZEO/Tracker.

		Jim

		--
		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.



		--__--__--

		_______________________________________________
		Zope maillist  -  Zope@zope.org



		--__--__----

		End of Zope Digest