Re: [ZODB-Dev] Cache warm up time

2013-03-08 Thread Mikko Ohtamaa
t in here http://www.python.org/~jeremy/weblog/030418.html -- Mikko Ohtamaa http://opensourcehacker.com http://twitter.com/moo9000 ___ For more information about ZODB, see http://zodb.org/ ZODB-Dev mailing list - ZODB-Dev@zope.org https://mail.zope.or

Re: [ZODB-Dev] Moving ZODB projects to github

2012-12-26 Thread Mikko Ohtamaa
On Wed, Dec 26, 2012 at 4:42 PM, Jim Fulton wrote: > I'd like to move ZODB-related projects to github nowish. > (I'm having problems converting ZODB though :() > > If you're currently working on something, let me know so > I don't leave your work behind. > > In the case you need it here is a simp

Re: [ZODB-Dev] ValueError: Non-zero version length. Versions aren't supported.

2012-04-24 Thread Mikko Ohtamaa
e & Plone > D-72070 Tübingen| Produce & Publish > www.zopyx.com | www.produce-and-publish.com > - ---- > E-Publishing, Python, Zope & Plone development, Consulting > > > -BEGIN

Re: [ZODB-Dev] RFC: Blobs in S3

2011-07-07 Thread Mikko Ohtamaa
h the correct > file extension, which will cause problems for users downloading files. I have never done this myself, but I was tipped it is possible through API: http://support.transloadit.com/discussions/questions/107-s3-custom-headers -- Mikko Ohtamaa mFabrik - Freedom Delivered. Web and

[ZODB-Dev] Feedback on the packing process

2011-03-04 Thread Mikko Ohtamaa
ery long time and it might hard to observe when the process might complete. -- Mikko Ohtamaa mFabrik - Freedom Delivered. Web and Mobile for Plone - http://webandmobile.mfabrik.com Blog - http://blog.mfabrik.com ___ For more information about ZODB, see

Re: [ZODB-Dev] Sharing (persisted) strings between threads

2010-12-09 Thread Mikko Ohtamaa
to optimize the > application to load as few objects as possible. Related: http://plone.293351.n2.nabble.com/Prevent-simultaneous-logins-in-Plone-tp5724869p5729428.html -- Mikko Ohtamaa mFabrik - Freedom Delivered. Web site - http://mfabrik.com Mobile site - http://mfabrik.mobi Blog - http:

[ZODB-Dev] Emulating site import/export or walking through all site objects?

2010-11-05 Thread Mikko Ohtamaa
name and see if they are in blacklisted packages. Are there any ready Python recipes or example code where I should start? The question is also open here: http://plone.293351.n2.nabble.com/Automatizing-uninstalls-cleanly-test-tp5705298p5705298.html -- Mikko Ohtamaa mFabrik - Freedom Delivered

[ZODB-Dev] Tracing down a (dangling?) reference in ZODB.ExportImport

2010-08-20 Thread Mikko Ohtamaa
savepoint Module ZODB.Connection, line 550, in _commit Module ZODB.ExportImport, line 178, in _importDuringCommit ImportError: No module named singing.async Cheers, -- Mikko Ohtamaa mFabrik - Freedom Delivered. Web site - http://mfabrik.com Mobile site - http://mfabrik.mobi Blog - http

Re: [ZODB-Dev] ConflictErrors

2010-03-24 Thread Mikko Ohtamaa
>> >> Is there a likely cause for these, and is there anywhere I should be >> looking in particular to try and stop them happening. I hope here are some pointers: http://plonemanual.twinapex.fi/troubleshooting/transactions.html -- Mikko Ohtamaa mFabrik - Freedom Delivered

Re: [ZODB-Dev] Python properties on Persistent objects

2009-12-17 Thread Mikko Ohtamaa
> > Properties work with persistent objects with one limitation that I'm aware of. > The __setattribute__ method used by the persistent base class assumes > that any attribute assignment modifies the object's persistent state. > A property > that doesn't modify state or that modifies volatile state

Re: [ZODB-Dev] Python properties on Persistent objects

2009-12-17 Thread Mikko Ohtamaa
> That code is insane. Really insane. It's generating classes and doing > custom adapter factories that inject a _v_ variable into a persistent > object temporarily. I wouldn't try to copy it at all. I would run away. But I thought this was *the* Zope way and the brightest minds in the community h

Re: [ZODB-Dev] Python properties on Persistent objects

2009-12-17 Thread Mikko Ohtamaa
> > This isn't right: a z3c.form form is just a view like any other. It is > looked up on the context and the request. In Dexterity (which I assume > you're using?), that's going to be the content object. Sorry, I think I mixed with zope.formlib. In any case I hope to find the answer to the origna

[ZODB-Dev] Python properties on Persistent objects

2009-12-16 Thread Mikko Ohtamaa
Hi, I need to have little clarification should properties work on Persistent objects. I am running ZODB 3.8.4 on Plone 3.3. I am using plone.behavior and adapters to retrofit objects with a new behavior (HeaderBehavior object). This object is also editable through z3c.form interface. z3c.form req

Re: [ZODB-Dev] zope cache

2009-12-02 Thread Mikko Ohtamaa
Hi Dganit, > > We write a product to with python. > > After changing the data. > >  When quarrying the object we get inconsistent result. > > Sometimes we get the previous values. Can you please add some details about the problem and a question in the message if you have one. If you are looking f

Re: [ZODB-Dev] ZEO and blobs: missing tmp file breaks transaction on retry

2009-11-13 Thread Mikko Ohtamaa
> > > > I suggest trying to use ZODB 3.9.3 instead. I consider blob support in > 3.8 to be somewhat experimental. > Unfortunately the application having the issues is Plone 3.3. ZODB 3.9 depends on Zope 2.12 so, right? So I am afraid moving to ZODB 3.9 is not possible in the near future. Meanwhil

[ZODB-Dev] ZEO and blobs: missing tmp file breaks transaction on retry

2009-11-12 Thread Mikko Ohtamaa
Hi, We am trying to use BLOBs with ZODB 3.8.4 and ZEO to store images on content objects using plone.app.namedfile. We started having more or less random serious issues which break the site. It looks like that for logged in users, for some page loads, BLOBs are being rewritten on every request.