[Zope] Pword reset tools

2013-06-03 Thread Richard Harley
It looks like there are no pa55word reset products for straight Zope that are still maintained i.e. a feature to allow users to reset their own pa55words via email linking into aclusers. If that is correct does anybody have any pointers for implementing such a mechanism with a one time email

[Zope] Thread Number

2013-05-22 Thread Richard Harley
Is there anything important to consider when increasing the thread count above 7 as outlined here in 24.4.2/3: http://docs.zope.org/zope2/zope2book/MaintainingZope.html I have tried to 10 but encounter problems with number of open file descriptions on Centos 6. Cheers

Re: [Zope] Thread Number

2013-05-22 Thread Richard Harley
Noted, thanks On 22 May 2013, at 08:42, Andreas Jung li...@zopyx.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Reducing the number of threads (down to 1) and having multiple app-servers is usually the way to go instead of increasing the number of threads. - -aj Richard

Re: [Zope] Zope and security vulnerability: 20121106

2012-11-12 Thread Richard Harley
So, to clarify, does this affect plain Zope 2.10, no Plone? Rich On 12/11/12 12:02, johannes raggam wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The affected versions go back a long time. I don't know it exactly, but people have used it successfully with Plone 2.1 (from ancient times)

[Zope] Python scripts

2012-07-06 Thread Richard Harley
Hi On Zope 2.10 is there a simple/universal way to only allow python scripts to be called by DTML methods or other python scripts and not directly TTW? Thanks Rich ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope **

Re: [Zope] Python scripts

2012-07-06 Thread Richard Harley
That works great, thanks. So there is no way to do this across, say, a folder with hundreds of scripts in without duplicating the code in each individually? On 06/07/12 13:30, Laurence Rowe wrote: On 6 July 2012 14:09, Richard Harleyrich...@scholarpack.com wrote: On Zope 2.10

Re: [Zope] CookieCrumbler, any new versions or replacement?

2012-02-02 Thread Richard Harley
What is the main advantage of PAS over cookie crumbler over SSL out of interest? Cheers Rich On 2 Feb 2012, at 21:57, Shane Hathaway sh...@hathawaymix.org wrote: On 02/02/2012 10:46 AM, Hugo Ramos wrote: I need to reuse a web application I developed around 2005/2006. This App was using

[Zope] Python Script Security

2011-11-18 Thread Richard Harley
Hello all I have a dtml method which builds a page from various different python scripts. How can I stop the python scripts from being called and passed variables independently of the main dtml method? I've tried some research on proxy roles but couldn't pin it down. ZSQL methods are not

[Zope] zopetime behaviour

2011-09-20 Thread Richard Harley
Hi all I hope I'm not missing something obvious here. ZopeTime is gaining two hours when it's string formatted. * thistime = context.ZopeTime().strftime(%Y/%m/%d %H:%M:%S) print ZopeTime: print context.ZopeTime() print String formatted ZopeTime: print thistime * The output is this:*

Re: [Zope] is it possible to upgrade from 2.9 to 2.13?

2011-07-04 Thread Richard Harley
Does anyone have any further information on this bug in 2.10 regarding ZSQL methods? Would an upgrade from 2.9 to 2.10+ in an app using lots of zsql methods cause unforseen issues? On 04/07/11 09:46, Stefan Loidl wrote: Hi Fernando, the option 'enable-product-installation' in zope.conf has

[Zope] AUTHENTICATED_USER

2011-05-13 Thread Richard Harley
Please could someone tell me why AUTHENTICATED_USER was deprecated in favour of the python security module? A quick google says because it can be replaced..but this isn't really a good in depth explanation? If a request was manipulated to include another AUTHENTICATED_USER, wouldn't Zope just

Re: [Zope] AUTHENTICATED_USER

2011-05-13 Thread richard
SIGNED MESSAGE- Hash: SHA1 On 05/13/2011 03:36 PM, Richard Harley wrote: Please could someone tell me why AUTHENTICATED_USER was deprecated in favour of the python security module? A quick google says because it can be replaced..but this isn't really a good in depth explanation

[Zope] Zope Dates

2011-05-03 Thread Richard Harley
=) but it would be really useful to have Zope sort this out for me without having to do any string formatting. Any ideas? Thanks Richard ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope] Zope Dates

2011-05-03 Thread Richard Harley
it explicitly in your application. - -aj Richard Harley wrote: Hello all Hoping there is a quick fix for this - I'm trying to change how Zope formats dates. I want dd/mm/ but Zope is forcing -mm-dd. I've changed the format in zope.conf to 'international' but this makes no difference. I know dates

[Zope] Forum

2011-01-06 Thread Richard Harley
Hello all Are there any current forums which integrate into Zope nicely? I have tried Zforum and Squishdot in the past but I don't think either of these two have been updated in quite a while? Thanks Rich ___ Zope maillist - Zope@zope.org

Re: [Zope] Forum

2011-01-06 Thread Richard Harley
Ah, ok , thanks - worth a shot :) On 06/01/11 13:12, Andreas Jung wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Richard Harley wrote: Hello all Are there any current forums which integrate into Zope nicely? I have tried Zforum and Squishdot in the past but I don't think either

Re: [Zope] Question about Upgrading Zope and OS X Server

2010-12-09 Thread Richard Harley
with Python 2.3.5. Either way, is Zope 2.8.7 a significantly better choice than 2.8.6? On Dec 8, 2010, at 8:22 AM, Richard Harley wrote: Dan - we are using 64bit Zope 2.8.7 and python 2.4 with no problems for years now. It can do everything we want with regards to Python scripting

Re: [Zope] Question about Upgrading Zope and OS X Server

2010-12-08 Thread Richard Harley
Dan - we are using 64bit Zope 2.8.7 and python 2.4 with no problems for years now. It can do everything we want with regards to Python scripting, database connectivity etc. I can't think of any huge problems with staying on Zope 2.8.6/7 era. I have said before 2.10+ breaks lots of products

Re: [Zope] change permission of image

2010-11-19 Thread Richard Harley
Thanks Andreas On 16/11/10 13:47, Andreas Jung wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Richard Harley wrote: Just want to find out how to change the permissions of a file/image using a python script and can't see this in the documentation. Any ideas

[Zope] Zip Folder

2010-11-03 Thread Richard Harley
Hello all I have been using Zope 2.9 - which works with the zip folder product. Now I upgraded to Zope 2.13 but the zip folder product does not work. Is there an equivalent, or another way of unzipping folders straight into the filesystem? Thanks Richard

Re: [Zope] Zip Folder

2010-11-03 Thread Richard Harley
http://www.python.org/peps/pep-0263.html for details/ It is 9 years old now I think - but I haven't seen a substitute! Richard On 03/11/10 13:02, Andreas Jung wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Richard Harley wrote: Hello all I have been using Zope 2.9 - which works

Re: [Zope] Zip Folder

2010-11-03 Thread Richard Harley
OK thanks, I'll have a look. I didn't want to waste time hacking around old products initially. I guess there's not much demand for this then, because it would have been done and released otherwise. I'm surprised it's not a staple part of a zope installation though. Richard On 03/11/10 14:12

[Zope] Logging a user onto zope

2010-09-20 Thread Richard Harley
want and very dtml-heavy. Thanks Richard ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org

Re: [Zope-DB] Zope-DB Digest, Vol 72, Issue 1

2010-08-25 Thread Richard Harley
Please can someone explain why ORM is better than speaking directly to the database? Isn't this just adding another layer of complexity which in huge databases is certainly not needed. On 24/08/10 17:00, zope-db-requ...@zope.org wrote: Send Zope-DB mailing list submissions to

Re: [Zope-DB] Zope-DB Digest, Vol 72, Issue 1

2010-08-25 Thread Richard Harley
programming = problems later down the line. On 25/08/10 11:09, Andreas Jung wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Richard Harley wrote: Please can someone explain why ORM is better than speaking directly to the database? Isn't this just adding another layer of complexity

[Zope] commit problems psycopg

2010-08-23 Thread Richard Harley
We have had a problem with postgresql 8.3 on a Windows server 2008. I wonder whether there has been any other experiences like this. We have connected to Potsgres from Zope via a Psycopg adapter and noticed that sometimes when data is inserted via a form in Zope, the data is available in

Re: [Zope] adding swfobject in zope2

2010-08-19 Thread Richard Harley
On 19/08/10 10:02, Tapas Mishra wrote: I am using a Content Management System known as eduCommons. As per suggestions on this list I want to embed swfobject in it. I googled Zope2 documents since eduCommons is based on Zope2. Following results

Re: [Zope] Storing DTML in SQL

2010-08-19 Thread Richard Harley
On 19/08/10 09:37, robert rottermann wrote: Am 18.08.2010 18:56, schrieb Andrew Milton: +---[ robert rottermann ]-- | I think storing dtml in a db is wrong by design. | I do lots of dynamic websites that are generated from external data. | i had no need for a

Re: [Zope] Storing DTML in SQL

2010-08-18 Thread Richard Harley
On 18/08/10 17:38, Andrew Milton wrote: +---[ Garry Saddington ]-- | Andrew Milton wrote: | +---[ Garry Saddington ]-- | | Garry Saddington wrote: | | Justin Dunsworth wrote: | | I am currently working on a project where I am storing HTML

Re: [Zope] zexp import fails from linux to windows due to image file paths

2008-07-22 Thread Richard Ettema
the errors as you suggested and was able to import the zexp without any problems, thanks! Richard. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org

[Zope] zexp import fails from linux to windows due to image file paths

2008-07-16 Thread Richard Ettema
Hi, I have an old zope based site that was hosted on a linux machine that was exported to a zexp. i am trying to import it onto a windows machine to fix up and upgrade the site. the windows machine is setup wth the identical products etc. The problem is the image file paths for linux

Re: [Zope] zexp import fails from linux to windows due to image filepaths

2008-07-16 Thread Richard Ettema
Quoting Jaroslav Lukesh [EMAIL PROTECTED]: You need to export your website folder as ZEXP in XML format. Then you could edit this file at search/replace basis. But before this, try to re-import this ZEXP file, if it is able to import (not all zexp exports are able to reimport). Regards, JL.

[Zope-DB] Reference DTML-sqlvar in ZPT?

2007-07-30 Thread Richard Flaaten
list. This value is passed to a Z SQL Method. My ZPT displays these results, and I need to include the passed value (DTML-sqlvar) in a heading in the ZPT. Any help would be much appreciated. Richard ___ Zope-DB mailing list Zope-DB@zope.org http

Re: [Zope-DB] Reference DTML-sqlvar in ZPT?

2007-07-30 Thread Richard Flaaten
quote who=Charlie Clark Am 30.07.2007, 18:55 Uhr, schrieb Richard Flaaten [EMAIL PROTECTED]: Dear list, I have a ZPT that lists results from a Z SQL Method. It has one argument: dropdown-department. Everything works fine, except I cannot find a way to include the passed SQL argument

Re: [Zope-DB] Reference DTML-sqlvar in ZPT?

2007-07-30 Thread Richard Flaaten
list and passed to the Z SQL Method. I just want to print an already defined variable. The problem is: how to print a dtml-sqlvar in ZPT? I tried p tal:replace=dtml-sqlvar/dropdown-selectiondropdown-selection goes here/p Which did not work. Richard quote who=Charlie Clark Am 30.07.2007, 19:18

Re: [Zope] Suggestion for an opensource barchart/piechart graphic package in python

2007-02-17 Thread Richard Jones
, but I'm not sure on the status of maintenance of the project itself. I like gnuplot which makes it pretty easy to create a wide variety of plots. I know gnuplot; what is the support for python? Google. gnuplot python It's not hard. Richard

[Zope] Foreground, but not debug.

2006-09-17 Thread Richard Downing
Is there a way to run zope in the foreground, but not in debug mode? Debug means that it runs very slowly, and I want to run it under the control of a supervisor (runit). zopectrl -fg doesn't seem to recognise the zope.conf setting. I'm new to zope, but it seems to do what I require. Thanks in

[Zope] Re: Foreground, but not debug.

2006-09-17 Thread Richard Downing
Martijn Pieters wrote: On 9/17/06, Richard Downing [EMAIL PROTECTED] wrote: Is there a way to run zope in the foreground, but not in debug mode? Debug means that it runs very slowly, and I want to run it under the control of a supervisor (runit). zopectl fg forces the debug setting; use

Re: [Zope] download a file in a specific folder in the filesystem

2006-08-24 Thread Richard Phelps
__Zope maillist  -  Zope@zope.orghttp://mail.zope.org/mailman/listinfo/zope**   No cross posts or HTML encoding!  **(Related lists - http://mail.zope.org/mailman/listinfo/zope-announcehttp://mail.zope.org/mailman/listinfo/zope-dev ) Richard Phelps Senior Lecturer in Nephrology Renal Autoimmunity

Re: [Zope-dev] 2.9.4? reStructuredText support?

2006-07-16 Thread Richard Jones
themselves added in 2003. The *warning* about them was added in 2004. The configuration to *disable* them appears to have been added in 2005. What the hell docutils was doing turning this feature on by default... Richard ___ Zope-Dev maillist - Zope-Dev

Re: [Zope] ConflictError with *one* ZEO client?

2006-06-28 Thread Richard Jones
On Wednesday 28 June 2006 18:12, Jens Vagelpohl wrote: On 28 Jun 2006, at 03:24, Richard Jones wrote: I've got a zopectl script I'm trying to run with the zopectl run command. It crashes out with a ConflictError even if there are no other ZEO clients connected to the ZEO store. I've

Re: [Zope] ConflictError with *one* ZEO client?

2006-06-28 Thread Richard Jones
. Removing the .zec files is part of my standard full restart maintenance routine now. Richard ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] ConflictError with *one* ZEO client?

2006-06-28 Thread Richard Jones
On Thursday 29 June 2006 06:13, Dieter Maurer wrote: Richard Jones wrote at 2006-6-28 11:24 +1000: it crashes out with a ConflictError even if there are no other ZEO clients connected to the ZEO store. Usually, a ConflictError does not crash Zope... Sure, we requests are retried, but zopectl

[Zope] ConflictError with *one* ZEO client?

2006-06-27 Thread Richard Jones
I've got a zopectl script I'm trying to run with the zopectl run command. It crashes out with a ConflictError even if there are no other ZEO clients connected to the ZEO store. I've restarted the ZEO store, no change. Any advice? Ideas? Richard

Re: [Zope] ConflictError with *one* ZEO client?

2006-06-27 Thread Richard Jones
, it helps if you post the traceback. Quite so, I apologise for the apalling lack of detail in my post. I'm going to try to reproduce the problem in a few hours. I'll post details then. Richard ___ Zope maillist - Zope@zope.org http://mail.zope.org

[Zope] Multiple SUBMIT images on one form

2006-02-06 Thread Richard Smith
I gather that the problem whereby having more than one IMG submit on a single form causes some browsers (IE but not firefox) problems is well known. The problem is solved by using the positional attributes x,y in a cgi script. However, using Zope I cannot see how to access these atributes

Re: [Zope] Multiple SUBMIT images on one form

2006-02-06 Thread Richard Smith
Andrew Milton wrote: +---[ Richard Smith ]-- | I gather that the problem whereby having more than one IMG submit on a | single form causes some browsers (IE but not firefox) problems is well | known. The problem is solved by using the positional attributes x,y

Re: [Zope] What did your Zope server do in 2005?

2006-01-03 Thread Richard Jones
machines are cheap. Richard ___ 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

[Zope-dev] Puzzling change to guarded_getitem in Zope 2.8

2005-08-25 Thread Richard Jones
more, since name is never a item name, it's always None. Richard pgpj6UDo2aBsA.pgp Description: PGP signature ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding

Re: [Zope-dev] Puzzling change to guarded_getitem in Zope 2.8

2005-08-25 Thread Richard Jones
On Fri, 26 Aug 2005 10:00 am, Richard Jones wrote: I'm migrating our 2.7-developed Product to 2.8. The following change has me puzzled. In 2.7, AccessControl.ZopeGuards guarded_getitem has the following code: OK, Tres made the change, with the relevant bit of the log message being

[Zope] Migration pains going to Zope 2.8

2005-08-24 Thread Richard Jones
I can't instantiate out Product, which is a bit of a hurdle :) Our Product's registration looks like this (this function is invoked from the Product's __init__.py): def initialize(context): ''' Register the CGPublisher class ''' context.registerClass( CGPublisher,

Re: [Zope] Migration pains going to Zope 2.8

2005-08-24 Thread Richard Jones
it. Thanks for the help Dieter, Richard pgpn3xLBQmglw.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

Re: [Zope] Migration pains going to Zope 2.8

2005-08-24 Thread Richard Jones
On Thu, 25 Aug 2005 12:06 pm, Richard Jones wrote: and now everything works. Further data-point - the version of VerboseSecurity is to blame. It's not 2.8-compatible :( Sorry for the noise. Richard pgpvvxmwsl89Y.pgp Description: PGP signature

Re: [Zope] Re: ECommerce?

2005-08-09 Thread Richard Jones
On Wed, 10 Aug 2005 01:04 pm, Jeff Kowalczyk wrote: Shane Graber wrote: I'm looking for an e-commerce solution for Zope / Plone. My specific requirements are that we want to make available files for download that customers would have to pay for before they could download them. Does

[Zope] Pluggable Auth Service ... how is it used?

2005-07-06 Thread Richard Jones
figure how to actually capture an email address, that is. Richard pgpLHwu0A4IJ4.pgp Description: PGP signature ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists

Re: [Zope] ZPsycopgDA dropping connections?

2005-04-20 Thread Richard Jones
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 20 Apr 2005 03:23 pm, Richard Jones wrote: Has anyone else seen ZPsycopgDA just lose its connection? I just looked in Shared/DC/ZRDB/Connection.py If the connection string is empty (which is quite valid for my setup, as it turns out

Re: [Zope-Coders] Wrong username and password == Anonymous User?

2005-04-19 Thread Richard Jones
, so the cookie will be sent for every request. IIRC, this is also how Basic Auth works, once your browser knows you've got valid credentials for a site. Richard -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFCZcCyrGisBEHG6TARAvRoAJ4sWIc5jy9gmMmOR5dgfg8EVj4msACeIM80

[Zope] ZPsycopgDA dropping connections?

2005-04-19 Thread Richard Jones
/ZRDB/Connection.py, line 173, in __call__ BadRequest: The database connection is not connected - -- (apologies for the wrapping, of course) Any ideas? Richard -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFCZedirGisBEHG6TARAo6WAJ98cBlOZqoZ62Amg0zreDkTPFiyAQCeJGla

Re: [Zope] Re: ZEO and Sessions.

2005-04-15 Thread Richard Jones
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 15 Apr 2005 05:54 pm, Michael Haubenwallner wrote: Bakhtiar A Hamid wrote: Richard Jones wrote: http://www.zope.org/Members/richard/ZSQLSessionDataManager ark! insufficient priveleges Works now ! Well, it does *sometimes*. Whenever

Re: [Zope] Re: ZEO and Sessions.

2005-04-14 Thread Richard Jones
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 13 Apr 2005 10:21 am, Tres Seaver wrote: Richard Jones wrote: Yeah, I remember poking around that code way back, and it seemed reasonable. Its interactions with transactions are the bits that scare me. Using a standard RDBMS connection

Re: [Zope] ZEO and Sessions.

2005-04-12 Thread Richard Jones
to replace the core session handling (and it does need to seamlessly replace it). I wonder how hard it'd be to write a new Session Data Manager using an RDBMS as the backend, or even just a filesystem approach that didn't use versioning. *shrug*. Mmm. Transactions. Richard -BEGIN PGP SIGNATURE

Re: [Zope] ZEO and Sessions.

2005-04-12 Thread Richard Jones
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 13 Apr 2005 09:44 am, you wrote: On Tue, 2005-04-12 at 19:08, Richard Jones wrote: Is there a viable non-versioned alternative to the filestorage approach? My sessions database grows ridiculously quickly. I'm also fairly sure it's

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

2005-04-06 Thread Richard Jones
of application using it. My day job is very firmly fixed in Zope 2, and isn't likely to change for a long time. So I'm definitely speaking from ignorance of real-world application development in Zope 3. Richard -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux

Re: [Zope-dev] More on [Removal of aq_acquire from guarded_getattr]

2005-02-06 Thread Richard Jones
acquisition chain and everything works now. I'm really sorry I can't be more helpful and produce a useful test case, but I've a bazillion deadlines falling on the floor. Maybe in a few months. For now I just needed a work-around that will let me run in an un-patched Zope. Richard -BEGIN PGP

Re: [Zope-dev] More on [Removal of aq_acquire from guarded_getattr]

2005-02-06 Thread Richard Jones
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 7 Feb 2005 05:26 pm, Richard Jones wrote: That is, there's no acquisition context on the simple string. To fix the problem, I changed secure_url to be a ComputedAttribute which looked up the instance attribute _secure_url. This then gave

Re: [Zope-dev] SOAP Support for ZOPE

2004-12-14 Thread Richard Jones
about SOAP - I just want to be able to use it. Richard -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBv2oRrGisBEHG6TARAgCuAJ0fVQoVsme1ShzPYT3rpw6mE6etXgCfb6Uf sp8baNmBJP1rV7yF/CfikMQ= =olB3 -END PGP SIGNATURE

Re: [Zope-dev] Re: Was: Re: 2.7.3 beta attribute permission problems

2004-10-24 Thread Richard Jones
ago. I believe there would have been less confusion all around (and some still lingers) if there had have been more information in the checkin message than DWIMy code. DWIM only really has meaning to certain sets of I. Richard -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux

Re: [Zope-dev] Re: Was: Re: 2.7.3 beta attribute permission problems

2004-10-23 Thread Richard Jones
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, 24 Oct 2004 08:03 am, Tres Seaver wrote: Richard Jones reported an issue with the patch, but couldn't give us a simple case. Users who *have* such weird applications can reverse the patch, find workarounds, or whatever, until they can help

Re: [Zope-dev] 2.7.3 beta attribute permission problems

2004-10-19 Thread Richard Jones
, then on the 14th saying he's unable to produce good test cases. And that's the problem. Tres' patch removed DWIM code. I'm not sure what that meant (I know what DWIM stands for ;) ... and I'm unable to state exactly (in a test case) what it is that my code does that invokes the DWIM'y code. Richard

Re: [Zope-dev] session error

2004-10-19 Thread Richard Jones
of this sort. Richard -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBdcksrGisBEHG6TARAvDvAJ4oHmYvLcZG+ltfW7+CIyemzVHimACfc3lP 0g5TiJFRGSB5LFEn2qK27hM= =KedN -END PGP SIGNATURE- ___ Zope-Dev maillist - [EMAIL PROTECTED] http

Re: [Zope-dev] 2.7 branch: attribute permission problems

2004-09-22 Thread Richard Jones
to catch up on ;) Richard -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBUVJorGisBEHG6TARAkPXAJ9ZPiTqzqwWT9ziPsobk0PzMm1eRACbB6ah gHxjiD/alPSmQiTzENXJCeA= =Ly80 -END PGP SIGNATURE- ___ Zope-Dev maillist - [EMAIL

Re: [Zope-dev] 2.7 branch: attribute permission problems

2004-09-22 Thread Richard Jones
Yep, fair enough. Richard -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBUffArGisBEHG6TARAni2AJ91sSfjNfzMQcEoG4U6zeiAc7GJ9wCeMzY4 10Ol8uSnIojUvCWbl4c9Mqg= =cWQn -END PGP SIGNATURE- ___ Zope-Dev maillist - [EMAIL

Re: [Zope-dev] 2.7 branch: attribute permission problems

2004-09-20 Thread Richard Jones
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 15/09/2004, at 1:00 PM, Chris McDonough wrote: I'd just stick the code back in there for now and we'll see what Tres says. No word from Tres, 2.7 branch release coming up... Richard -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin

[Zope-dev] 2.7 branch: attribute permission problems

2004-09-14 Thread Richard Jones
the attribute directly. if validate(inst, inst, name, v): return v raise Unauthorized, name - --- 551,556 The change note being - Removed DWIM'y attempt to filter acquired-but-not-aceessible results from 'guarded_getattr'. and I'm not sure what that means :) Richard

Re: [Zope-dev] 2.7 branch: attribute permission problems

2004-09-14 Thread Richard Jones
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 15 Sep 2004 12:15 pm, Chris McDonough wrote: On Tue, 2004-09-14 at 21:18, Richard Jones wrote: On the proposals object though, we don't have any delaration for the secure_url attribute. If I add one, or a general

Re: [Zope-dev] 2.7 branch: attribute permission problems

2004-09-14 Thread Richard Jones
the debugger. You can say that again. My head hurts every time I need to look into validate() and friends ;) Richard -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBR63CrGisBEHG6TARAs2WAJwK2fKlW5KQvPj/LGDT2sGY93q46gCdFRN0 ZsQlTMxX/PHuRN4XZ9Uxq9I= =2gJy -END

Re: [Zope-dev] 2.7 branch: attribute permission problems

2004-09-14 Thread Richard Jones
for the rest of today, and if all goes well I'll get the 2.7 branch installed tomorrow. Thanks for all your help and support, Chris! Richard -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBR7vhrGisBEHG6TARAi59AKCAXYGiOWm5vVek8YJrWeKls0UhdACfXGFq D3QaJdBpgpNAx7WYLpleiOA

Re: [Zope-dev] [Zope Enhancement Proposal] Sanitizing local roles

2004-07-23 Thread Richard Jones
is attached. We mix it in with every object. A sample output is also attached. I have found it invaluable when debugging permissions problems. Would this be a useful thing to add to 2.8? Richard -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux

[Zope-dev] Re: [Zope] zope (with cmf) instance being frequently restarted by signal SIGSEGV(11)

2004-06-02 Thread Richard Ettema
...why aren't you running on Python 2.3? Currently running zope 2.6.2 but in the middle of upgrading dev server to zope 2.7 and python 2.3 to see if this helps. Thanks for your help with this. Richard. ___ Zope-Dev maillist - [EMAIL PROTECTED] http

[Zope-dev] zope (with cmf) instance being frequently restarted by signal SIGSEGV(11)

2004-05-28 Thread Richard Ettema
help on this as I am lost at what steps to take next. Thanks, Richard. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman

Re: [Zope-dev] How should an ideal Zope IDE look like?

2004-04-24 Thread Richard Jones
... ;-) That's quite a list. One could start from Eclipse/PyDev (http://pydev.sourceforge.net/) and add features. Or start with IDLE which already has a lot of Python support (duh :) Richard -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux

Re: [Zope-dev] Re: ZPT for CSS, anyone?

2004-04-02 Thread Richard Jones
that templates SQL, CSS, email, etc nicely. There's an awful lot of templating systems there... Richard -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAbTr0rGisBEHG6TARApGiAJ4z7ZTRh/hsg87UnUP1yaoePpil0ACfTtrH tAkw1jDdFJfaE9sjkI5Ri5I= =0Ked -END PGP SIGNATURE

Re: [Zope-dev] Re: Zope 2.7 and objects turning into None

2004-02-22 Thread Richard Jones
it might be reasonable to consider also making the case where accessing objects that have been removed without uncataloging is also an exception. I think this is a good policy. Richard pgp0.pgp Description: signature ___ Zope-Dev maillist

[Zope-dev] Zope 2.7 and objects turning into None

2004-02-19 Thread Richard Jones
under load. I also often see ReadConflictErrors, but I understand they're going away soon :) Richard pgp0.pgp Description: signature ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts

Re: [Zope-dev] How to make Zope fail nicely under high load?

2004-02-11 Thread Richard Jones
/richard/docs/zope_optimisation.html Richard pgp0.pgp Description: signature ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope-dev] RE: Resolved security-related collector issues forthepublic?

2004-01-22 Thread Richard Waid
to a user who cracks the Zope collector site? --Richard ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope

Re: [Zope-dev] RE: Resolved security-related collector issues forthepublic?

2004-01-22 Thread Richard Waid
Paul Winkler wrote: On Fri, Jan 23, 2004 at 09:45:43AM +1300, Richard Waid wrote: How about something along the lines of: - Development team only disclosure for the first x days (2 to 7 days is the maximum here I would think), in order to develop a workaround/patch. - Full disclosure after

Re: [Zope-dev] New-style ExtensionClasses (Zope 2.8) -- MRO issue

2003-11-01 Thread Richard Waid
, and thus increase the chances that product authors will modify their products (or be coerced to do so :)), without actually breaking them? --Richard ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev

Re: [Zope-dev] Very fast requests beating ZODB commits...

2003-10-14 Thread Richard Jones
On Tue, 14 Oct 2003 02:25 pm, Richard Jones wrote: 1. request comes in which modifies ZODB 2. code handling request replies with REQUEST.RESPONSE.redirect() 3. redirected page uses data input at step 1 (specifically, it's auth info) but that info hasn't been committed yet, so we get errors

[Zope-dev] Very fast requests beating ZODB commits...

2003-10-13 Thread Richard Jones
to hold the redirect off until after the transaction is committed normally? Richard pgp0.pgp Description: signature ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding

Re: [Zope-dev] Re: 2.7.0-b2 - Critical ZPT TAL bug when using content-type text/xml

2003-09-22 Thread Richard Waid
to go wrong :) Best regards, Richard Waid Network/Software Engineer http://iopen.net ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org

[Zope-dev] 2.7.0-b2 - Critical ZPT TAL bug when using content-type text/xml

2003-09-19 Thread Richard Waid
. Set to content-type text/xml -- you will get a security violation when you test it (Unauthorized: You are not allowed to access 'id' in this context). - Any help tracking down this problem would be very greatly appreciated. Many thanks, Richard Waid Network/Software Engineer http

Re: [Zope-dev] Re: TALES idea: tuple unpacking

2003-07-29 Thread Richard Jones
on how it works in practise... Richard pgp0.pgp Description: signature

Re: [Zope-dev] More on the getId issue...

2003-07-04 Thread Richard Jones
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Saturday, July 5, 2003, at 04:50 AM, Dieter Maurer wrote: Richard Jones wrote at 2003-7-1 12:03 +1000: ... PageTemplateFile (via Script and SimpleItem) inherits Item. This class has an attribute id set to '' by default. PageTemplateFiles don't use

[Zope-dev] PageTemplateFiles considered anonymous?

2003-06-30 Thread Richard Jones
for pretty much this situation. Any objections to adding that mixin to PageTemplateFile by default instead of the vanilla SimpleItem.Item? Also, is there a reason why Item_w__name__ doesn't define getId() when it does define _setId()? Richard -BEGIN PGP SIGNATURE- Version: GnuPG

[Zope-dev] More on the getId issue...

2003-06-30 Thread Richard Jones
'): return self.__name__ raise AttributeError, 'This object has no id' Richard -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (Darwin) iD8DBQE/AOvurGisBEHG6TARAsXQAJsGEri4RIIWpjrSTbjQUZKU37hfLgCfVZTp jax496YYNjtVosNZHpv8VGc= =lzBT -END PGP SIGNATURE

Re: FHS, zopectl, #925, Re: [Zope-dev] 2.7 installation

2003-06-20 Thread Richard Jones
. Sorry, I haven't really been paying attention so this might be completely OT. It *sounds* like it's being suggested that we replace make (given the above statement). Has anyone used SCons? http://www.scons.org/ Richard I think the default Zope install should not have dependencies

Re: FHS, zopectl, #925, Re: [Zope-dev] 2.7 installation

2003-06-19 Thread Richard Jones
this might be completely OT. It *sounds* like it's being suggested that we replace make (given the above statement). Has anyone used SCons? http://www.scons.org/ Richard pgp0.pgp Description: signature

Re: [Zope-dev] Re: DBtab and BDBStorage

2003-06-06 Thread Richard Jones
on a powerful machine the ZEO clients can take quite some time to start up. Does anyone know why this might be? I'm talking here about a brand-new ZEO server with practically empty ZODB. No additional Products. Richard -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (Darwin) iD8DBQE

Re: [Zope-dev] ZEO install/runtime issues

2003-05-29 Thread Richard Jones
product X in their ZEO server but not product Y? Dieter's solution of some configuration variable controlling this sounds like a really good idea, if possible. Richard -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (Darwin) iD8DBQE+1ZI4rGisBEHG6TARApA1AJ9V5Vy

  1   2   3   >