在 2016年6月6日星期一 UTC+8下午2:26:41,gneuner2写道: > On 6/6/2016 2:05 AM, 张可星 wrote: > > 在 2016年6月6日星期一 UTC+8下午1:44:39,gneuner2写道: > > > On 6/5/2016 11:18 PM, 张可星 wrote: > > > > When I open my file ,Dr racket told me as below > > > > > > > > `在读取/home/richard/桌面/TheGame.rkt时出现错误. > > > > insert-file in text%: error loading the file (read-from-file-failed)` > > > > > > > > all my code are lost ,what can I do now? > > > > I use Drracket 6.5 on ubuntu 16.04lts > > > > I find the same issue here > > > > http://lists.racket-lang.org/users/archive/2011-October/048596.html > > > > But it doesn't help > > > > As the same ,I do have picture in my code. > > > > > > > > > > Is it possible you (or somebody else) opened the file in another > > > editor? I have seen a variety of problems in DrRacket when another > > > editor has written a UTF-8 BOM header into a source file. > > > > > > If that is that case, opening the file in a plain text editor and > > > removing the first 2 characters should fix it. > > > > > > George > > > > yes ,I can open it in a plain text editor. > > I open it in gedit > > > > but there is nothing to delete > > > > see the attachment > > Open the file with a text editor and insert a blank line at the > beginning. Then DrRacket will open it. I haven't seen this particular > issue previously, but obviously DrRacket is failing to parse the first line. > > George
obviously DrRacket is failing to parse the first line.yes ,it doesn't help .But still thanks -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.