« Return to Thread: Re: Extracting a pier root

Re: Extracting a pier root

by M. Blanc-2 :: Rate this Message:

Reply to Author | View in Thread


On 4 Dec 2007, at 09:48, Lukas Renggli wrote:

>>> So serializing the kernel out to a file worked directly, but when
>>> loading the .sixx file back in another image, it tries to put a nil
>>> inside a set, and the set complains. What could replace some object
>>> by
>>> a nil like that? unserializable object on one end, or missing  
>>> classes
>>> in the new image?
>>
>> This sounds like the Set is not properly hashed. Probably due to a  
>> bug
>> in the SIXX Set serialization.
>
> It would be really cool if we could get that working.

These snippets run fine on an out-of-the box Pier from Seaside.530

| stream |
stream := ReferenceStream fileNamed: 'export.obj'.
stream nextPut: (PRKernel instanceNamed: 'Pier') root sixxString.
stream close.

| stream |
stream := ReferenceStream fileNamed: 'export.obj'.
(PRKernel instanceNamed: 'Pier') root: (Object readSixxFrom: stream  
next).
stream close.

So, what is that is not working?

Cheers
--mbj

_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki

 « Return to Thread: Re: Extracting a pier root

LightInTheBox - Buy quality products at wholesale price