Re: [Zope] utf-8 vs. unicode question(s)

2005-05-07 Thread Andreas Jung
--On Freitag, 6. Mai 2005 19:40 Uhr +0200 Jürgen Herrmann [EMAIL PROTECTED] wrote: i have set my python default encoding to utf-8, i always send http responses from zope as utf-8 My personal point on changing the default encoding of Python: don't do it (other people will see this different).

Re: [Zope] Is it possible to extend Zopes WebDAV authentication?

2005-05-07 Thread Jens Vagelpohl
On May 6, 2005, at 23:52 , mark hellewell wrote: On 5/6/05, Tino Wildenhain [EMAIL PROTECTED] wrote: Actually, it does not. You have no such thing like a session when all you have is webdav. I dont know if many dav-clients store cookies too - it may depend on your usecase. Yes the use-case is

Re: [Zope] Is it possible to extend Zopes WebDAV authentication?

2005-05-07 Thread Chris McDonough
Web Folders pass cookies around too, FWIW, so it's probably not strictly necessary to use http basic auth. But without using http basic auth, there is no way to log in unless you have them go to the web interface first, then launch a web folder, so maybe impractical. - C On Sat, 2005-05-07 at

Re: [Zope] Debugging product init with zopectl?

2005-05-07 Thread Chris McDonough
On Fri, 2005-05-06 at 12:48, J Cameron Cooper wrote: I agree, it would be nice to have zLOG work on startup, but I don't know how easy/possible that is. FWIW, the reason zLOG doesn't start writing to the log at an earlier time is that it waits until the process can switch effective users. If

Re: [Zope] Security framework troubles

2005-05-07 Thread Dieter Maurer
Anders Bruun Olsen wrote at 2005-5-6 18:19 +0200: ... security = ClassSecurityInfo() security.setDefaultAccess(deny) security.declareProtected(View Bookbase, index_html) ... When the template tries to access container/title an access denied expection is raised. With VerboseSecurity I get

Re: [Zope] Debugging product init with zopectl?

2005-05-07 Thread Dieter Maurer
J Cameron Cooper wrote at 2005-5-6 11:48 -0500: ... I agree, it would be nice to have zLOG work on startup, but I don't know how easy/possible that is. It would be very easy -- with the exception of people that run Zope as root (and later switch the process user). This silly silent logging

Re: [Zope] A memory leak in Zope, PageTemplateFile and macros?

2005-05-07 Thread Dieter Maurer
Marco Bizzarri wrote at 2005-5-6 22:35 +0200: ... However, if you access start_html, which uses the standard_template_html as a macro, you can see an increase. I saw a small one after thousands of requests. ... You're mentioning that these could be normal causes, but what are these causes?

Re: [Zope] Is it possible to extend Zopes WebDAV authentication?

2005-05-07 Thread Tino Wildenhain
Am Samstag, den 07.05.2005, 12:04 -0400 schrieb Chris McDonough: Web Folders pass cookies around too, FWIW, so it's probably not strictly necessary to use http basic auth. But without using http basic auth, there is no way to log in unless you have them go to the web interface first, then

Re: [Zope] Is it possible to extend Zopes WebDAV authentication?

2005-05-07 Thread mark hellewell
On 5/7/05, Chris McDonough [EMAIL PROTECTED] wrote: Web Folders pass cookies around too, FWIW, so it's probably not strictly necessary to use http basic auth. But without using http basic auth, there is no way to log in unless you have them go to the web interface first, then launch a web

Re: [Zope] Is it possible to extend Zopes WebDAV authentication?

2005-05-07 Thread mark hellewell
On 5/7/05, Tino Wildenhain [EMAIL PROTECTED] wrote: Well, in theory its possible if the client accepts cookie to just store the amount of wrong attempts via cookie (or id - which would be the same) and deny any password, be it even the correct one when it comes via basic auth. Store the

[Zope] Zope stops responding on hpux

2005-05-07 Thread Samuel Bieri
Dear list-members I am desperately trying to get our zope application run on hpux, and any help is greatly appreciated. I have the following problem: When I click on a tal-object (Page Template) to edit it, then zope stops responding. No error is logged, nothing. I even cannot stop zope

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

2005-05-07 Thread Eva Miller
MILLER Eva evam at multcolib.org writes: So far, I've written the following python script to accomplish what I'm trying to do: # Finds ISBNs in a link and creates a new link to search a library catalog import re,string, urllib,urllib2 def librarylookup (): href = open(booktest.txt)

Re: [Zope] Zope stops responding on hpux

2005-05-07 Thread Jens Vagelpohl
On May 7, 2005, at 23:45 , Samuel Bieri wrote: Dear list-members I am desperately trying to get our zope application run on hpux, and any help is greatly appreciated. I have the following problem: I know this isn't really helpful, but when it comes to exotic operating systems like HP-UX you

[Zope] Find a object in a zope list

2005-05-07 Thread Allen Huang
I have a fold and I used objectValues['Image'] to make a array list of images. I have rename each image using AUTHENTICATED_pic.jpg and want to use an if statement to find the image with the same name in the array list. Can someone tell how?? Is there a findObject function or something?? Yahoo!

[Zope-dev] Zope 2.8 on hold

2005-05-07 Thread Andreas Jung
Hi, in agreement with Jim Fulton and Brian Lloyd we decided to put the Zope 2.8 release on hold for now. There are several open issues related to running Zope on Windows (building, startup problems). Since we need to have a stable source code release and a stable windows release in sync, the

[Zope-dev] Re: Zope 2.8 on hold

2005-05-07 Thread yuppie
Andreas Jung wrote: in agreement with Jim Fulton and Brian Lloyd we decided to put the Zope 2.8 release on hold for now. There are several open issues related to running Zope on Windows (building, startup problems). Since we need to have a stable source code release and a stable windows

[Zope-dev] Re: SVN: Zope/trunk/lib/python/Testing/ZopeTestCase/testInterfaces.py Test interfaces with verifyClass in addition to verifyObject.

2005-05-07 Thread yuppie
Stefan H. Holek wrote: Log message for revision 30296: Test interfaces with verifyClass in addition to verifyObject. [...] +self.failUnless(verifyClass(IProfiled, Profiled)) Does failUnless make any sense here? verifyClass() is either True or raises an Exception. Cheers, Yuppie

[Zope-dev] Re: Zope 2.8 on hold

2005-05-07 Thread Andreas Jung
--On Samstag, 7. Mai 2005 10:15 Uhr +0200 yuppie [EMAIL PROTECTED] wrote: Andreas Jung wrote: in agreement with Jim Fulton and Brian Lloyd we decided to put the Zope 2.8 release on hold for now. There are several open issues related to running Zope on Windows (building, startup problems). Since

Re: [Zope-dev] Re: Zope 2.8 on hold

2005-05-07 Thread Andreas Jung
--On Samstag, 7. Mai 2005 12:56 Uhr -0400 Tim Peters [EMAIL PROTECTED] wrote: [Andreas Jung] At least the following are important (besides the problem with the Winbuilder) What WinBuilders problem? I keep hearing there's a problem there, but don't know what it is -- and I had no problem using

Re: [Zope-dev] Re: Zope 2.8 on hold

2005-05-07 Thread Tim Peters
[Andreas Jung] At least the following are important (besides the problem with the Winbuilder) [Tim Peters] What WinBuilders problem? I keep hearing there's a problem there, but don't know what it is -- and I had no problem using WinBuilders for Zope 2.8. [Andreas] I know only that