[Zope] Why don't work?

2005-07-06 Thread Garito
Hi all! I create a ZPT with this result: form name=Borrador method=post action=http://yanged:8280/Papeles/Yanged/Links/Eliminar/; div id=Borrable input type=submit value=Eliminar name=Borrador / /div div class=Links id=Links1 div id=Movibleinput type=checkbox

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

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

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

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 instead? Look at your Z2.log to

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 like struct.xml as an object

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] 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

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 manually it works

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

[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

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

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 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] 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 -

[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

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 Z2.log it seems it but If I

[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

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

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 together a

[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

[Zope-dev] Re: [Zope-Checkins] CVS: Packages/ZODB - FileStorage.py:1.135.6.9

2005-07-06 Thread Chris Withers
O... is this surfaced through the Zope undo tab? Chris Tim Peters wrote: Update of /cvs-repository/Packages/ZODB In directory cvs.zope.org:/tmp/cvs-serv29971/ZODB Modified Files: Tag: Zope-2_7-branch FileStorage.py Log Message: UndoSearch._readnext(): Add the transaction size to

Re: [Zope-dev] [Zope 2] Skipping beta releases?

2005-07-06 Thread Lennart Regebro
On 7/3/05, Andreas Jung [EMAIL PROTECTED] wrote: the current release model of Zope 2 is based on doing at least one beta release for minor releases (Zope 2.7.X where X 0). I have the strong impression that beta releases are not adopted and tested by most people. They usually use the final

Re: [Zope-dev] Re: [Zope-Checkins] CVS: Packages/ZODB - FileStorage.py:1.135.6.9

2005-07-06 Thread Tim Peters
[Chris Withers] O... is this surfaced through the Zope undo tab? Try it. I'm sure that was Dieter's intent: http://mail.zope.org/pipermail/zodb-dev/2003-October/006157.html ,,,' The patch also enhances FileStorage and lets its UndoSearch._readnext provide information

[Zope-dev] bridging Zope core interfaces - a small proposal

2005-07-06 Thread yuppie
Hi! Five comes with some code that bridges Zope 2 interfaces to Zope 3 interfaces. This way Zope 2 interface definitions can be reused without adding redundant code. This is quite useful, but doesn't work for Zope core interfaces: Five depends one many Zope core packages and using Five

Re: [Zope-dev] bridging Zope core interfaces - a small proposal

2005-07-06 Thread Lennart Regebro
On 7/6/05, yuppie [EMAIL PROTECTED] wrote: Five comes with some code that bridges Zope 2 interfaces to Zope 3 interfaces. This way Zope 2 interface definitions can be reused without adding redundant code. This is quite useful, but doesn't work for Zope core interfaces: Five depends one many

[Zope-dev] Re: bridging Zope core interfaces - a small proposal

2005-07-06 Thread yuppie
Lennart Regebro wrote: On 7/6/05, yuppie [EMAIL PROTECTED] wrote: Five comes with some code that bridges Zope 2 interfaces to Zope 3 interfaces. This way Zope 2 interface definitions can be reused without adding redundant code. This is quite useful, but doesn't work for Zope core interfaces:

[Zope-dev] Re: bridging Zope core interfaces - a small proposal

2005-07-06 Thread Lennart Regebro
On 7/6/05, yuppie [EMAIL PROTECTED] wrote: Lennart Regebro wrote: Did I understand that correctly, it is a problem if you want to use Five *from* zope core code? Correct. It's not always a problem, but the bridging code doesn't depend on anything else in Five, so I guess moving that code