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

2005-07-06 Thread Richard Jones
I'd like to get session-based login going, and on the surface PAS appears to support that. First up, is there any documentation? I've set up in my PAS "acl_users" the following objects: 1. "cookies" - a Cookie Auth Helper active for Challenge 2. "session" - a Session Auth Helper active for Ext

Re: [Zope] paypal IPN. Debug messages missing. Script goes zombie

2005-07-06 Thread Peter Bengtsson
Surely you get an error on the urlopen() bit because it's an HTTPS protocol. Search the ASPN python cookbook or the google for "https python" Next time, try to include your traceback in the email to the list. On 7/6/05, Ed Colmar <[EMAIL PROTECTED]> wrote: > Hi all! > > I've been hacking togeth

Re: [Zope] Zope won't give up WebDAV Lock

2005-07-06 Thread Dieter Maurer
[EMAIL PROTECTED] wrote at 2005-7-6 07:50 -0600: > ... >The lock is not listed in Control Panel > WebDAV Lock Manager, >therefore cannot be released there. That looks like the bug you need to analyse. There was not yet a need for me to try to understand how WebDAV locking works. As you have the

[Zope] paypal IPN. Debug messages missing. Script goes zombie

2005-07-06 Thread Ed Colmar
Hi all! I've been hacking together a few seperate paypal IPN connections, some code from basion, and some from random web scrapings... Anyway... Things are working for the most part, except that this method for some reason dies when using urllib.urlopen(), and what is really wierd is that I

Re: [Zope] Why don't work?

2005-07-06 Thread bruno modulix
Garito wrote: > bruno modulix escribió: > >> Garito wrote: >> >>> Lennart Regebro escribió: >>> A wild guess: Your post works, but returns a redirect to a nother page, which returns nothing. This will look exactly like notyhing happened at the browser side. >>> >>> Yes, looking at Z

[Zope] Zope won't give up WebDAV Lock

2005-07-06 Thread hpinson
I have a regularly occuring WebDAV problem: A file edited via ExternalEditor gets a WebDAV lock. Upon closing (Textpad in this case) occasionally the lock is not released. The lock is not listed in Control Panel > WebDAV Lock Manager, therefore cannot be released there. Restarting Zope does n

RE: [Zope] About Zope 2.7.7

2005-07-06 Thread Pascal Peregrina
Ok, thanks a lot ! Pascal -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Andreas Jung Sent: 05 July 2005 15:37 To: Pascal Peregrina; 'zope@zope.org' Subject: Re: [Zope] About Zope 2.7.7 ___ Zope maillist - Zop

Re: [Zope] bug?

2005-07-06 Thread Andreas Jung
--On 6. Juli 2005 12:44:00 +0200 Jürgen Herrmann <[EMAIL PROTECTED]> wrote: hi there! either this is a bug or i'm too stoned to see, what's going on... i have a folder /1, 2 subfolders /1/11 and /1/22. each subfolder has a property 'bool', which is a boolean. there's a zcatalog instance in

Re: [Zope] bug?

2005-07-06 Thread Jürgen Herrmann
i was dumb :) the metadata table simply didn't have getId, so the brains object acquires getId from the catalog. sorry for my nubness ;P regards, juergen herrmann [ Peter Bengtsson wrote:] > Easy. The brain object doesn't have a 'getId()' method. The Catalog has. > What you're probably after is

Re: [Zope] bug?

2005-07-06 Thread Peter Bengtsson
Easy. The brain object doesn't have a 'getId()' method. The Catalog has. What you're probably after is something like this:: for brain in context.Catalog.searchResults({'bool':1}): cataloged_object = brain.getObject() if cataloged_object is None: print "ZCatalog out of sync!

[Zope] bug?

2005-07-06 Thread Jürgen Herrmann
hi there! either this is a bug or i'm too stoned to see, what's going on... i have a folder /1, 2 subfolders /1/11 and /1/22. each subfolder has a property 'bool', which is a boolean. there's a zcatalog instance in /1/Catalog with one index bool, indexed attribute 'bool'. i cataloged the two subf

Re: [Zope] Why don't work?

2005-07-06 Thread Garito
bruno modulix escribió: Garito wrote: Lennart Regebro escribió: A wild guess: Your post works, but returns a redirect to a nother page, which returns nothing. This will look exactly like notyhing happened at the browser side. Yes, looking at Z2.log it seems it but If I execu

Re: [Zope] Why don't work?

2005-07-06 Thread bruno modulix
Garito wrote: > Lennart Regebro escribió: > >> A wild guess: Your post works, but returns a redirect to a nother >> page, which returns nothing. This will look exactly like notyhing >> happened at the browser side. >> >> > Yes, looking at Z2.log it seems it but If I execute the action url > manu

Re: [Zope] Why don't work?

2005-07-06 Thread Garito
Lennart Regebro escribió: A wild guess: Your post works, but returns a redirect to a nother page, which returns nothing. This will look exactly like notyhing happened at the browser side. Yes, looking at Z2.log it seems it but If I execute the action url manually it works like I expect Any

Re: [Zope] Why don't work?

2005-07-06 Thread Lennart Regebro
A wild guess: Your post works, but returns a redirect to a nother page, which returns nothing. This will look exactly like notyhing happened at the browser side. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross

Re: [Zope] A function like a FTP Object

2005-07-06 Thread Peter Bengtsson
On 7/6/05, Garito <[EMAIL PROTECTED]> wrote: > Peter Bengtsson escribió: > > >>Hi! > >>does this work on a folder? > >> > >> > >> > >Sure it does. Did you understand any of my code? I subclassed it on > >the folder class. > > > > > > > >>The struct.xml function is on a folder object and I would li

Re: [Zope] Why don't work?

2005-07-06 Thread bruno modulix
Garito wrote: > Andreas Jung escribió: > >> >> >> --On 6. Juli 2005 10:29:45 +0200 Garito <[EMAIL PROTECTED]> wrote: >> >>> >>> My question is why If I push Eliminar button don't submit the form to >>> the >>> correct url (http://yanged:8280/Papeles/Yanged/Links/Eliminar)? >>> >> >> What happens i

Re: [Zope] Why don't work?

2005-07-06 Thread Garito
Andreas Jung escribió: --On 6. Juli 2005 10:29:45 +0200 Garito <[EMAIL PROTECTED]> wrote: My question is why If I push Eliminar button don't submit the form to the correct url (http://yanged:8280/Papeles/Yanged/Links/Eliminar)? What happens instead? Look at your Z2.log to figure out wh

Re: [Zope] Why don't work?

2005-07-06 Thread Andreas Jung
--On 6. Juli 2005 10:29:45 +0200 Garito <[EMAIL PROTECTED]> wrote: My question is why If I push Eliminar button don't submit the form to the correct url (http://yanged:8280/Papeles/Yanged/Links/Eliminar)? What happens instead? Look at your Z2.log to figure out what is requested. -aj pgpcx

Re: [Zope] A function like a FTP Object

2005-07-06 Thread Garito
Peter Bengtsson escribió: Hi! does this work on a folder? Sure it does. Did you understand any of my code? I subclassed it on the folder class. The struct.xml function is on a folder object and I would like struct.xml as an object contained by the folder one This is completely

[Zope] Why don't work?

2005-07-06 Thread Garito
Hi all! I create a ZPT with this result: action="http://yanged:8280/Papeles/Yanged/Links/Eliminar/";> value="Links1" /> href="http://yanged:8280/Papeles/Yanged/Links/Editar/Links1";>Mis Cosas href="http://blogs.sistes.ne