Re: [Zope] localfs cannot save (ValueError: assigning to _p_jar is not supported )
Luca Dall'Olio wrote at 2006-3-14 12:26 +0100: >I have created some localfs directory. I can see files from filesystem >and delete them from Zope, but I cannot upload them or modify text >files from Zope, because I get the following error : > >Traceback (innermost last): > >* Module ZPublisher.Publish, line 113, in publish >* Module ZPublisher.mapply, line 88, in mapply >* Module ZPublisher.Publish, line 40, in call_object >* Module Products.LocalFS.LocalFS, line 3, in manage_edit >* Module OFS.Image, line 449, in manage_edit >* Module ZODB.Connection, line 853, in register > >ValueError: assigning to _p_jar is not supported "LocalFS" should not touch persistency attributes at all. Almost surely, the wrapper used by "LocalFS" for a "File" is a bit too near "OFS.File" which was designed for ZODB storage (and not a filesystem proxy). > ... >Is localfs still supported? "LocalFS" was always a third party product. The first author has "LocalFS" meanwhile abandoned. The latest adaptions to "LocalFS" where done by some "Andreas". Maybe, he is willing to continue to support "LocalFS". -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] localfs cannot save (ValueError: assigning to _p_jar is not supported )
I have created some localfs directory. I can see files from filesystem and delete them from Zope, but I cannot upload them or modify text files from Zope, because I get the following error : Traceback (innermost last): * Module ZPublisher.Publish, line 113, in publish * Module ZPublisher.mapply, line 88, in mapply * Module ZPublisher.Publish, line 40, in call_object * Module Products.LocalFS.LocalFS, line 3, in manage_edit * Module OFS.Image, line 449, in manage_edit * Module ZODB.Connection, line 853, in register ValueError: assigning to _p_jar is not supported Searching this in google, seems to me that this is somehow related to the lack of Zope OIDs for localfs objects, and I suspect changes in Zope >= 2.8 but I cannot get any further in the solution Is localfs still supported? Zope has full access rights to the local directory, this is my configuration : Zope Version (Zope 2.9.0-, python 2.4.2, sunos5) Python Version 2.4.2 (#1, Oct 3 2005, 01:55:05) [GCC 3.3.2] System Platform sunos5 Thank you in advance, any hint is welcome! Luca ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )