Re: Pixie and DateTime

[prev] [thread] [next] [lurker] [Date index for 2004/07/06]

From: Steve Purkis
Subject: Re: Pixie and DateTime
Date: 14:21 on 06 Jul 2004
Hi Dieter,

On Jul 2, 2004, at 13:15, Dieter M=FCcke wrote:

> Hi list,
> following instructions in Pixie::Complicity to make DateTime objects=20=

> persistent I'm facing a error message while accessing object: Can't=20
> locate object method "ymd" via package "Memento::DateTime" at=20
> /Library/Perl/5.8.1/darwin-thread-multi-2level/Pixie/Proxy.pm line=20
> 194.
>
> It seems Pixie::Proxy::px_restore is not returning the object created=20=

> in Memento::DateTime::px_thaw but rather creates a new one.

Yes, it does... see Pixie::_get, and related methods.


> Did I something wrong in my script? Any advice is appreciated!

I don't have time to go over your test script unfortunately, but I=20
agree that this is somewhat confusing behaviour, and should prolly be=20
changed to be more intuitive.  We've discussed using a different method=20=

of freezing/thawing in a different thread, so it may well change in the=20=

next major version of Pixie.  But until then...

I haven't done much in the way of testing px_freeze and px_thaw, so I=20
may not be the best person to give you advice on this.  But at a=20
glance, do you really need to have a customized px_freeze / px_thaw ?

-Steve

Generated at 09:01 on 03 Aug 2004 by mariachi 0.52