[plt-scheme] Help recovering corrupted DrScheme editor file

From: John Clements (clements at brinckerhoff.org)
Date: Tue Jun 30 13:31:52 EDT 2009

On Jun 30, 2009, at 10:32 AM, Eddie Sullivan wrote:

> Hi.
> I'm not sure how it happened, but I have a file I can no longer open  
> in DrScheme (version 4.2 [3m], Windows XP). I see the following  
> error trace in a popup window when I try to open it:
>
> insert-file in text%: error loading the file
>
> === context ===
> C:\Program Files\PLT\collects\mred\private\wxme\text.ss:2538:2: do- 
> insert-file method in text%
> C:\Program Files\PLT\collects\mred\private\editor.ss:177:35
> C:\Program Files\PLT\collects\mred\private\editor.ss:171:29
> C:\Program Files\PLT\collects\drscheme\private\unit.ss:2107:8:  
> change-to-file method in ...heme/private/unit.ss:1382:6
> C:\Program Files\PLT\collects\drscheme\private\unit.ss:4490:8
> C:\Program Files\PLT\collects\scheme\private\contract-arrow.ss:1364:3
> C:\Program Files\PLT\collects\scheme\private\contract-arrow.ss:1364:3
> C:\Program Files\PLT\collects\framework\private\handler.ss:202:0:  
> open-recent-list-item
> C:\Program Files\PLT\collects\mred\private\mrmenu.ss:244:17: command  
> method in basic-selectable-menu-item%
> C:\Program Files\PLT\collects\scheme\private\more-scheme.ss:155:2:  
> call-with-break-parameterization
> C:\Program Files\PLT\collects\scheme\private\more-scheme.ss:271:2:  
> call-with-exception-handler
>
>
> I've attached the file. Can anybody help me recover it? And do you  
> have any ideas what may have caused the corruption, so I can avoid  
> it in the future?
> Thanks.
> -Eddie Sullivan
> <server-util.scm>_________________________________________________

I've observed similar problems that have been fixed in more recent  
("pre-release") versions of drscheme.  That is, the newer version of  
drscheme can open the apparently corrupted file. Try downloading the  
pre-release version of DrScheme and see whether this fixes the problem.

Hope this helps,

John Clements
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2484 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20090630/489ef3d4/attachment.p7s>

Posted on the users mailing list.