[Glass] Moving data from Pharo with SIXX

Mariano Martinez Peck marianopeck at gmail.com
Tue Nov 26 08:25:41 PST 2013


Thanks Dale for the links.
So, I installed SIXX in Pharo with:

Gofer new
squeaksource: 'MetacelloRepository';
package:  'ConfigurationOfSIXX';
load.
(Smalltalk at:#ConfigurationOfSIXX) load.
And I serialized into a text file sending #sixxString.

In GemStone I installed SIXX with:

Metacello new baseline: 'SIXX'; repository:
'github://glassdb/SIXX:master/repository'; load .


and tried to materialize with #readSixxFrom:

Now...the problem is that first, it barked because the class
LargePositiveInteger didn't exist. So I found a workaound doing:

srs := SixxShapeChangeReadStream on: (FileStream oldFileNamed:
'myFile.xml'). srs shapeChangers at: #LargePositiveInteger put:
LargeInteger.
srs next.

Cool. I continue and now it barks because it doesn't find the class
False.....
So.....I thought the SIXX serialization between Pharo and GemStone managed
this stuff. Am I doing something wrong or I need to manually map all these
classes?

Thanks!



On Fri, Nov 22, 2013 at 5:23 PM, Dale K. Henrichs <
dale.henrichs at gemtalksystems.com> wrote:

> I think that these two posts still apply [1], [2] plus the discussions on
> this list [3],[4]....
>
> [1]
> http://gemstonesoup.wordpress.com/2009/06/01/deep-sixx-with-xmlpullparser/
> [2]
> http://gemstonesoup.wordpress.com/2008/11/19/gemstone-101-managing-out-of-memory-situations/
> [3]
> http://forum.world.st/Porting-data-from-Pharo-to-GLASS-with-SIXX-td4658419.html
> [4]
> https://www.google.com/search?q=sixx+glass+site:forum.world.st&rlz=1C5CHFA_enUS507US513&espv=210&es_sm=91&biw=957&bih=537
> ------------------------------
>
> *From: *"Mariano Martinez Peck" <marianopeck at gmail.com>
> *To: *glass at lists.gemtalksystems.com
> *Sent: *Friday, November 22, 2013 10:58:25 AM
> *Subject: *[Glass] Moving data from Pharo with SIXX
>
>
> Hi guys,
>
> I want to start testing my app in GemStone and one of the things I would
> need to do first is to move some that. I understand that most of the people
> use SIXX.
> So..what things should I be careful while serializing? sorted collections?
> closures?
> Floats? DateAndTimes? ScaledDecimal ...
> In other words...is there any known type of object that I should not move
> with SIXX to GemStone?
>
> Any blog post or something about
> using/installing/serializing/materializing SIXX for this task?
>
> Thanks in advance!!
>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> http://lists.gemtalksystems.com/mailman/listinfo/glass
>
>
>


-- 
Mariano
http://marianopeck.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20131126/9d13c877/attachment-0001.html>


More information about the Glass mailing list