Re: [Zope] Zope Debugger lets WingDbg fail to connect toclient

2005-10-17 Thread Chris Withers
Wingware Support wrote: Just a couple notes on this: We monkey patch only while the debugger is active Does this mean When WingDbg is installed or is there more to it than that? Also, someone mentioned changing the monkey patch to call inherited. Not sure what you mean by that...

Re: [Zope] zope.conf read-only settings

2005-10-17 Thread Chris Withers
S.Hayles wrote: AFAICS the directives zserver-read-only-mode and read-only-database just set the environment value ZOPE_READ_ONLY and no change in ZOPE's operation results. Am I right? This is ZOPE 2.7.7 Not really sure what you're asking? Did you try these and find they made no

Re: [Zope] Need for advice ...

2005-10-17 Thread Chris Withers
Enrique Arizón wrote: By desire of the gods and the ebays lords a bargain Sun Enterprise 250 arrived to my hands this week. The machine is equiped with 6x50GBytes SCSI HDs that can be setup in RAID 0, 1, 5 and 01 combinations and two Sparc 64bits CPUs with Solaris 10. The idea is to use it

Re: [Zope] selected in select lists

2005-10-17 Thread Chris Withers
Garry Saddington wrote: This code does not work;-). That, in itself, as an argument for using ZPT. The reason it doesn't work is probably because of some subtlety in name lookup of your DTML method. Showing DTML to other people, say, on a mailing list, is much harder to grok than a ZPT,

Re: [Zope] Need for advice ...

2005-10-17 Thread Chris Withers
Enrique Arizón wrote: By desire of the gods and the ebays lords a bargain Sun Enterprise 250 arrived to my hands this week. The machine is equiped with 6x50GBytes SCSI HDs that can be setup in RAID 0, 1, 5 and 01 combinations and two Sparc 64bits CPUs with Solaris 10. The idea is to use it

Re: [Zope] apache open proxy configuration problem

2005-10-17 Thread Chris Withers
Kanealii, Priam Mr KRS wrote: RewriteRule ^/p_(.*) http://127.0.0.1:8080/VirtualHostBase/http/%{HTTP_HOST}/VirtualHostRoot/p_$1 [L,P] I'm pretty sure that P there means it's still using mod_proxy ;-) cheers, Chris PS: Ed: you can't stop people firing requests at your server, hence the

Re: [Zope] Deleting objects from an external method

2005-10-17 Thread Chris Withers
Nikko Wolf wrote: I'm trying to allow users to delete objects that have been accidentally created. I have criteria for what that means, but since I *DO NOT* want them to delete object except by this method, I want to avoid granting Delete objects to them (non-Managers). Have the delete

Re: [Zope] selected in select lists

2005-10-17 Thread Chris Withers
Garry Saddington wrote: The comparison is dynamic. Ah, so thisgroupabrev comes from the request? See? I could never have known that from JUST reading the DTML. In ZPT, it would have been request/thisgroupabrev and all would have been clear. The user selects an option, that option is

Re: [Zope] zope.conf read-only settings

2005-10-17 Thread S.Hayles
On Mon, 17 Oct 2005, Chris Withers wrote: S.Hayles wrote: AFAICS the directives zserver-read-only-mode and read-only-database just set the environment value ZOPE_READ_ONLY and no change in ZOPE's operation results. Am I right? This is ZOPE 2.7.7 Not really sure what you're asking? Did

[Zope] Re: Error on starting and stopping Zope 2.8.2

2005-10-17 Thread Maik Ihde
Aside from a security audit what problems have been reported using Python 2.4.X? Those of use who run Python 2.4.X do it becasue we want access to the language features and performance. If there are stability issues attributed to that choice, we'd like to know what they are. Just one

Re: [Zope] How can i call a pyhton module's function from with in Page Temmplates?

2005-10-17 Thread Thomas G. Apostolou
Αρχικό μήνυμα από Chris Withers [EMAIL PROTECTED]: Thomas Apostolou wrote: i saw that from within a DTML Method one is able to call a fuction of a python module in the file system. I don't think so... Well, you are right. I do not directly call the modules's function from the file

Re: [Zope] How can i call a pyhton module's function from with in Page Temmplates?

2005-10-17 Thread Tino Wildenhain
Thomas G. Apostolou schrieb: Αρχικό μήνυμα από Chris Withers [EMAIL PROTECTED]: Thomas Apostolou wrote: i saw that from within a DTML Method one is able to call a fuction of a python module in the file system. I don't think so... Well, you are right. I do not directly call the

[Zope] Re: zope.conf read-only settings

2005-10-17 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 S.Hayles wrote: On Fri, 14 Oct 2005, Chris Withers wrote: Steven Hayles wrote: AFAICS the directives zserver-read-only-mode and read-only-database just set the environment value ZOPE_READ_ONLY and no change in ZOPE's operation results. Am I

[Zope] ZSQLiteDA 0.3.3 probs on zope 2.7.6? Upg. to 2.7.8.

2005-10-17 Thread Petri Savolainen
Just a report workaround fyi for anyone running into the same problem: I created a db consisting of a single, fairly small table (4 fields of short strings a few floats) and imported a large amount of data into it (over a million records). Added a few indexes. The db size is about 440MB.

[Zope] access rule and authentication

2005-10-17 Thread Krzysztof Kubacki
Hi, Python Script which is set as "Access Rule" for some Folder is execute before authentication is done. This way the following code won't work if context.portal_membership.getAuthenticatedUser().getId() == "admin": return "dog" return "cat" I will always get "cat". So does somebody

[Zope] NTUserFolder still useful?

2005-10-17 Thread Sean Dunn
Im running Zope on WindowsXP with plans to run it on server 2003. Instead of creating user accounts Id like to leverage NT authentication.. And NTUserFolder looks like it might be what I want, except that it looks like a dead product. Besides a note that it works on Win2k under certain

Re: [Zope] NTUserFolder still useful?

2005-10-17 Thread Chris McDonough
Proably easier and faster to try it than to wait for a response. ;-) On Mon, 2005-10-17 at 12:46 -0500, Sean Dunn wrote: I’m running Zope on WindowsXP with plans to run it on server 2003. Instead of creating user accounts I’d like to leverage NT authentication.. And NTUserFolder looks like it

Re: [Zope] NTUserFolder still useful?

2005-10-17 Thread Philip Kilner
Hi Sean, Sean Dunn wrote: I’m running Zope on WindowsXP with plans to run it on server 2003. Instead of creating user accounts I’d like to leverage NT authentication.. And NTUserFolder looks like it might be what I want, except that it looks like a dead product. Besides a note that it works

[Zope] Re: access rule and authentication

2005-10-17 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Krzysztof Kubacki wrote: Hi, Python Script which is set as Access Rule for some Folder is execute before authentication is done. This way the following code won't work if context.portal_membership.getAuthenticatedUser().getId() == admin:

Re: [Zope] Deleting objects from an external method

2005-10-17 Thread Nikko Wolf
Dieter Maurer wrote: Nikko Wolf wrote at 2005-10-14 15:37 -0600: I'm trying to allow users to delete objects that have been accidentally created. I have criteria for what that means, but since I *DO NOT* want them to delete object except by this method, I want to avoid granting

[Zope] COREBlog 1.2.1 on Zope 2.7.5 year_created problem

2005-10-17 Thread Allen Schmidt
New COREBlog 1.2.1 install on Zope 2.7.5 on RHE3 Linux. I can add an instance of a blog and create categories and change settings. Adding an entry gives a name error: Traceback (innermost last): * Module ZPublisher.Publish, line 101, in publish * Module ZPublisher.mapply, line 88, in

[Zope] DateTime again.

2005-10-17 Thread Fernando Lujan
Is it possible to informe the DateTime module about the date format without changing the zope.conf file? Format: dd/mm/ When I try the dtml-var DateTime(12/11/2005) it returns 2005/12/11 instead of 2005/11/12. Thanks in Advance. Fernando Lujan

Re: [Zope] DateTime again.

2005-10-17 Thread Peter Bengtsson
Try: dtml-var DateTime('12/11/2005').strftime('%Y/%m/%d') 2005/10/17, Fernando Lujan [EMAIL PROTECTED]: Is it possible to informe the DateTime module about the date format without changing the zope.conf file? Format: dd/mm/ When I try the dtml-var DateTime(12/11/2005) it returns

Re: [Zope] Deleting objects from an external method

2005-10-17 Thread Nikko Wolf
Chris Withers wrote: Nikko Wolf wrote: I'm trying to allow users to delete objects that have been accidentally created. I have criteria for what that means, but since I *DO NOT* want them to delete object except by this method, I want to avoid granting Delete objects to them

Re: [Zope] DateTime again.

2005-10-17 Thread Andreas Jung
Look at the DateTime API (strftime()). -aj --On 17. Oktober 2005 18:33:31 -0200 Fernando Lujan [EMAIL PROTECTED] wrote: Is it possible to informe the DateTime module about the date format without changing the zope.conf file? Format: dd/mm/ When I try the dtml-var DateTime(12/11/2005)