[Zope-Checkins] SVN: Zope/branches/2.11/lib/python/zope/ Port testbrowser downgrade from trunk to 2.11 branch.

2008-01-31 Thread Stefan H. Holek
Log message for revision 83330:
  Port testbrowser downgrade from trunk to 2.11 branch.
  

Changed:
  _U  Zope/branches/2.11/lib/python/zope/

-=-

Property changes on: Zope/branches/2.11/lib/python/zope
___
Name: svn:externals
   - annotation   
svn://svn.zope.org/repos/main/zope.annotation/tags/3.4.0/src/zope/annotation
cachedescriptors 
svn://svn.zope.org/repos/main/zope.cachedescriptors/tags/3.4.0/src/zope/cachedescriptors
component
svn://svn.zope.org/repos/main/zope.component/tags/3.4.0/src/zope/component
configuration
svn://svn.zope.org/repos/main/zope.configuration/tags/3.4.0/src/zope/configuration
contentprovider  
svn://svn.zope.org/repos/main/zope.contentprovider/tags/3.4.0/src/zope/contentprovider
contenttype  
svn://svn.zope.org/repos/main/zope.contenttype/tags/3.4.0/src/zope/contenttype
copypastemove
svn://svn.zope.org/repos/main/zope.copypastemove/tags/3.4.0/src/zope/copypastemove
datetime 
svn://svn.zope.org/repos/main/zope.datetime/tags/3.4.0/src/zope/datetime
decorator
svn://svn.zope.org/repos/main/zope.decorator/tags/3.4.0/src/zope/decorator
deferredimport   
svn://svn.zope.org/repos/main/zope.deferredimport/tags/3.4.0/src/zope/deferredimport
deprecation  
svn://svn.zope.org/repos/main/zope.deprecation/tags/3.4.0/src/zope/deprecation
documenttemplate 
svn://svn.zope.org/repos/main/zope.documenttemplate/tags/3.4.0/src/zope/documenttemplate
dottedname   
svn://svn.zope.org/repos/main/zope.dottedname/tags/3.4.2/src/zope/dottedname
dublincore   
svn://svn.zope.org/repos/main/zope.dublincore/tags/3.4.0/src/zope/dublincore
error
svn://svn.zope.org/repos/main/zope.error/tags/3.5.1/src/zope/error
event
svn://svn.zope.org/repos/main/zope.event/tags/3.4.0/src/zope/event
exceptions   
svn://svn.zope.org/repos/main/zope.exceptions/tags/3.4.0/src/zope/exceptions
filerepresentation   
svn://svn.zope.org/repos/main/zope.filerepresentation/tags/3.4.0/src/zope/filerepresentation
formlib  
svn://svn.zope.org/repos/main/zope.formlib/tags/3.4.0/src/zope/formlib
hookable 
svn://svn.zope.org/repos/main/zope.hookable/tags/3.4.0/src/zope/hookable
i18nmessageid
svn://svn.zope.org/repos/main/zope.i18nmessageid/tags/3.4.3/src/zope/i18nmessageid
i18n 
svn://svn.zope.org/repos/main/zope.i18n/tags/3.4.0/src/zope/i18n
index
svn://svn.zope.org/repos/main/zope.index/tags/3.4.1/src/zope/index
interface
svn://svn.zope.org/repos/main/zope.interface/tags/3.4.0/src/zope/interface
lifecycleevent   
svn://svn.zope.org/repos/main/zope.lifecycleevent/tags/3.4.0/src/zope/lifecycleevent
location 
svn://svn.zope.org/repos/main/zope.location/tags/3.4.0/src/zope/location
minmax   
svn://svn.zope.org/repos/main/zope.minmax/tags/1.0/src/zope/minmax
modulealias  
svn://svn.zope.org/repos/main/zope.modulealias/tags/3.4.0/src/zope/modulealias
pagetemplate 
svn://svn.zope.org/repos/main/zope.pagetemplate/tags/3.4.0/src/zope/pagetemplate
proxy
svn://svn.zope.org/repos/main/zope.proxy/tags/3.4.0/src/zope/proxy
publisher
svn://svn.zope.org/repos/main/zope.publisher/tags/3.4.1/src/zope/publisher
rdb  
svn://svn.zope.org/repos/main/zope.rdb/tags/3.4.0/src/zope/rdb
schema   
svn://svn.zope.org/repos/main/zope.schema/tags/3.4.0/src/zope/schema
security 
svn://svn.zope.org/repos/main/zope.security/tags/3.4.0/src/zope/security
sequencesort 
svn://svn.zope.org/repos/main/zope.sequencesort/tags/3.4.0/src/zope/sequencesort
sendmail 
svn://svn.zope.org/repos/main/zope.sendmail/tags/3.4.0/src/zope/sendmail
server   
svn://svn.zope.org/repos/main/zope.server/tags/3.4.1/src/zope/server
session  
svn://svn.zope.org/repos/main/zope.session/tags/3.4.1/src/zope/session
size 
svn://svn.zope.org/repos/main/zope.size/tags/3.4.0/src/zope/size
securitypolicy   
svn://svn.zope.org/repos/main/zope.securitypolicy/tags/3.4.0/src/zope/securitypolicy
   
structuredtext   
svn://svn.zope.org/repos/main/zope.structuredtext/tags/3.4.0/src/zope/structuredtext
tales
svn://svn.zope.org/repos/main/zope.tales/tags/3.4.0/src/zope/tales
tal  
svn://svn.zope.org/repos/main/zope.tal/tags/3.4.0/src/zope/tal
testbrowser  
svn://svn.zope.org/repos/main/zope.testbrowser/tags/3.4.2/src/zope/testbrowser
testing  
svn://svn.zope.org/repos/main/zope.testing/tags/3.5.1/src/zope/testing
thread   
svn://svn.zope.org/repos/main/zope.thread/tags/3.4/src/zope/thread
traversing   
svn://svn.zope.org/repos/main/zope.traversing/tags/3.4.0/src/zope/traversing
viewlet  
svn://svn.zope.org/repos/main/zope.viewlet/tags/3.4.0/src/zope/viewlet
wfmc   

[Zope-dev] Zope Tests: 4 OK, 1 Failed

2008-01-31 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list.
Period Wed Jan 30 12:00:00 2008 UTC to Thu Jan 31 12:00:00 2008 UTC.
There were 5 messages: 5 from Zope Unit Tests.


Test failures
-

Subject: FAILED (failures=1) : Zope-2.11 Python-2.4.4 : Linux
From: Zope Unit Tests
Date: Wed Jan 30 20:59:09 EST 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-January/009035.html


Tests passed OK
---

Subject: OK : Zope-2.7 Python-2.3.6 : Linux
From: Zope Unit Tests
Date: Wed Jan 30 20:53:08 EST 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-January/009031.html

Subject: OK : Zope-2.8 Python-2.3.6 : Linux
From: Zope Unit Tests
Date: Wed Jan 30 20:54:38 EST 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-January/009032.html

Subject: OK : Zope-2.9 Python-2.4.4 : Linux
From: Zope Unit Tests
Date: Wed Jan 30 20:56:08 EST 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-January/009033.html

Subject: OK : Zope-2.10 Python-2.4.4 : Linux
From: Zope Unit Tests
Date: Wed Jan 30 20:57:38 EST 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-January/009034.html

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


[Zope-dev] Zope 3.4 final?

2008-01-31 Thread Tom Hoffman
Hi All,

This is a manually-generated reminder that it would be very, very
helpful to the SchoolTool project if there would be a Zope 3.4 final
release in the next month.  3.4.0b2 is designated as stable on
zope.org, and while it may only be a semantic distinction to remove
the b2, it will allow us to move zope3 packages into Debian and
Ubuntu, and in turn move a whole stack of other Zope3 related
packages, and SchoolTool, into those distributions.

Thanks for your consideration,

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


[Zope-dev] some broken publishers on retry

2008-01-31 Thread Adam Groszer
Hello,

After a day of debugging I came to the finding that at some places the
request and response gets faked after a retry occurred.

zope.app.testing.functional calls the publisher like this:
publish(request, handle_errors=handle_errors)
deep in publish a new instance of request is created in case of a retry
old one dropped, works on the new one
def publish(request, handle_errors=True):
...
return request
(returns the newly instantiated request)
back to zope.app.testing.functional:
publish(request, handle_errors=handle_errors)
it just drops the return value

I found the following likely places that could be affected:

zope.app.testing.functional
response = ResponseWrapper(request.response, path)
if env.has_key('HTTP_COOKIE'):
self.loadCookies(env['HTTP_COOKIE'])
publish(request, handle_errors=handle_errors)
self.saveCookies(response)
...
response = ResponseWrapper(request.response, path)
publish(request, handle_errors=handle_errors)
return response

zope.server.ftp.publisher.py:
 response = request.response
 publish(request)
 return response.getResult()

zope.app.twisted.ftp.utils.py:
response = request.response
publish(request)
return response.getResult()

zope.app.debug.debug.py:
request = self._request(path, stdin, *args, **kw)
getStatus = getattr(request.response, 'getStatus', lambda: None)
_publish(request

Anybody for/against fixing those?

-- 
Best regards,
 Adam Groszer  mailto:[EMAIL PROTECTED]
--
Quote of the day:
This dead of midnight is the noon of thought, And Wisdom mounts her zenith with 
the stars. 
- Lady Barbauld 

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


Re: [Zope] Cant access 'real' root folder in ZMI

2008-01-31 Thread Sascha Welter
(Wed, Jan 30, 2008 at 02:07:47PM +1100) [EMAIL PROTECTED] wrote/schrieb/egrapse:
 I recently installed plone 3 on a RHEL 5 server and did some
 mucking around to get apache working with it. I mostly followed the
 'apache-with-plone' tutotial on plone.org to do this. The way it is
 currently set is as follows:

Please follow the information on
http://wiki.zope.org/zope2/ZopeAndApache
and then get your rewrite rule from http://betabug.ch/zope/witch

 - Apache set to ProxyPass requests from me.com:80 to localhost:8080 (I 
 followed the turtorial mentioned above)

Nobody really uses ProxyPass any more nowadays. apache's RewriteRules
are just more flexible. That tutorial is outdated in this respect.

 However, both these methods lead me straight to the plone website, not
 to the Zope Quick Start page and while i can access the ZMI from
 plone, serverA:8080/manage or www.me.com/managae, the root folder
 shown there is the plone site's root folder.

 Even when i stop apache and access through servera:8080 i still get
 the plone site.

My guess: You probably mucked around with the Mappings tab in the
Virtual Host Monster. Bad idea. The VHM is to be left alone, any
Mappings should be set up using RewriteRule in the apache config.

I don't know how you can un-muck this situation in the VHM. Deleting the
VHM (e.g. through ftp or webdav) will likely not change anything, but
maybe give it a try after a good backup of the Data.fs. Maybe there is a
secret request variable to suppress the VHM mapping? But I don't know
it.

 I need access to the 'real' root folder, ie the one with
 Control_panel, to set some user roles and permissions, but i cant
 find a way.

 I think i must have changed a setting while trying to get apache
 going, but cant remember what I did and I cant seem to find anything
 solving this problem on the internet. Can anyone point me in the right
 direction to solve this problem.

If accessing Zope through port 8080 shows the same problem, it's
unlikely a problem in the apache config.

Regards,

Sascha

___
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] Cant access 'real' root folder in ZMI

2008-01-31 Thread Martijn Pieters
On Jan 30, 2008 4:07 AM,  [EMAIL PROTECTED] wrote:
 However, both these methods lead me straight to the plone website, not to
 the Zope Quick Start page and while i can access the ZMI from plone,
 serverA:8080/manage or www.me.com/managae, the root folder shown there is
 the plone site's root folder.

 Even when i stop apache and access through servera:8080 i still get the
 plone site.

Sounds like either an AccessRule or the VirtualHostMonster (VHM) is
putting you into Plone directly.

You can disable both AccessRules and the VHM by an environment
variable or with a URL path element:

- set the SUPPRESS_ACCESSRULE environment var

- add _SUPPRESS_ACCESSRULE  to your URL.

So http://servera:8080/_SUPPRESS_ACCESSRULE should solve this for you;
double check your VHM configuration if this works, it should be empty.

-- 
Martijn Pieters
___
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] Cant access 'real' root folder in ZMI

2008-01-31 Thread Andreas Jung



--On 31. Januar 2008 13:28:36 +0100 Martijn Pieters [EMAIL PROTECTED] 
wrote:



On Jan 30, 2008 4:07 AM,  [EMAIL PROTECTED] wrote:

However, both these methods lead me straight to the plone website, not to
the Zope Quick Start page and while i can access the ZMI from plone,
serverA:8080/manage or www.me.com/managae, the root folder shown there is
the plone site's root folder.

Even when i stop apache and access through servera:8080 i still get the
plone site.


Sounds like either an AccessRule or the VirtualHostMonster (VHM) is
putting you into Plone directly.

You can disable both AccessRules and the VHM by an environment
variable or with a URL path element:

- set the SUPPRESS_ACCESSRULE environment var

- add _SUPPRESS_ACCESSRULE  to your URL.

So http://servera:8080/_SUPPRESS_ACCESSRULE should solve this for you;
double check your VHM configuration if this works, it should be empty.



Or by a rule within your etc/zope.conf.

Andreas

pgpbj3S9eNkIv.pgp
Description: 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 )


[Zope] [OT] -C

2008-01-31 Thread Peter Bengtsson



Chris McDonough wrote:
 Ricardo Newbery wrote:

 On Jan 30, 2008, at 12:59 PM, Tres Seaver wrote:

[snip]


 - C


A HA!! That's where that notorious `-C` comes from that we all see in 
the str(REQUEST) on the REQUEST.form part! It's Chris secretly 
influencing our apache rewrite rules somehow.


 ___
 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: [OT] -C

2008-01-31 Thread Chris McDonough

Peter Bengtsson wrote:



Chris McDonough wrote:
  Ricardo Newbery wrote:
 
  On Jan 30, 2008, at 12:59 PM, Tres Seaver wrote:
 
[snip]

 
  - C
 
 
A HA!! That's where that notorious `-C` comes from that we all see in 
the str(REQUEST) on the REQUEST.form part! It's Chris secretly 
influencing our apache rewrite rules somehow.


Dammit!  You figured it out... ;-)

- C

___
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] Re: Zeo and conflict resolution (was suddenly confused)

2008-01-31 Thread Dieter Maurer
Ricardo Newbery wrote at 2008-1-30 13:14 -0800:
 ...
I meant easier for the end user, not the developer.  It's kind of  
complicated right now to explain how to set up a ZEO configuration to  
work with your third-party product.  Makes it a bit of hurdle to  
distribute such a thing for general use.

Loby Jim that he accepts the patch.



-- 
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] Re: Zeo and conflict resolution (was suddenly confused)

2008-01-31 Thread Dieter Maurer
Ricardo Newbery wrote at 2008-1-30 12:24 -0800:
 ...
Has anyone given thought to maybe providing a more general class with  
conflict resolution in the core distribution?

There can be no *general* class with conflict resolution.

Conflicts usually are fatal. Precise knowledge about the intended
use is necessary to determine whether and how a conflict can be resolved.

Take a look at the Length class. It resolves all conflicts in
a way compatible with maintaining the length of a data structure.

However, you must *NOT* use it to assign unique integer tickets
as it may return the same value in different threads.
Without conflict resolution you would get a conflict when
different threads take a ticket concurrently; with the
Lenght conflict resolution, the tickets are no longer unique.



-- 
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] Re: suddenly confused

2008-01-31 Thread Dieter Maurer
Ricardo Newbery wrote at 2008-1-30 12:12 -0800:
 ...
Any plans to incorporate either of these solutions in the next  
release?

I am almost sure that the import App.FindHomes solution will
never go into ZEO. It would tie ZEO to Zope (which probably is
unwanted).

It would be nice if ZEO would learn configuration options
that would cover all of Zope's products locations.
But unfortunately, ZEO is part of ZODB and Jim
declared recently that he is the benevolent dictator for the ZODB
project and he will usually defer things which can increase the
complexity



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


[Zope] zope.app.catalog and Zope 2.10.5?

2008-01-31 Thread Sean Gillies
Will Zope 2.10.5 satisify zope.app.catalog? Do I need to stick to a
particular revision?

Thanks,
Sean

___
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.app.catalog and Zope 2.10.5?

2008-01-31 Thread Andreas Jung



--On 31. Januar 2008 16:33:28 -0700 Sean Gillies [EMAIL PROTECTED] wrote:


Will Zope 2.10.5 satisify zope.app.catalog? Do I need to stick to a
particular revision?




'satisfy'?

-aj

pgpYFse7kLKZ9.pgp
Description: 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 )