[Zope-Checkins] SVN: Zope/trunk/ Temporarily point the ZODB code at current 3.4 branch.

2005-04-06 Thread Tim Peters
Log message for revision 29892: Temporarily point the ZODB code at current 3.4 branch. That contains some of the changes from Jim's ZClasses branch. The other changes still need to be merged into Zope, but require using current ZODB code. Pointing at the 3.4 branch allows for easy

[Zope-dev] Re: brain.getObject and traversal

2005-04-06 Thread Andreas Jung
--On Mittwoch, 6. April 2005 10:16 Uhr +0100 Chris Withers [EMAIL PROTECTED] wrote: It is really up to Andreas whether or not to accept such a change on the 2.7 line. Andreas, whatcha think? Sorry, I have to catch up with this thread. I thought the problem was solved by Tres new

[Zope-dev] Can't import objects in Zope 2.8a2

2005-04-06 Thread Santi Camps
Hi all, I'm just trying recent Zope 2.8 a2 and I'm not able to import any .zexp file. At the begin I thought that it could be caused by the zexp I was trying to import, but default Examples.zexp also cause the same error. I've tried with and without ZEO, and with and without debug mode,

Re: [Zope-dev] Can't import objects in Zope 2.8a2

2005-04-06 Thread Jens Vagelpohl
On Apr 6, 2005, at 14:11, Santi Camps wrote: Hi all, I'm just trying recent Zope 2.8 a2 and I'm not able to import any .zexp file. At the begin I thought that it could be caused by the zexp I was trying to import, but default Examples.zexp also cause the same error. I've tried with and

[Zope-dev] I want Zope 2.9 to use Zope 3's security architecture.

2005-04-06 Thread Jim Fulton
I very much want Zope 2.9 to use Zope 3's security architecture. Zope 3's security architecture is far more robust, but it is different in some significant ways: - It protects names not values. This means that you protect how you access things, not the things themselves. - It doesn't provide

Re: [Zope-dev] Can't import objects in Zope 2.8a2

2005-04-06 Thread Andreas Jung
--On Mittwoch, 6. April 2005 14:22 Uhr +0200 Jens Vagelpohl [EMAIL PROTECTED] wrote: On Apr 6, 2005, at 14:11, Santi Camps wrote: Hi all, I'm just trying recent Zope 2.8 a2 and I'm not able to import any .zexp file. At the begin I thought that it could be caused by the zexp I was trying to

Re: [Zope-dev] Can't import objects in Zope 2.8a2

2005-04-06 Thread Jens Vagelpohl
On Apr 6, 2005, at 15:00, Tim Peters wrote: LOL looks like someone left a pdb.set_trace() in the ZODB.Connection.modifiedInVersion method... Yup, that got checked in by mistake during the recent ZODB sprint at PyCon. It's repaired on Zope trunk / ZODB 3.4a2, so try the trunk instead. Another

[Zope-dev] Re: brain.getObject and traversal

2005-04-06 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas Jung wrote: --On Mittwoch, 6. April 2005 10:16 Uhr +0100 Chris Withers [EMAIL PROTECTED] wrote: It is really up to Andreas whether or not to accept such a change on the 2.7 line. Andreas, whatcha think? Sorry, I have to

[Zope-dev] Re: brain.getObject and traversal

2005-04-06 Thread Andreas Jung
--On Mittwoch, 6. April 2005 9:32 Uhr -0400 Tres Seaver [EMAIL PROTECTED] wrote: Chris wants to backport it to 2.7 x; I'm opposed. Your call. If it does not change the default behaviour we have in 2.7.5... why not... Andreas pgp7uZ3q8EeTC.pgp Description: PGP signature

[Zope-dev] Re: Can't import objects in Zope 2.8a2

2005-04-06 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jens Vagelpohl wrote: On Apr 6, 2005, at 15:00, Tim Peters wrote: LOL looks like someone left a pdb.set_trace() in the ZODB.Connection.modifiedInVersion method... Yup, that got checked in by mistake during the recent ZODB sprint at PyCon.

Re: [Zope-dev] opinion: speeding up large PUT uploads

2005-04-06 Thread Florent Guillaume
Chris McDonough [EMAIL PROTECTED] wrote: On Wed, 2005-04-06 at 00:45, Pavel Zaitsev wrote: If you look above I had problems with zope creating temp files, as I am using Mac OS X and Webdav to Zope mounted on the same machine. There is some race condition on locks in mach kernel, and

Re: [Zope-dev] Can't import objects in Zope 2.8a2

2005-04-06 Thread Tim Peters
[Jens Vagelpohl] So I was clicking through svn.zope.org trying to find the ZODB code in question but couldn't, simply because I did not know what tag/branch the version stitched into Zope 2.8a2 is. How can you tell from looking at the Zope code on http://svn.zope.org which ZODB branch/tag is

Re: [Zope-dev] Can't import objects in Zope 2.8a2

2005-04-06 Thread Jens Vagelpohl
On Apr 6, 2005, at 17:50, Tim Peters wrote: [Jens Vagelpohl] So I was clicking through svn.zope.org trying to find the ZODB code in question but couldn't, simply because I did not know what tag/branch the version stitched into Zope 2.8a2 is. How can you tell from looking at the Zope code on

Re: [Zope-dev] I want Zope 2.9 to use Zope 3's security architecture.

2005-04-06 Thread Paul Winkler
On Wed, Apr 06, 2005 at 08:33:39AM -0400, Jim Fulton wrote: I very much want Zope 2.9 to use Zope 3's security architecture. Zope 3's security architecture is far more robust, but it is different in some significant ways: (snip) Will this all be under the hood? i.e. will Products have to be

Re: [Zope-dev] I want Zope 2.9 to use Zope 3's security architecture.

2005-04-06 Thread Jim Fulton
Paul Winkler wrote: On Wed, Apr 06, 2005 at 08:33:39AM -0400, Jim Fulton wrote: I very much want Zope 2.9 to use Zope 3's security architecture. Zope 3's security architecture is far more robust, but it is different in some significant ways: (snip) Will this all be under the hood? i.e. will

Re: [Zope-dev] I want Zope 2.9 to use Zope 3's security architecture.

2005-04-06 Thread Paul Winkler
On Wed, Apr 06, 2005 at 12:49:19PM -0400, Jim Fulton wrote: o No support for key-based access control Don't know what that is. It was/is possible to control access to mapping items based on item values (e.g. key values). OK... I've never used this AFAIK. Anybody know if it's a widely

Re: [Zope-dev] I want Zope 2.9 to use Zope 3's security architecture.

2005-04-06 Thread Sidnei da Silva
On Wed, Apr 06, 2005 at 12:49:19PM -0400, Jim Fulton wrote: | i.e. will I still write: | | security.declareProtected(SomePermission, 'foo') | def foo(self): | ... | | That will work, and I don't see a need to deprecate it. | Eventually, though, I expect products to migrate to |

Re: [Zope-dev] Five within Zope 2.8 - really cool !

2005-04-06 Thread Martijn Faassen
Andreas Jung wrote: I just would like to thank everyone working on the Five integration with Zope 2.8. It's really easy and fun to work with views, view classes, adapters and interfaces in a Zope 2 environment. I've always tried to get around Zope 3 somehow but now I am at the point where I am

[Zope-dev] Zope 2.7.6 release schedule

2005-04-06 Thread Andreas Jung
The schedule for the next Zope release is a follows: 2.7.6 b1: April 13th 2.7.6 RC1: April 20th 2.7.6 final: April 27th Although 2.7.5 had been relased lately, yesterdays hotfix and another bug justify a new release this month. Andreas pgplUhIIumTkV.pgp Description: PGP signature

Re: [Zope-dev] I want Zope 2.9 to use Zope 3's security architecture.

2005-04-06 Thread Dieter Maurer
Jim Fulton wrote at 2005-4-6 08:33 -0400: I very much want Zope 2.9 to use Zope 3's security architecture. Zope 3's security architecture is far more robust, but it is different in some significant ways: Even small modifications to the security machinery tend to end up in lots of problems. The

Re: [Zope-dev] I want Zope 2.9 to use Zope 3's security architecture.

2005-04-06 Thread Jim Fulton
Dieter Maurer wrote: Jim Fulton wrote at 2005-4-6 08:33 -0400: I very much want Zope 2.9 to use Zope 3's security architecture. Zope 3's security architecture is far more robust, but it is different in some significant ways: Even small modifications to the security machinery tend to end up in

[Zope-dev] SiteRoot and VHM

2005-04-06 Thread Florent Guillaume
After spending an hour helping someone debug a site that had an hidden SiteRoot somewhere that prevented a virtual host monster from working, it was suggested to me that if there's a virtual host monster, it should take precedence (and deactivates) any further SiteRoot. I think it's a good

Re: [Zope-dev] I want Zope 2.9 to use Zope 3's security architecture.

2005-04-06 Thread Richard Jones
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 7 Apr 2005 02:49 am, Jim Fulton wrote: Paul Winkler wrote: i.e. will I still write: security.declareProtected(SomePermission, 'foo') def foo(self): ... That will work, and I don't see a need to deprecate it.

Re: [Zope-dev] I want Zope 2.9 to use Zope 3's security architecture.

2005-04-06 Thread Andreas Jung
--On Mittwoch, 6. April 2005 21:59 Uhr +0200 Dieter Maurer [EMAIL PROTECTED] wrote: Jim Fulton wrote at 2005-4-6 08:33 -0400: I very much want Zope 2.9 to use Zope 3's security architecture. Zope 3's security architecture is far more robust, but it is different in some significant ways: Even

Re: [Zope] Problem with Z Psycopg

2005-04-06 Thread Lutz Steinborn
Hi, try to ask frederico [EMAIL PROTECTED] the maintainer zpsycopg/da directly. We use postgresql 8.0.1 and psycopg 1.1.18 with out this problems. best regards Lutz On Mon, 4 Apr 2005 15:15:17 -0700 Jason Leach [EMAIL PROTECTED] wrote: I'm having a problem with Z Psycopg. From time to time

Re: [Zope] Does anyone care whether we deprecate ZClasses?

2005-04-06 Thread Sascha Welter
(Tue, Apr 05, 2005 at 06:46:23PM -0400) [EMAIL PROTECTED] wrote/schrieb/egrapse: From: Dieter Maurer [EMAIL PROTECTED]: ZClasses feature prominently in the Zope book. Seems they are more recommended than the new development paradigm (which does not yet feature at all in the Zope book). I

Re: [Zope] Does anyone care whether we deprecate ZClasses?

2005-04-06 Thread Jens Vagelpohl
On Apr 6, 2005, at 6:59, Andreas Jung wrote: --On Dienstag, 5. April 2005 16:38 Uhr -0400 Jake [EMAIL PROTECTED] wrote: And that is probably the best arguement for keeping them around longer. We should get to the point: if some people depend on ZClasses then they should take over some

Re: [Zope] Re: login page problem

2005-04-06 Thread Jens Vagelpohl
On Apr 6, 2005, at 0:52, Chris Withers wrote: Dieter Maurer wrote: exUserFolder has built in caching (positive and negative caches), Dunno what that means, but SUF supports caching via standard RAMCacheManagers or ZSQL method caching. negative caching means that there is a separate cache to cache

Re: [Zope] Set MIME type using ZPT

2005-04-06 Thread Cliff Ford
srikanth wrote: Hi, I tried this one. But the html page takes the parameter as a string but doenst Execute the pyhton function. I got all the functions (External methods) all set. The img tag I used is: span tal:define=imagename result/filenameImg src=loadImage?filename=imagename/span Have a

RE: [Zope] Does anyone care whether we deprecate ZClasses?

2005-04-06 Thread Pascal Peregrina
About archetypes... Documentation http://plone.org/documentation/archetypes Nice presentation (in French) : http://lsm2004.abul.org/IMG/pdf/slides_-_zope_archetypes_-_Gilles_Lenfant_.p df (look at the links on page 35) Pascal -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL

Re: [Zope] segregated users

2005-04-06 Thread Cliff Ford
It is possible, I have done something similar. My solution involves giving users a Local Role in a folder to which access is to be granted. I built a small utility (with ZClasses - doh) to make it easy for the Administrators to add users from a database. Cliff Tim Evans wrote: I apologize if

Re: [Zope] Re: login page problem

2005-04-06 Thread Cliff Ford
I am not sure I have much to add. I have been concerned about your product architecture and unusual login procedure, but that is really non of my business. Some of what you say below is inconsistent: One problem that concerns next query is that it took only one table for user details whereas

Re: [Zope] Plone/Zope on Debian Sarge

2005-04-06 Thread Chris Withers
Robert (Jamie) Munro wrote: Don't install Zope from OS packages like debian, they never get it right and you will just end up getting confused ;-) I don't come to this conclusion at all. That's 'cos you haven't run into the problems that come with using OS packages and the added level of

Re: [Zope] Plone/Zope on Debian Sarge

2005-04-06 Thread Chris Withers
charlie derr wrote: I (a relative zope amateur) would offer my own counter-experience. I recently set up zope-coreblog and zope2.7 (using packages from debian sarge/testing), and it's been running with very few issues for several months (and I additionally was able to get ldap integration

Re: [Zope] Re: login page problem

2005-04-06 Thread Chris Withers
Jens Vagelpohl wrote: negative caching means that there is a separate cache to cache failed user lookups for a while and return a failure immediately instead of re-trying the user lookup doing a (possibly expensive) user search in the underlying backend.It's a little bit like Squids

[Zope] login system discussion

2005-04-06 Thread prabuddha ray
I'm often failing to describe problems correctly, kindly bear for that. lets revise, In my login page I've two tables used district and userdetail. district table ( district_code, distname, location ...) userdetail (username ,password, empcode ,district_code ,ulevel ...)

[Zope] Re: Does anyone care whether we deprecate ZClasses?

2005-04-06 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jens Vagelpohl wrote: On Apr 6, 2005, at 6:59, Andreas Jung wrote: --On Dienstag, 5. April 2005 16:38 Uhr -0400 Jake [EMAIL PROTECTED] wrote: And that is probably the best arguement for keeping them around longer. We should get to the

Re: [Zope] ClockServer 0.1 released

2005-04-06 Thread Florent Guillaume
Chris McDonough [EMAIL PROTECTED] wrote: I was creeped out by Zope scheduling products that started a separate thread to call methods at scheduled intervals and I got tired of setting up cron+wget to call Zope methods via HTTP, thus: http://plope.com/software/ClockServer It works by

Re: [Zope] Does anyone care whether we deprecate ZClasses?

2005-04-06 Thread Lennart Regebro
I don't know if I'm living under a rock or something, but I'm using Zope on and off since about 2.5.1, and I've barely heard about archetypes. So far I did not come across a simple introduction, tutorial, or even explanation of them. The new stuff mentioned on this thread is the zope 3

Re: [Zope] Does anyone care whether we deprecate ZClasses?

2005-04-06 Thread Ausum Studio
Is this a kafkanian situation? Are really core developers asking the community to kick a used Zope's feature, saying it's because it's hard to maintain it, and simultaneously to say it's code 'unmaintained and untouched since ages'? Folks, you didn't need to ask for the aproval of people who

Re: [Zope] Does anyone care whether we deprecate ZClasses?

2005-04-06 Thread Andreas Jung
--On Mittwoch, 6. April 2005 12:59 Uhr -0500 Ausum Studio [EMAIL PROTECTED] wrote: Is this a kafkanian situation? Are really core developers asking the community to kick a used Zope's feature, saying it's because it's hard to maintain it, and simultaneously to say it's code 'unmaintained and

Re: [Zope] Does anyone care whether we deprecate ZClasses?

2005-04-06 Thread Jonathan Cyr
Yoohoo, ZClasses are not an expert technology to use, they are an introduction to Zope... Just because I use a thing, doesn't mean I can support/maintain a thing. I can read the list, and try to help folks with questions that I've experienced... that's the support that can be offered at my

Re: [Zope] Product creation difficulty

2005-04-06 Thread Dieter Maurer
Pete Taylor wrote at 2005-4-5 15:09 -0400: Does anyone have a recommendation for a Product creation guide/tutorial they've used and made work, preferably one with examples and explanations of _ac_permissions The Zope Developer Guide is the relevant documentation. -- Dieter

Re: [Zope] Multiple Browser Id Managers question

2005-04-06 Thread Dieter Maurer
David H wrote at 2005-4-5 12:46 -0700: ... But I find that I *can* add additional Browser Id Managers in folders that can acquire the original browser id manager - without deleting the default copy in Zope root. Any thought ideas on this? Does the principal still stand, e.g. Not good to put

Re: [Zope] Re: Does anyone care whether we deprecate ZClasses?

2005-04-06 Thread Dieter Maurer
Tres Seaver wrote at 2005-4-6 09:47 -0400: ... Perhaps once Jim's current work lands, that might be possible. As it is, most of the work to make ZClasses function in Zope 2.8 has been at the ZODB level (I think); I doubt that anyone (except Dieter!) plans to dive from the frying pan of ZClass

Re: [Zope] segregated users

2005-04-06 Thread Dieter Maurer
Tim Evans wrote at 2005-4-5 16:23 -0500: ... The company I work for would like to provide documents to clients via the web, and only allow one particular client (or group of users from the same client) access to those documents. I don't want any user to be able to detect the presence of any

Re: [Zope] Re: login page problem

2005-04-06 Thread Dieter Maurer
Chris Withers wrote at 2005-4-6 10:04 +0100: ... Oh right, well, again, should be fairly trivial to setup with python scripts and RAMCacheManagers. When I called exUserFolder a big brother of SimpleUserFolder I did not want to imply that you can not add all the missing features to

[Zope] how to instantiate an External Method

2005-04-06 Thread Wladmir Araujo Chapetta
How can i instantiate a external method within my Container Product? I've tryed to do this as following: ... from Products.ExternalMethod import ExternalMethod class Container(Folder): meta_type ='Container' def __init__(self, id, title):

Re: [Zope] Problem with Z Psycopg

2005-04-06 Thread Barry Pederson
Jeff Gentry wrote: On Tue, 5 Apr 2005, Dieter Maurer wrote: Usually, this means that the postgres server process died... I did run into something recently where the local firewall was killing the connection to the DB server due to a timeout, so one of the local admin types wrote a small zsql

Re: [Zope] Does anyone care whether we deprecate ZClasses?

2005-04-06 Thread Andreas Jung
--On Mittwoch, 6. April 2005 16:06 Uhr -0400 Jonathan Cyr [EMAIL PROTECTED] wrote: Yoohoo, ZClasses are not an expert technology to use, they are an introduction to Zope... Just because I use a thing, doesn't mean I can support/maintain a thing. I can read the list, and try to help folks with

[Zope] login system discussion

2005-04-06 Thread prabuddha ray
I'm often failing to describe problems correctly, kindly bear for that. lets revise, In my login page I've two tables used district and userdetail. district table ( district_code, distname, location ...) userdetail (username ,password, empcode ,district_code ,ulevel ...)

Re: [Zope] Does anyone care whether we deprecate ZClasses?

2005-04-06 Thread Dieter Maurer
Jonathan Cyr wrote at 2005-4-6 16:06 -0400: ... just show me how under-represented that beginner and intermediate Zope developers use this list... and then I think, perhaps there aren't any, just me and a few others... and if that's the case, Zope's screwed, and the horse I rode in on. Do not

[Zope] Does anyone care whether we deprecate Your Favourite Part of Zope

2005-04-06 Thread Andrew Milton
I think people on this list need to realize that eventually, the direction of any significantly large Open Source project is hijacked by the relatively small number of people actually doing the work. The reasons for this are many-fold, but, normally come down to a lack of communication between