On Sun, Jul 3, 2011 at 9:00 PM, Francois Stephany <tulipe.moutarde@gmail.com
wrote:
Hi Mariano,
I'll try to nail down the problem.
Excellent.
Any hint on what can cause the problem?
Not really. The problem seems to be that the file was not correctly written. Objects are grouped in clusters. So we write the id of the cluster, then the amount of objects of such clusters and finally we write those objects. At materialization, we read the data. In this case, it seems we are reading something different from expected, so we do something like clusterId := stream readInteger to get the id but in fact we are getting a zero, because we are actually reading something different from expected. Can you see if evaluating "FuelUtilities cleanUpEverything" helps ? Which version of the package FUel are you using ? How did you exactly installed Fuel ? I'm probably doing something stupid...
Not sure. Can you also tell us how did you serialize/materialize? which kind of object you were trying to serialize? thanks
On 03/07/11 20:43, Mariano Martinez Peck wrote:
Hi Francois.
Can you reproduce the problem? If true, please let us know how.
Mariano
On Sun, Jul 3, 2011 at 8:30 PM, Francois Stephany <tulipe.moutarde@gmail.com <mailto:tulipe.moutarde@gmail.**com<tulipe.moutarde@gmail.com>>> wrote:
I've serialized an object with Fuel and can't get it back in another image:
Could not find a serializer with id=0 in FLCluster class>>forId:
The instance variable 'serializersById' contains a dictionary with other integers than 0 for its keys (1, 2, 3, 4, 7, etc).
Is it a known problem, something I'm doing wrong? Maybe because I've serialized an object from Pharo 1.2 to 1.3?
Cheers, Fa
-- Mariano http://marianopeck.wordpress.**com <http://marianopeck.wordpress.com>
-- Mariano http://marianopeck.wordpress.com