It pickles, on trying to unpickle, It gives an unpickling error on unpickling, 
though.
/Users/mkapes/Downloads/infoshopkeeper/AmazonAuthorTitle.py in <module>()
     40 ourTitles=[]
     41 try:
---> 42     ourTitles=shelf['ourTitles']
     43     print "Pull From Shelf"
     44 except KeyError:

/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/shelve.pyc
 in __getitem__(self, key)
    120         except KeyError:
    121             f = StringIO(self.dict[key])
--> 122             value = Unpickler(f).load()
    123             if self.writeback:
    124                 self.cache[key] = value

AttributeError: 'FakeModule' object has no attribute 'Title'
> /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/shelve.py(122)__getitem__()
    121             f = StringIO(self.dict[key])
--> 122             value = Unpickler(f).load()
    123             if self.writeback:

 
On Fri, Feb 27, 2010 at 12:33PM +0300, Oleg Broytman wrote:
> On Fri, Feb 26, 2010 at 11:42:28PM +0300, Oleg Broytman wrote:
> > > but I'm still getting the same PicklingError.
> > 
> >    I'll look into it.
> 
>    Ok, found it. .select() always passes a connection to .get() thus
> setting _perConnection flag. I added a test if get() or _init() is passed
> the same connection - do not set _perConnection flag.
>    I added the test to all branches - 0.11, 0.12 and the trunk. Committed
> in the revisions 4107-4110. Will be in the next round of releases.
>    Please report if it helps.
> 
> Oleg.
> -- 
>      Oleg Broytman            p...@phd.pp.ru" 
> target="_blank">http://phd.pp.ru/            p...@phd.pp.ru>
>            Programmers don't die, they just GOSUB without RETURN.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to