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

2005-04-05 Thread Max M
Jim Fulton wrote: We could choose to deprecate ZClasses. If we deprecated them in Zope 2.8, they would still work in Zope 2.8 and Zope 2.9, but their support would be removed in Zope 2.10. Would anyone be upset if this happened? They are evil, they are bad. They lead newcommers down a blind

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

2005-04-05 Thread Arenz, Ralph
SOS This would mean a disaster for us. We've created a lot products using ZClasses in production environment (internet,intranet,eai and so on) since zope-2.1.4. In short our complete developement in Zope is heavily based on ZClasses. We plan to use ZClasses in the future, too. For us ZClasses

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

2005-04-05 Thread Garito
Arenz, Ralph escribió: SOS This would mean a disaster for us. We've created a lot products using ZClasses in production environment (internet,intranet,eai and so on) since zope-2.1.4. In short our complete developement in Zope is heavily based on ZClasses. We plan to use ZClasses in the future,

[Zope] Re: login page problem

2005-04-05 Thread prabuddha ray
Hi list, I've got some clarifications given below. On Mon, 04 Apr 2005 16:08:50 +0100, Cliff Ford [EMAIL PROTECTED] wrote: I am abstracting bits of your email below in case anyone else wants to join in. If you are going to use Plone I can't offer advice - I have looked at Plone on three

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

2005-04-05 Thread Lennart Regebro
On the Paris sprint, one thing that was noted was how ironic it was that the release of 2.8, which includes support for the new recommended development paradigm, was held up becuase we neeeded to support an old non-recommended one. :-) Anyway, my main question is: You who are using ZClasses,

[Zope] Re: Potential PythonScript bug

2005-04-05 Thread Chris Withers
Ira Sher wrote: migrated out since then, PluginIndexes and ZCTextIndex I can't grab These both ship as part of Zope, you shouldn't even by trying to install them! cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

[Zope] Software Patents and Content Management Systems

2005-04-05 Thread Jan Ulrich Hasecke
Hi, I am sorry for this excessive crossposting, but it is urgent and important. The ffii.org made a list of cms-related patents. They need some feedback from people actively using or developing Content Management Systems to qualify the patents. Please note that there is an ongoing legislative

Re: [Zope] Software Patents and Content Management Systems

2005-04-05 Thread Lennart Regebro
On Apr 5, 2005 12:53 PM, Jan Ulrich Hasecke [EMAIL PROTECTED] wrote: Hi, I am sorry for this excessive crossposting, but it is urgent and important. I agree. Please consider the listed patent descriptions in context of your favorite Zope CMS and give feedback to Holger Blasum or Dirk

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

2005-04-05 Thread Jake
Lennart Regebro said: Anyway, my main question is: You who are using ZClasses, can't you just stay on Zope2.8 or 2.9, if Zope 2.10 would not contain ZClass support? That is possible, but it would be nice to be able to transition out of ZClasses through 2.8 - 2.9 - 2.10 as opposed to there

Re: [Zope] Software Patents and Content Management Systems

2005-04-05 Thread Florent Guillaume
Lennart Regebro [EMAIL PROTECTED] wrote: I am sorry for this excessive crossposting, but it is urgent and important. I agree. Please consider the listed patent descriptions in context of your favorite Zope CMS and give feedback to Holger Blasum or Dirk Steuwer from FFII. Clarify to

Re: [Zope] Re: login page problem

2005-04-05 Thread Chris Withers
Dieter Maurer wrote: exUserFolder is something like the big brother of SimpleUserFolder -- much more complex but also much more flexible... I dispute that ;-) I don't know of anything you can do with XUF that can't be done with SUF... Chris -- Simplistix - Content Management, Zope Python

Re: [Zope] Problem with Z Psycopg

2005-04-05 Thread Garth B.
I have the same problem, but I eventually corrected it, by forcibly closing the connection each time prior to running the queries. Fortunately, my scenario uses page caching to reduce the number of hits to the db so the additional effort of reopening the connection is neglible. I'd sure like to

[Zope] Re: Software Patents and Content Management Systems

2005-04-05 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Florent Guillaume wrote: Linus Torvalds and others have suggested that from a legal point of view it is a bad idea to read through existing patents to see if some apply to your software, because it shows you were aware of being infringing on

[Zope] Re: Plone/Zope on Debian Sarge

2005-04-05 Thread Derrick Hudson
On Mon, Apr 04, 2005 at 02:02:43PM +0100, Chris Withers wrote: | The moral of this whole story seems to shine through: | | Don't install Zope from OS packages like debian, they never get it right | and you will just end up getting confused ;-) Never say never. The problem with debian is the

[Zope] (Security) Hotfix_20050405 Released

2005-04-05 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Overview Zope Corporation has released a Zope hotfix product addressing a potential vulnerability discovered during a recent security audit of Zope 2.7 and 2.8. Affected Versions The hotfix affects versions 2.7.5 and earlier of Zope on the

Re: [Zope] Re: Plone/Zope on Debian Sarge

2005-04-05 Thread Andreas Pakulat
On 05.Apr 2005 - 12:01:14, Derrick Hudson wrote: On Mon, Apr 04, 2005 at 02:02:43PM +0100, Chris Withers wrote: | The moral of this whole story seems to shine through: | | Don't install Zope from OS packages like debian, they never get it right | and you will just end up getting confused

Re: [Zope] Problem with Z Psycopg

2005-04-05 Thread Barry Pederson
Jason Leach wrote: I'm having a problem with Z Psycopg. From time to time (quite often) it looses the connection with the database and I get: Site Error An error was encountered while publishing this resource. Error Type: OperationalError Error Value: no connection to the server

[Zope] (Security) Hotfix_20050405 Released (URL correction)

2005-04-05 Thread Tres Seaver
of Zope as it becomes available. Further Information Please see the product README, http://www.zope.org/Products/Zope/Hotfix-2005-04-05/Hotfix-20050405/README.txt for details on the vulnerability, and for instructions on installing the hotfix. Downloading the Hotfix - Unix tarball, http

[Zope] CMFSin time errors

2005-04-05 Thread MILLER Eva
Title: CMFSin time errors Hi, I'm getting some errors with certain feeds, but not others, in CMFSin. The errors seem to have something to do with the portaltime and localized time. Someone suggested changing the permissions for anonymous to fix this. Doing that made all my feeds

[Zope] Product creation difficulty

2005-04-05 Thread Pete Taylor
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? I've tried three or four, all of which work after a fashion... I have a very simple class that I've been using to test product

[Zope] Re: CMFSin time errors

2005-04-05 Thread Michael Haubenwallner
MILLER Eva wrote: Hi, I'm getting some errors with certain feeds, but not others, in CMFSin. The errors seem to have something to do with the portaltime and localized time. Someone suggested changing the permissions for anonymous to fix this. Doing that made all my feeds malfunction, so that's not

[Zope] Programatically setting advanced settings in zsql methods

2005-04-05 Thread Jeff Gentry
Hello ... I have a python based product where I am creating a few zsql methods at the time of instantiation. I recently realized that there is the default 1000 row maximum limit on query rows. While this can be changed through the management interface, I am trying to figure out how to do this

[Zope] Multiple Browser Id Managers question

2005-04-05 Thread David H
Hi Zope List, The current SESSION Chapter in the Zope Book 2.7 says the following: ... once you've instantiated one browser id manager or if you keep the default browser id manager, you will not be able to instantiate another browser id manager in a place where the new browser id manager can

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

2005-04-05 Thread Dieter Maurer
Lennart Regebro wrote at 2005-4-5 11:48 +0200: On the Paris sprint, one thing that was noted was how ironic it was that the release of 2.8, which includes support for the new recommended development paradigm, was held up becuase we neeeded to support an old non-recommended one. :-) ZClasses

Re: [Zope] Problem with Z Psycopg

2005-04-05 Thread Dieter Maurer
Jason Leach wrote at 2005-4-4 15:15 -0700: I'm having a problem with Z Psycopg. From time to time (quite often) it looses the connection with the database and I get: Site Error An error was encountered while publishing this resource. Error Type: OperationalError Error Value: no

Re: [Zope] Set MIME type using ZPT

2005-04-05 Thread Dieter Maurer
srikanth wrote at 2005-4-5 13:11 -0700: I am using an external method to load an Image from the harddrive. The external method is as follows: from email.MIMEImage import MIMEImage ##parameters=filename def getDocument(filename): fname = '/mnt/'+filename; input = open(fname,'r')

Re: [Zope] Problem with Z Psycopg

2005-04-05 Thread Dieter Maurer
Barry Pederson wrote at 2005-4-4 22:15 -0500: ... Not sure, but I can report seeing the same thing on a different setup FreeBSD 4.8 Zope 2.7.5 Python 2.3.5 psycopg 1.1.18 (linked to PostgreSQL 8.0.1 client library) (PostgreSQL server is also 8.0.1, but on

Re: [Zope] Re: login page problem

2005-04-05 Thread Dieter Maurer
Chris Withers wrote at 2005-4-5 13:54 +0100: Dieter Maurer wrote: exUserFolder is something like the big brother of SimpleUserFolder -- much more complex but also much more flexible... I dispute that ;-) That is usual with us two ;-) I don't know of anything you can do with XUF that can't be

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

2005-04-05 Thread Jake
And that is probably the best arguement for keeping them around longer. Until the documentation has caught up to the new features, it seems a bit ahead of schedule to start dropping support for them. Jake -- http://www.ZopeZone.com Dieter Maurer said: Lennart Regebro wrote at 2005-4-5 11:48

Re: [Zope] Problem with Z Psycopg

2005-04-05 Thread Jeff Gentry
On Tue, 5 Apr 2005, Dieter Maurer wrote: I'm having a problem with Z Psycopg. From time to time (quite often) it looses the connection with the database and I get: Site Error An error was encountered while publishing this resource. Error Type: OperationalError Error Value: no

Re: [Zope] Multiple Browser Id Managers question

2005-04-05 Thread Chris McDonough
That sentence in the Zope Book should likely be removed. It is inaccurate. It is possible to continue to add browser id managers wherever you'd like. Doing so doesn't do anything bad (except maybe confuse people). On Tue, 2005-04-05 at 15:46, David H wrote: Hi Zope List, The current

[Zope] segregated users

2005-04-05 Thread Tim Evans
I apologize if this issue is something that has been discussed before, but I searched the archives to no avail. I'm evaluating zope for a project, and I have some questions regarding the extensibility of the user security model. The company I work for would like to provide documents to clients

Re: [Zope] segregated users

2005-04-05 Thread Dennis Allison
Certainly possible, but you'll need to do a bit of application specific coding. On Tue, 5 Apr 2005, Tim Evans wrote: I apologize if this issue is something that has been discussed before, but I searched the archives to no avail. I'm evaluating zope for a project, and I have some questions

Re: [Zope] Re: login page problem

2005-04-05 Thread Paul Winkler
On Tue, Apr 05, 2005 at 09:32:04PM +0200, Dieter Maurer wrote: exUserFolder has built in caching (positive and negative caches), I guess that by negative cache you mean something like a cache of failed user lookups? Nice. -- Paul Winkler http://www.slinkp.com

Re: [Zope] Set MIME type using ZPT

2005-04-05 Thread Tino Wildenhain
Am Dienstag, den 05.04.2005, 13:11 -0700 schrieb srikanth: Hi, I am using an external method to load an Image from the harddrive. The external method is as follows: from email.MIMEImage import MIMEImage ##parameters=filename def getDocument(filename): fname = '/mnt/'+filename;

Re: [Zope] Problem with Z Psycopg

2005-04-05 Thread Barry Pederson
Dieter Maurer wrote: Jason Leach wrote at 2005-4-4 15:15 -0700: I'm having a problem with Z Psycopg. From time to time (quite often) it looses the connection with the database and I get: Site Error An error was encountered while publishing this resource. Error Type: OperationalError

Re: [Zope] Programatically setting advanced settings in zsql methods

2005-04-05 Thread J Cameron Cooper
Jeff Gentry wrote: Hello ... I have a python based product where I am creating a few zsql methods at the time of instantiation. I recently realized that there is the default 1000 row maximum limit on query rows. While this can be changed through the management interface, I am trying to figure

RE: [Zope] RSS feed: post-processing?

2005-04-05 Thread MILLER Eva
Hi, OK, let me see if I can do that... I've already figured out that a python script/external method solution is what I'm after. But how to make it work? Anyone know about Greasemonkey in Firefox? Basically, it embeds a handy link in Web pages that have ISBN numbers in them (unique identifier

RES: [Zope] Programatically setting advanced settings in zsql methods

2005-04-05 Thread Jose Henrique dos Reis
Jeff, Take a look at manage_advanced method in lib\python\Shared\DC\ZRDB\DA.py. Zenrique -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nome de Jeff Gentry Enviada em: terça-feira, 5 de abril de 2005 16:29 Para: zope@zope.org Assunto: [Zope] Programatically setting

Re: [Zope] Re: Plone/Zope on Debian Sarge

2005-04-05 Thread Andreas Pakulat
On 05.Apr 2005 - 13:49:04, Derrick Hudson wrote: On Tue, Apr 05, 2005 at 07:34:14PM +0200, Andreas Pakulat wrote: | On 05.Apr 2005 - 12:01:14, Derrick Hudson wrote: | On Mon, Apr 04, 2005 at 02:02:43PM +0100, Chris Withers wrote: | but before that began the packages were just fine. It would

Re: [Zope] Problem with Z Psycopg

2005-04-05 Thread Jason Leach
On Apr 5, 2005 1:03 PM, Dieter Maurer [EMAIL PROTECTED] wrote: Jason Leach wrote at 2005-4-4 15:15 -0700: I'm having a problem with Z Psycopg. From time to time (quite often) it looses the connection with the database and I get: Site Error An error was encountered while publishing this

Re: [Zope] Re: login page problem

2005-04-05 Thread Chris Withers
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. directly integrates with the MembershipTool What does that entail? SUF should quite happilly replace the

Re: [Zope] Product creation difficulty

2005-04-05 Thread Chris Withers
Pete Taylor wrote: 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? Look at the Zope Book in Plope.com. Manipulating _ac_permissions directly is NOT the thing to do nowadays...

Re: [Zope] Programatically setting advanced settings in zsql methods

2005-04-05 Thread Chris Withers
J Cameron Cooper wrote: Of course. You can do anything the ZMI does. If you look at how it's done there, you will eventually come to the method manage_advanced. You can see it online: http://svn.zope.org/Zope/trunk/lib/python/Shared/DC/ZRDB/DA.py?rev=24751view=auto I suppose you could also

[Zope] Re: CMFSin time errors

2005-04-05 Thread alan runyan
MILLER Eva wrote: Hi, I'm getting some errors with certain feeds, but not others, in CMFSin. The errors seem to have something to do with the portaltime and localized time. Someone suggested changing the permissions for anonymous to fix this. Doing that made all my feeds malfunction, so that's

Re: [Zope] Programatically setting advanced settings in zsql methods

2005-04-05 Thread Jeff Gentry
On Wed, 6 Apr 2005, Chris Withers wrote: Check out how it's implemented in the CMF's FSZSQLMethods To this and others who responded, thanks for the pointers. I assumed that it was going to be possible (since the ZMI does it ...) but didn't know where to look for that, and google searches on

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

2005-04-05 Thread Andreas Jung
--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 responsibility in maintaining them in future releases.

[Zope] Re: login page problem

2005-04-05 Thread prabuddha ray
HI Cliff, I was hoping another reply eagerly. hope you dint give up on me. I've got some clarifications given below. On Mon, 04 Apr 2005 16:08:50 +0100, Cliff Ford [EMAIL PROTECTED] wrote: I am abstracting bits of your email below in case anyone else wants to join in. If you are

[Zope-Checkins] CVS: Zope/doc - CHANGES.txt:1.625.2.317

2005-04-05 Thread Andreas Jung
Update of /cvs-repository/Zope/doc In directory cvs.zope.org:/tmp/cvs-serv32735/doc Modified Files: Tag: Zope-2_7-branch CHANGES.txt Log Message: - Collector #1721: Fixed handling of an empty indexed_attrs parameter === Zope/doc/CHANGES.txt 1.625.2.316 = 1.625.2.317 === ---

[Zope-Checkins] SVN: Zope/trunk/ - Collector #1721: Fixed handling of an empty indexed_attrs parameter

2005-04-05 Thread Andreas Jung
Log message for revision 29881: - Collector #1721: Fixed handling of an empty indexed_attrs parameter Changed: U Zope/trunk/doc/CHANGES.txt U Zope/trunk/lib/python/Products/PluginIndexes/common/UnIndex.py -=- Modified: Zope/trunk/doc/CHANGES.txt

[Zope-Checkins] CVS: Packages/RestrictedPython - RestrictionMutator.py:1.10.68.4

2005-04-05 Thread Tres Seaver
Update of /cvs-repository/Packages/RestrictedPython In directory cvs.zope.org:/tmp/cvs-serv19057/lib/python/RestrictedPython Modified Files: Tag: Zope-2_7-branch RestrictionMutator.py Log Message: Hotfix_20050405: prevent untrusted code from shadowing roles on protected methods

[Zope-Checkins] CVS: Packages/AccessControl - ZopeGuards.py:1.16.2.5

2005-04-05 Thread Tres Seaver
Update of /cvs-repository/Packages/AccessControl In directory cvs.zope.org:/tmp/cvs-serv19057/lib/python/AccessControl Modified Files: Tag: Zope-2_7-branch ZopeGuards.py Log Message: Hotfix_20050405: prevent untrusted code from shadowing roles on protected methods of base

[Zope-Checkins] CVS: Packages/AccessControl/tests - testZopeGuards.py:1.1.4.9

2005-04-05 Thread Tres Seaver
Update of /cvs-repository/Packages/AccessControl/tests In directory cvs.zope.org:/tmp/cvs-serv19057/lib/python/AccessControl/tests Modified Files: Tag: Zope-2_7-branch testZopeGuards.py Log Message: Hotfix_20050405: prevent untrusted code from shadowing roles on protected methods

[Zope-dev] (Security) Hotfix_20050405 Released

2005-04-05 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Overview Zope Corporation has released a Zope hotfix product addressing a potential vulnerability discovered during a recent security audit of Zope 2.7 and 2.8. Affected Versions The hotfix affects versions 2.7.5 and earlier of Zope on the

[Zope-dev] (Security) Hotfix_20050405 Released (URL correction)

2005-04-05 Thread Tres Seaver
of Zope as it becomes available. Further Information Please see the product README, http://www.zope.org/Products/Zope/Hotfix-2005-04-05/Hotfix-20050405/README.txt for details on the vulnerability, and for instructions on installing the hotfix. Downloading the Hotfix - Unix tarball, http

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

2005-04-05 Thread Pavel Zaitsev
Hello, 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 sometimes zope dies, as open system call never returns. I had two choices, one to fix Darwin

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

2005-04-05 Thread Chris McDonough
On Wed, 2005-04-06 at 00:45, Pavel Zaitsev wrote: Hello, 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 sometimes zope dies, as open system call