Re: [Zope] Folder Listing as a Plone Portlet Mini-HOWTO (draft)

2005-04-01 Thread David Convent
Matthew X. Economou wrote: http://web.irtnog.org/Members/xenophon/plone/portlet-folder-contents This folder listing portlet displays the title of the folder, its description, and a list of each item in the folder. Mousing over each link pops up its description in browsers that understand the title

Re: [Zope] question about manipulating zcatalog query results

2005-04-01 Thread Chris Withers
Ira Sher wrote: There is no call to _getiter_, of course, in the script, but whenever I use any for looping on the results, I get a variation of the above. Any thoughts on this? Hmm, I should have asked this in the first place, but can you post the source code for your test python script? cheers,

Re: [Zope] HTTPSConnection Python 2.3.4

2005-04-01 Thread Chris Withers
Paul Winkler wrote: I have a somewhat similar issue; an in-house Zope product is retrieving some information from a remote URL. If I hit the same URL from the command line on the zope server (using wget), it works fine. When Zope hits it, it gets a Bad Gateway error from the remote (Apache + Jboss)

Re: [Zope] Dynamic Zope Style Sheets with HTML 4.01 Strict

2005-04-01 Thread Chris Withers
Andy Yates wrote: Compilation failed xml.parsers.expat.ExpatError: syntax error: line 3, column 0 This just means you had an XML error in your css ZPT. Usually a missing close tag or / in a will do it. Don't use DTML, it's evil, you're doing the right thing already ;-) cheers, Chris -- Simplisti

Re: [Zope] role, user defined roles, and inclusion

2005-04-01 Thread Chris Withers
Florent Guillaume wrote: from AccessControl import getSecurityManager user = getSecurityManager().getUser() print user.getRoles() return printed returns ('Manager', 'Authenticated') when logged in as a manager This queries the user object, and returns all roles the implementation decided to return.

Re: [Zope] ClockServer 0.1 released

2005-04-01 Thread Chris Withers
Chris McDonough wrote: It works by posing as a medusa server, and injects things that look like http requests into the publisher every so often. Isn't that effectively just creating a seperate thread though? cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - htt

Re: [Zope] ClockServer 0.1 released

2005-04-01 Thread Chris McDonough
On Fri, 2005-04-01 at 02:40, Chris Withers wrote: > Chris McDonough wrote: > > It works by posing as a medusa server, and injects things that look like > > http requests into the publisher every so often. > > Isn't that effectively just creating a seperate thread though? No. It reuses the thread

Re: [Zope] script python error

2005-04-01 Thread Vangelis Mihalopoulos
Maybe using quotese.g. RESP.redirect('/store_nic/consumables/test') prabuddha ray wrote: wats wrong with the given puthon script request = container.REQUEST RESP = request.RESPONSE passwd = context.request.password1 user = context.request.username, if(container.chkpwd(uname=user,pwd=

[Zope] zygopetale.py

2005-04-01 Thread Yahya AZZOUZ
hi, i m looking for zygopetale.py ( it allow to interact with ldap). could someone send me it. thanks. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.z

[Zope] JOB: CONTRACT: Python Programmer ­ DC Area, but 90% Telecommute

2005-04-01 Thread Beau
JOB: CONTRACT: Python Programmer ­ DC Area, but 90% Telecommute My client is looking for a Python programmer to work 10-20hours a week, starting immediately, through mid-June, to help us complete develop on a web-based collaboration service (development, testing, production). REQUIRED: Experience

[Zope] Plone/Zope on Debian Sarge

2005-04-01 Thread Peter Bittner
Hi there! I am running a Debian Linux box with Debian/testing (Sarge) and I am trying to get Plone up and running. I have made a clean, new install of the whole system last week, so all packages are really up-to-date and there was no dirty installation that was updated. I have noticed that the

[Zope] Does anyone care whether we deprecate ZClasses?

2005-04-01 Thread Jim Fulton
ZClasses are a feature that support through-the-web development. Many people have found them useful in the past, but they have some significant deficiencies, including: - They can't be managed with file-system tools, especially revision control systems like CVS and subversion. - They don't work w

Re: [Zope] Dynamic Zope Style Sheets with HTML 4.01 Strict

2005-04-01 Thread Stefan H. Holek
http://simplates.zetaweb.com/ On 31. Mär 2005, at 19:38, Andy Yates wrote: So, how do I make a dynamic style sheet that has the correct (text/css) content type? -- Software Engineering is Programming when you can't. --E. W. Dykstra ___ Zope maillist - Z

RE: [Zope] Dynamic Zope Style Sheets with HTML 4.01 Strict

2005-04-01 Thread Pascal Peregrina
I do exactly the same thing, except that I do it directly in the ZPT : Pascal -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Andy Yates Envoyé : jeudi 31 mars 2005 21:53 À : zope@zope.org Objet : RE: [Zope] Dynamic Zope Style Sheets with HTML 4.01 Strict

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

2005-04-01 Thread Dennis Allison
+1 for deprecation. On Fri, 1 Apr 2005, Jim Fulton wrote: > > ZClasses are a feature that support through-the-web development. > Many people have found them useful in the past, but they have some > significant deficiencies, including: > > - They can't be managed with file-system tools, espec

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

2005-04-01 Thread Ben Mason
And another +1 > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Dennis Allison > Sent: 01 April 2005 15:44 > To: Jim Fulton > Cc: zope@zope.org > Subject: Re: [Zope] Does anyone care whether we deprecate ZClasses? > > > +1 for deprecation. > >

[Zope] Re: Plone/Zope on Debian Sarge

2005-04-01 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter Bittner wrote: > I am running a Debian Linux box with Debian/testing (Sarge) and I am trying > to > get Plone up and running. I have made a clean, new install of the whole > system last week, so all packages are really up-to-date and there wa

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

2005-04-01 Thread bruno modulix
Jim Fulton wrote: (snip) "Does anyone care whether we deprecate ZClasses?" ZClasses ? What are ZClasses ? (Sorry, couldn't resist. +1 for deprecation) -- Bruno Desthuilliers Développeur [EMAIL PROTECTED] ___ Zope maillist - Zope@zope.org http://mail.zop

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

2005-04-01 Thread Allen Schmidt
-l for deprecation ...until we build a replacement anyway... Dennis Allison wrote: +1 for deprecation. On Fri, 1 Apr 2005, Jim Fulton wrote: ZClasses are a feature that support through-the-web development. Many people have found them useful in the past, but they have some significant defici

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

2005-04-01 Thread Shane Graber
google search for your error message yielded: http://mail.zope.org/pipermail/zope/2005-January/155790.html If you did an 'apt-get install plone' it's still trying to pull in Zope 2.6. What I ended up doing was to uninstall plone and then 'apt-get install zope2.7', create my default instance w/ m

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

2005-04-01 Thread kosh
I vote we take off and nuke them from orbit it is the only way to be sure. (+1 get rid of those dang things) I have tried to help far too many people over the years on #zope that had problems with zclasses. They just seem fragile and should be removed. On Friday 01 April 2005 5:22 am, Jim Fulto

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

2005-04-01 Thread Jim Fulton
Allen Schmidt wrote: -l for deprecation ...until we build a replacement anyway... What do you mean by "replacement"? In Zope 3, I plan to provide persistent modules to support prototying new applications through the web. It will be possible to automatically convert these to file-system-based

[Zope] Re: role, user defined roles, and inclusion

2005-04-01 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Withers wrote: > Are you implying that something else gives the user the Anonymous role > as far as Zope security is concerned? - From the point of view of introspecting roles, no; however, when validating access, *every* user can do what Anon

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

2005-04-01 Thread Jake
As someone who has at least 5 different products using ZClasses across 10 different websites with millions of hits a month, I am certainly not happy to see them go, but I do understand that their time has come. If they are supported in 2.8 -> 2.9 and gone in 3.0 I guess that is ok. Again, it is go

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

2005-04-01 Thread Jim Fulton
Jake wrote: As someone who has at least 5 different products using ZClasses across 10 different websites with millions of hits a month, I am certainly not happy to see them go, but I do understand that their time has come. If they are supported in 2.8 -> 2.9 and gone in 3.0 I guess that is ok. If w

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

2005-04-01 Thread Paul Winkler
+1 for deprecation. However, I haven't used them for years. I suspect you will hear otherwise from some people with currently deployed solutions based on ZClasses... (cue Dieter) -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.o

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

2005-04-01 Thread Andreas Jung
--On Freitag, 1. April 2005 7:22 Uhr -0500 Jim Fulton <[EMAIL PROTECTED]> 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? +2 t

Re: [Zope] role, user defined roles, and inclusion

2005-04-01 Thread Florent Guillaume
Chris Withers <[EMAIL PROTECTED]> wrote: > > (FWIW in CPSUserFolder we chose to return Authenticated as well as > > Anonymous to be consistent.) > > In what context? Providing both Authenticated and Anonymous on the same > user at the same time seems bizarre ;-) When doing user.getRoles(). Beca

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

2005-04-01 Thread Jake
My vote is to keep them around for 2.8 and 2.9 but say goodbye after that. Again.. it won't be easy for us, but who said progress ever was. Jake -- http://www.ZopeZone.com Jim Fulton said: > Jake wrote: >> As someone who has at least 5 different products using ZClasses across >> 10 >> differen

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

2005-04-01 Thread Maik Jablonski
Jake wrote: My vote is to keep them around for 2.8 and 2.9 but say goodbye after that. Again.. it won't be easy for us, but who said progress ever was. +1 for dropping ZClasses as soon as possible (IMHO 2.10 is a good target), but before that, some comment in REALLY BIG LETTERS should be made in

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

2005-04-01 Thread Lennart Regebro
+1 on deprecation. (As for "replacements", persistent schemas in Zope3 will enable the thing that ZClasses should have been: Combining a set of base classes with functionality with a TTW editable schema. CPSschemas is halfway there: You can make your own content classes already, but you can't ch

RE: [Zope] Folder Listing as a Plone Portlet Mini-HOWTO (draft)

2005-04-01 Thread Matthew X. Economou
> -Original Message- > From: David Convent [mailto:[EMAIL PROTECTED] > Sent: Friday, April 01, 2005 3:30 AM > > Plone now uses catalog queries to build folder listings, it avoids > waking up all objects and slow down the server response. > Consider using it, your portlet as it is written n

Re: [Zope] Plone/Zope on Debian Sarge

2005-04-01 Thread Andreas Pakulat
On 01.Apr 2005 - 14:34:22, Peter Bittner wrote: > Hi there! > > I am running a Debian Linux box with Debian/testing (Sarge) and I am trying > to > get Plone up and running. I have made a clean, new install of the whole > system last week, so all packages are really up-to-date and there was no

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

2005-04-01 Thread Andreas Pakulat
On 01.Apr 2005 - 10:14:36, Shane Graber wrote: > google search for your error message yielded: > > http://mail.zope.org/pipermail/zope/2005-January/155790.html > > If you did an 'apt-get install plone' it's still trying to pull in > Zope 2.6. That's not correct, current Plone will favor zope27 o

Re: [Zope] question about manipulating zcatalog query results

2005-04-01 Thread Ira Sher
Chris, the relevant section of the script looks like this: zcat=context.Catalog if spontype == 'none': results = zcat(meta_type=mtype) else: results = zcat(meta_type=mtype,SB_sponsor_type=spontype) if sorton == 'id': res = [] rest = [] res = list(results)

[Zope] RSS feed: post-processing?

2005-04-01 Thread MILLER Eva
Title: RSS feed: post-processing? Hello, I've been puzzling over something but can't figure out a solution. I  have an RSS feed providing the content behind all the links on this  page: http://demo.plinkit.org/interestsideas/goodreads/booklists. There's a nice bookmarklet tool in the

Re: [Zope] HTTPSConnection Python 2.3.4

2005-04-01 Thread Paul Winkler
On Fri, Apr 01, 2005 at 08:29:39AM +0100, Chris Withers wrote: > Paul Winkler wrote: > >I have a somewhat similar issue; an in-house Zope product is retrieving > >some > >information from a remote URL. If I hit the same URL from the command > >line on the zope server (using wget), it works fine. W

Re: [Zope] HTTPSConnection Python 2.3.4

2005-04-01 Thread Tino Wildenhain
Hi, Am Freitag, den 01.04.2005, 14:35 -0500 schrieb Paul Winkler: > On Fri, Apr 01, 2005 at 08:29:39AM +0100, Chris Withers wrote: > > Paul Winkler wrote: > > >I have a somewhat similar issue; an in-house Zope product is retrieving > > >some > > >information from a remote URL. If I hit the same U

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

2005-04-01 Thread Ira Sher
I can understand wanting to deprecate them, but I have to say, as the maintainer of a site written by someone else about six years ago in zope 1 days, that this would be a mess to migrate and require a total site rewrite. The client is unfortuneatly a non-profit mid-sized independent press, and thi

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

2005-04-01 Thread Dieter Maurer
Jim Fulton wrote at 2005-4-1 07:22 -0500: > ... >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? We use ZClasses for several appli

Re: [Zope] WebDAV BUGS and access to /tmp directory

2005-04-01 Thread Dieter Maurer
Pavel Zaitsev wrote at 2005-3-31 00:33 -0500: >I am back trying to figure out why my zope crashes on >open('/tmp/tmp4fd4foo') kind of opens, which seem to originated >from webdav code. You problem seems to be much deeper: It is completely justified to open a temporary file -- whether for Web

Re: [Zope] question about manipulating zcatalog query results

2005-04-01 Thread Dieter Maurer
Ira Sher wrote at 2005-3-31 01:05 -0700: > ... >I've found some reference to the _getiter_ problem on the forum, but >the queries date from nearly a year ago, and there were no fixes at >the time (save to wait for 7.4 to come out of beta). Is anyone else >experiencing this? Is there a workaround? W

Re: [Zope] Re: login page problem

2005-04-01 Thread Dieter Maurer
prabuddha ray wrote at 2005-3-30 23:50 -0800: > ... >now my problem how n where do i check d pwd n redirect to the next zpt >or the previous one if its wrong. Apparently, you need some background reading... Especially, you need to understand that HTTP is a stateless protocol and *EACH* request mu

Re: [Zope] role, user defined roles, and inclusion

2005-04-01 Thread Dieter Maurer
Chris Withers wrote at 2005-3-31 12:26 +0100: >Dieter Maurer wrote: >> Any user has the "Anonymous" role whether or not it is authenticated. > >Really? > ... >print user.getRoles() > ... > >returns ('Manager', 'Authenticated') when logged in as a manager and >('Anonymous',) when anonymous? > >>>A

Re: [Zope] role, user defined roles, and inclusion

2005-04-01 Thread Dieter Maurer
robert wrote at 2005-3-31 07:22 +0200: >Is my assumption that granting a permission to Anonymous means granting >it to anybody correct? Correct. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross pos

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

2005-04-01 Thread Ausum Studio
To me it depends on how much time ZClasses are going to last. If ZClasses will stay for the next two years, then it's fine for us, as we probably will persuade ourselves to rewrite all of our stuff in ZopeX3, and not in Zope2.X Jim, bear in mind that people that will agree to its deprecation is

Re: [Zope] question about manipulating zcatalog query results

2005-04-01 Thread Ira Sher
I scoured the archives, and found mention of this problem, and a note by you, Dieter saying it was a problem with the 2.7 beta (this was back in May of 2004) but I can't find any subsequent mention of the issue, and the problem I'm having is on both a 2.7.4 and a 2.7.5 build. thanks ira On Apr 1,

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

2005-04-01 Thread Jonathan Cyr
Big mistake, IMHO, You have no replacement for intermediate developers... the only decent documentation, being the various books, have ZClasses throughout.  Explain their absence to the newbies grokking for Zope enlightenment. Not everyone needs/wants development tools, some like the TTW mana

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

2005-04-01 Thread Jake
My question, since it now seems like I am not the only one using ZClasses is, why not support them? You listed out the reasons why someone wouldn't want to use them going forward, but what are the reasons why not to support them as legacy into 3/2.10? Jake -- http://www.ZopeZone.com Dieter Maur

Re: [Zope] ClockServer 0.1 released

2005-04-01 Thread Jonathan Cyr
Am I getting this this is what Zron should have been? -Jon Chris McDonough wrote: On Fri, 2005-04-01 at 02:40, Chris Withers wrote: Chris McDonough wrote: It works by posing as a medusa server, and injects things that look like http requests into the publisher

[Zope] Zwiki 0.40 released, news for 2005/03

2005-04-01 Thread Simon Michael
What is it Zwiki is a Zope product for building wikis - a special kind of website that's easy for anyone to edit. See http://zwiki.org for more. What's changed Bugfixes, new japanese translation, chinese translation updates, new search option. See release notes below. Zwiki news this month We

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

2005-04-01 Thread Simon Michael
FYI, there's a kind of overview of possible ZClass alternatives at http://zopewiki.org/HowToAddCustomContentTypes . ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

[Zope] Re: ZWiki - MoinMoin markup

2005-04-01 Thread Simon Michael
Hi Malthe, I don't think moin markup allows html tags, so br is out. Also, consider whether this work will really pay off. Unless it gets incorporated into the upstream MoinMoin code, it might or might not make sense to support a non-standard moin markup feature in the shipping Zwiki. But I don'

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

2005-04-01 Thread Andreas Jung
--On Freitag, 1. April 2005 16:21 Uhr -0500 Ausum Studio <[EMAIL PROTECTED]> wrote: Whether there already is a tool like that in ZopeLand, I would agree to its deprecation, but actually there's nothing like it. Certainly ZClasses is not what it promised to be, but what it does do, it does it bril

Re: [Zope] role, user defined roles, and inclusion

2005-04-01 Thread Cliff Ford
Dieter Maurer wrote: robert wrote at 2005-3-31 07:22 +0200: Is my assumption that granting a permission to Anonymous means granting it to anybody correct? Correct. Actually, I don't think that is strictly true! And it reminds me of a period of confusion I went through a few months ago, when I w

Re: [Zope] role, user defined roles, and inclusion

2005-04-01 Thread robert
Cliff Ford wrote: Dieter Maurer wrote: robert wrote at 2005-3-31 07:22 +0200: Is my assumption that granting a permission to Anonymous means granting it to anybody correct? Correct. Actually, I don't think that is strictly true! And it reminds me of a period of confusion I went through a few mo

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

2005-04-01 Thread Andreas Jung
--On Freitag, 1. April 2005 16:52 Uhr -0500 Jake <[EMAIL PROTECTED]> wrote: want to use them going forward, but what are the reasons why not to support them as legacy into 3/2.10? To avoid that people use ZClasses in the future :-) -aj pgpNlVUdoEQdZ.pgp Description: PGP signature

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

2005-04-01 Thread David H
Andreas Jung wrote: --On Freitag, 1. April 2005 16:52 Uhr -0500 Jake <[EMAIL PROTECTED]> wrote: want to use them going forward, but what are the reasons why not to support them as legacy into 3/2.10? To avoid that people use ZClasses in the future :-) -aj ---

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

2005-04-01 Thread Andreas Jung
--On Freitag, 1. April 2005 23:10 Uhr -0800 David H <[EMAIL PROTECTED]> wrote: I would recommend ZClass people should form a group. And have good people keep the thing compatible with each Zope release. David I doubt that anyone will touch ZClasses - except Dieter and Jim :-) It's good to see t