[plt-scheme] How to move serialized data from one machine to another?

From: Jens Axel Søgaard (jensaxel at soegaard.net)
Date: Sat Sep 23 18:30:13 EDT 2006

Matthew Flatt skrev:
> At Sat, 23 Sep 2006 22:17:00 +0200, Jens Axel Søgaard wrote:
>> Opening the serialized file I can see that the following path occurs 
>> multiple times:
>>
>> (file
>> C:\\Programmer\\plt\\collects\\web-server\\default-web-
>> root\\servlets\\search\\indexer.scm")
>>
>> On the Linux machine the proper path is
>>
>>      home/soegaard/domains/scheme.dk/web-root/servlets/search/indexer.scm
>>
>> I tried hand editing the file, but it didn't work (but maybe I made a 
>> mistake during editing).

I did. I forgot a ". The error thrown from read came way later, when it
saw a #"." .

>> Note: This is on version 301.
> 
> I think I fixed a bug between v301 and v352 with absolute paths in
> serialized data.

Okay.

>> (For some reason my indexer crashes on
>> v352, but I can't figure out exactly what causes the crash).
> 
> What kind of crash? (If it's the "seg fault" kind of crash, I'd like to
> help track down the problem.)

It is a seg fault-type of crash. If it were on Linux, I would have found
the spot with gdb and the core file. Is there a similar trick on
Windows?

-- 
Jens Axel Søgaard




Posted on the users mailing list.