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

2009-11-14 Thread Jim Fulton
On Fri, Nov 13, 2009 at 5:56 PM, Laurence Rowe  wrote:
...
> Presumably ZODB 3.9 maintains backwards compatibility for ZEO clients,
> so a ZODB 3.9 ZEO server could be used with Zope 2.10 + ZODB 3.8
> clients?

Yup.

Jim

-- 
Jim Fulton
___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zodb-dev


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

2009-11-13 Thread Laurence Rowe
2009/11/13 Martin Aspeli :
> Hanno Schlichting wrote:
>> On Fri, Nov 13, 2009 at 5:40 PM, Jim Fulton  wrote:
>>> On Fri, Nov 13, 2009 at 10:18 AM, Mikko Ohtamaa  
>>> wrote:
 Unfortunately the application having the issues is Plone 3.3. ZODB 3.9
 depends on Zope 2.12 so, right?
>>> ZODB does depend on Zope anything. :)
>>>
>>> Plone 3.3 may use an earlier version of ZODB. but perhaps it is
>>> possible to get it to work with a later one. I wouldn't know. :)
>>
>> Plone 3.x uses Zope 2.10 and ZODB 3.7. Upgrading it to ZODB 3.8.x is trivial.
>>
>> But the changes in ZODB 3.9 (essentially the removal of the version
>> feature) require a bunch of non-trivial changes to Zope2. So only Zope
>> 2.12 works with ZODB 3.9.
>>
>> Anyone using Plone 3.x who wants to use blobs is therefor stuck with
>> ZODB 3.8.x. It's not supported by Plone and considered experimental on
>> all layers :)
>
> Meanwhile, several people have used it in production. I was a little
> taken aback to discover that it is considered "somewhat experimental"
> (and it seems, a bit broken) in ZODB 3.8 (as distinct from the Plone
> integration package, plone.app.blob, which indeed has been experimental
> up until now). I think a lot of other people would be too.
>
> A lot of people would be very happy if this bug in ZODB 3.8 could be
> fixed, since the option of upgrading is not there (since ZODB 3.9
> introduces too-incompatible changes to work with Zope 2.10) for anyone
> on a released, stable version of Plone.

Presumably ZODB 3.9 maintains backwards compatibility for ZEO clients,
so a ZODB 3.9 ZEO server could be used with Zope 2.10 + ZODB 3.8
clients?

Laurence
___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zodb-dev


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

2009-11-13 Thread Martin Aspeli
Hanno Schlichting wrote:
> On Fri, Nov 13, 2009 at 5:40 PM, Jim Fulton  wrote:
>> On Fri, Nov 13, 2009 at 10:18 AM, Mikko Ohtamaa  
>> wrote:
>>> Unfortunately the application having the issues is Plone 3.3. ZODB 3.9
>>> depends on Zope 2.12 so, right?
>> ZODB does depend on Zope anything. :)
>>
>> Plone 3.3 may use an earlier version of ZODB. but perhaps it is
>> possible to get it to work with a later one. I wouldn't know. :)
> 
> Plone 3.x uses Zope 2.10 and ZODB 3.7. Upgrading it to ZODB 3.8.x is trivial.
> 
> But the changes in ZODB 3.9 (essentially the removal of the version
> feature) require a bunch of non-trivial changes to Zope2. So only Zope
> 2.12 works with ZODB 3.9.
> 
> Anyone using Plone 3.x who wants to use blobs is therefor stuck with
> ZODB 3.8.x. It's not supported by Plone and considered experimental on
> all layers :)

Meanwhile, several people have used it in production. I was a little 
taken aback to discover that it is considered "somewhat experimental" 
(and it seems, a bit broken) in ZODB 3.8 (as distinct from the Plone 
integration package, plone.app.blob, which indeed has been experimental 
up until now). I think a lot of other people would be too.

A lot of people would be very happy if this bug in ZODB 3.8 could be 
fixed, since the option of upgrading is not there (since ZODB 3.9 
introduces too-incompatible changes to work with Zope 2.10) for anyone 
on a released, stable version of Plone.

Martin

-- 
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book

___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zodb-dev


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

2009-11-13 Thread Hanno Schlichting
On Fri, Nov 13, 2009 at 5:40 PM, Jim Fulton  wrote:
> On Fri, Nov 13, 2009 at 10:18 AM, Mikko Ohtamaa  
> wrote:
>> Unfortunately the application having the issues is Plone 3.3. ZODB 3.9
>> depends on Zope 2.12 so, right?
>
> ZODB does depend on Zope anything. :)
>
> Plone 3.3 may use an earlier version of ZODB. but perhaps it is
> possible to get it to work with a later one. I wouldn't know. :)

Plone 3.x uses Zope 2.10 and ZODB 3.7. Upgrading it to ZODB 3.8.x is trivial.

But the changes in ZODB 3.9 (essentially the removal of the version
feature) require a bunch of non-trivial changes to Zope2. So only Zope
2.12 works with ZODB 3.9.

Anyone using Plone 3.x who wants to use blobs is therefor stuck with
ZODB 3.8.x. It's not supported by Plone and considered experimental on
all layers :)

Hanno
___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zodb-dev


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

2009-11-13 Thread Jim Fulton
On Fri, Nov 13, 2009 at 10:18 AM, Mikko Ohtamaa  wrote:
>>
>>
>> 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?

ZODB does depend on Zope anything. :)

Plone 3.3 may use an earlier version of ZODB. but perhaps it is
possible to get it to work with a later one. I wouldn't know. :)

Jim




-- 
Jim Fulton
___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zodb-dev


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.

Meanwhile I'll just run the instance as normal single-user Zope instead of
ZEO.

-Mikko
___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zodb-dev


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

2009-11-12 Thread Jim Fulton
On Thu, Nov 12, 2009 at 6:24 AM, Mikko Ohtamaa  wrote:
> 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. Somehow transaction is being retried and retry
> fails due to missing .tmp file. This is probably fault on our code, but in
> any case ZEO/ZODB utterly fails causing nasty exceptions.
> (Since I am not a ZODB expert every stated above might be completely false)
> Here is the detailed document of the
> issue: http://code.google.com/p/dexterity/issues/detail?id=94&colspec=ID%20Type%20Status%20Priority%20Difficulty%20Milestone%20Owner%20Summary
> I hope to find advice
> 1) How to debug ZEO - this was not particularly
> encouraging: http://plone.org/documentation/tutorial/debugging-tips-and-tricks-a-real-life-example/oh-server-where-art-thou
> 2) The actual solution to the problem
> 3) What might cause it

I suggest trying to use ZODB 3.9.3 instead. I consider blob support in
3.8 to be somewhat experimental.

Jim

-- 
Jim Fulton
___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zodb-dev


[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. Somehow transaction is being retried and retry
fails due to missing .tmp file. This is probably fault on our code, but in
any case ZEO/ZODB utterly fails causing nasty exceptions.

(Since I am not a ZODB expert every stated above might be completely false)

Here is the detailed document of the issue:
http://code.google.com/p/dexterity/issues/detail?id=94&colspec=ID%20Type%20Status%20Priority%20Difficulty%20Milestone%20Owner%20Summary

I hope to find advice

1) How to debug ZEO - this was not particularly encouraging:
http://plone.org/documentation/tutorial/debugging-tips-and-tricks-a-real-life-example/oh-server-where-art-thou

2) The actual solution to the problem

3) What might cause it

-Mikko
___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zodb-dev