[racket-dev] Bug in creating executables from DrRacket
On Friday, January 25, 2013, Pierpaolo Bernardi wrote:
> Hello,
>
> In a freshly started DrRacket 5.3.2.1, on Windows 8, executables
> creation fails with this message:
>
> ====
> Executable creation in DrRacket is supported only in the teaching
> languages and when the #lang line specifies the language (in “The
> Racket Language”)
>
> Consider using the raco exe command-line tool instead.
> ====
>
> Applied to a program which uses "#lang racket" and from which
> executables could be generated with previous versions.
>
> LATER: It failed repeatedly, until, by chance, I opened the "chose
> language"
> dialog, and closed it back without any change. After this it started
> working as always.
>
>
I'm not able to reproduce this and looking at the code, I'm not seeing how
it could happen either. FWIW, the text in the message has changed since the
version you're using so maybe there was another bugfix at that time, too.
Perhaps upgrading will help. Or maybe there's something important in what
you clicked that I am missing that would help me understand the bug.
> STILL LATER: There's still the internal error when an existing
> executable cannot be overwritten because it's executing:
>
> ====
> delete-file: cannot delete file
> path: e:\local\documents\scheme\sofa-prova.exe
> system error: Permission denied; errno=13
> context...:
> C:\Program
> Files\Racket-Full-5.3.2.1\collects\compiler\embed-unit.rkt:1200:4:
> core127
> channel-put: contract violation
> expected: channel?
> given: #f
> context...:
> C:\Program
> Files\Racket-Full-5.3.2.1\collects\racket\private\misc.rkt:168:2:
> channel-put
> ====
>
> Cheers
> P.
>
> ;;; ====(Fri Jan 25 19:07:22 2013)==================================
>
> _________________________
> Racket Developers list:
> http://lists.racket-lang.org/dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/dev/archive/attachments/20130125/d253b130/attachment.html>