Re: [ZODB-Dev] Error installing ZODB (transaction 1.2.0)

2012-03-28 Thread David Glick (GW)

On Mar 28, 2012, at 12:02 PM, Bahr, Eric wrote:

I am getting an error when installing ZODB with easy install and python 2.5.  
The error is coming from transaction and ZODB fails to fully install.  Here is 
the error:

Searching for transaction>=1.1.0
Reading http://pypi.python.org/simple/transaction/
Reading http://www.zope.org/Products/ZODB
Best match: transaction 1.2.0
Downloading http://pypi.python.org/packages/source/t/transaction/transaction-1.2
.0.tar.gz#md5=48bb47e69df085d01ebec185705b3a7f
Processing transaction-1.2.0.tar.gz
Running transaction-1.2.0\setup.py -q bdist_egg --dist-dir c:\users\00081528\app
data\local\temp\easy_install-t6bjyi\transaction-1.2.0\egg-dist-tmp-9hvdng
  File "build\bdist.win32\egg\transaction\tests\savepointsample.py", line 26
class SampleDataManager(object):
^
SyntaxError: invalid syntax

  File "c:\python25\lib\site-packages\transaction-1.2.0-py2.5.egg\transaction\te
sts\savepointsample.py", line 26
class SampleDataManager(object):
^
SyntaxError: invalid syntax

Adding transaction 1.2.0 to easy-install.pth file

Installed c:\python25\lib\site-packages\transaction-1.2.0-py2.5.egg


from the changelog for transaction 1.2.0:
"Dropped Python 2.4 and 2.5 compatibility (use 1.1.1 if you need to use 
"transaction" under these Python versions)."




David Glick
Web Developer
davidgl...@groundwire.org
206.286.1235x32


[http://gw-logo.s3.amazonaws.com/gw-email-signature.png]


The NPO Engagement Party 2012. So much more 
fun than the wedding reception.


___
For more information about ZODB, see http://zodb.org/

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


Re: [ZODB-Dev] zeopack error

2012-02-09 Thread David Glick (GW)

On Feb 9, 2012, at 12:24 PM, Darryl Dixon - Winterhouse Consulting wrote:

>> On Thu, Feb 9, 2012 at 11:32 AM, Marius Gedminas  wrote:
>>> On Thu, Feb 09, 2012 at 02:26:10AM +0100, Kaweh Kazemi wrote:
 Thanks a lot for the investigation, Marius. That was awesome.

 Seems to me, I need to upgrade to Python 2.7 and be done with the
 problem then. :/
>>>
>>> I wonder, though, if ZODB ought to use the 'noload' method of
>>> cPickle.Unpickler, which is undocumented and broken on 2.6 (and gone on
>>> 3.x, AFAIU).
>>
>> noload exists for ZODB.
>>
>> We ZC (DC at the time) wrote cPickle because ZODB needed a
>> highly-optimized
>> pickler.  There are a number of decisions we made specifically with
>> ZODB in mind.
>>
>> I don't think the Python 3 version of cPickle reflects these
>> priorities.  I strongly suspect
>> we'll end up having our own cPickle in the long run.
>>
>
> It would be wonderful if ZODB settled on an internal version of cPickle
> that didn't use recursion so we could Pickler.dump() OFS.File objects
> bigger than 32mb :-)
>

Shouldn't we just update OFS.File to use blob storage?
David



--
David Glick
 Web Developer
 davidgl...@groundwire.org
 206.286.1235x32

Engagement technology for social and environmental change.

http://www.groundwire.org


___
For more information about ZODB, see http://zodb.org/

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