[Zope] How to commit a piece of data in a transaction when the transaction is being aborted later

2006-06-20 Thread William Heymann
I am dealing with a zope system where Verisign is sending a POST to our server for ecommerece purposes. Currently I am writing the entire contents of the POST from verisign to the ZODB however I have a problem that some of these POSTs are not being recorded because an error occurs later in the

Re: [Zope] How to commit a piece of data in a transaction when the transaction is being aborted later

2006-06-20 Thread William Heymann
On Tuesday 20 June 2006 12:47, Chris McDonough wrote: > > I'd just record the data from Verisign in response to their POST (do > nothing else) and come along later with a separate request to pick > through the data to do postprocessing on it every so often; then the > data always gets recorded and

Re: [Zope] How to commit a piece of data in a transaction when the transaction is being aborted later

2006-06-21 Thread William Heymann
On Wednesday 21 June 2006 01:17, Tino Wildenhain wrote: > William Heymann schrieb: > > That is probably a good idea for long term to change things that way and > > I would like to rewrite it. However right now I don't really want to > > rewrite the way the current s

[Zope] not allowed to access a particular tuple

2006-10-20 Thread William Heymann
This is an external method I wrote to make it easier to iterate over the records returned from searching the catalog. However if I have yield record,item instead of yield item it says that I am not allowed to access a particular tuple during iteration. How can I make it so that the value that i

Re: [Zope] not allowed to access a particular tuple

2006-10-20 Thread William Heymann
On Friday 20 October 2006 07:05, Jonathan wrote: > > The 'yield' statement is not allowed within a 'try' clause (see the Python > Reference manual). > Hmm that seems strange, it works just fine in all the places I have done it, the only issue is zope not liking the returned object if it is not a

[Zope] invalid load key

2006-10-30 Thread William Heymann
This is the traceback I am getting when I try to pack the db Traceback (innermost last): Module ZPublisher.Publish, line 115, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 41, in call_object Module App.ApplicationManager, line 426, in manage_pack

Re: [Zope] invalid load key

2006-10-30 Thread William Heymann
On Monday 30 October 2006 20:47, William Heymann wrote: I know it is bad form to reply to your own post but I managed to fix it so I wanted to say how in case anyone else runs into this problem. > This is the traceback I am getting when I try to pack the db > > > > Traceback

[Zope] getting post data from a webcam

2008-07-08 Thread William Heymann
I am trying to integrate a webcamera with a site and I can get it to POST the data to a certain url on the server the problem is I can't figure out how to get access to the data. It is not in REQUEST.form the relevant request vars are ('CONTENT_LENGTH', '111695') ('CONTENT_TYPE', 'image/jpeg')

Re: [Zope] getting post data from a webcam

2008-07-09 Thread William Heymann
On Wednesday 09 July 2008, Tino Wildenhain wrote: > William Heymann wrote: > > I am trying to integrate a webcamera with a site and I can get it to POST > > the data to a certain url on the server the problem is I can't figure out > > how to get access to the data.

Re: [Zope] getting post data from a webcam

2008-07-09 Thread William Heymann
On Wednesday 09 July 2008, Jonathan wrote: > > You need to provide more details... try dumping the contents of REQUEST and > posting them as was suggested earlier. > I did post all the relevant fields from the REQUEST here are all of the them in REQUEST.items() [('ACTUAL_URL', 'http://www.

Re: [Zope] exUserFolder and Zope 2.12

2010-01-01 Thread William Heymann
On Thursday 17 December 2009, Andrew Milton wrote: > +---[ Baiju M ]-- > > | Hi, > | In exUserFolder there are few exceptions raised like this: > | > | raise 'LoginRequired', self.docLogin(self, request) > | > | This will not working in Zope 2.12 (Python 2.6) > | > | An

[Zope] problem with ++resource++ on zope 2.9

2010-03-25 Thread William Heymann
I have a product that is working fine on zope 2.12 but on 2.9 I can't get it to work. my configure.zcml is http://namespaces.zope.org/zope"; xmlns:browser="http://namespaces.zope.org/browser"; > On 2.12 myserver/++resource++EditArea/somefile.js returns the file just fine but o

Re: [Zope] Plone the new Zope?

2010-10-19 Thread William Heymann
On Tuesday 19 October 2010, Brian Sullivan wrote: > I haven't done any Zope work for quite a while and have just restarted > out of necessity. Things seem to have changed in the last few years. > > I get the impression from the age of the Zope installs, the state of > disrepair and link rot of the

[Zope] Monkey patch for BLOB support in OFS.Image Images and Files

2011-01-07 Thread William Heymann
I have a monkey patch here that I would like comments on it and to see how it works for others. https://github.com/Immudzen/MonkeyOFSImageFile I have been testing it for a few weeks now and I have not run into any problems with it. It works on Zope 2.13 and it should work on Zope 2.12 also wit

Re: [Zope] Monkey patch for BLOB support in OFS.Image Images and Files

2011-01-10 Thread William Heymann
On Saturday 08 January 2011, Tres Seaver wrote: > On 01/08/2011 05:58 AM, Jens Vagelpohl wrote: > > On 1/7/11 22:28 , William Heymann wrote: > >> I have a monkey patch here that I would like comments on it and to see > >> how it works for others. > > > > H

Re: [Zope] Securly storing variables without session in zope

2011-06-14 Thread William Heymann
On Tuesday 14 June 2011, Jibin K.J wrote: > Hi, > > I want to store values in variables to access form another page(a.k.a > State management). Now I cannot use sessions since I have multiple Zope > instances & if one fails the user need to be redirected to another Zope > instance and one session