[racket] interactive.rkt and 5.2.1: Infinite errors re path->name

From: Greg Hendershott (greghendershott at gmail.com)
Date: Tue May 8 18:23:00 EDT 2012

Ah. Or, I could RTFM and learn about XREPL.

On Tue, May 8, 2012 at 5:24 PM, Greg Hendershott
<greghendershott at gmail.com> wrote:
> I've been happily using Eli's interactive.rkt
> (http://barzilay.org/misc/interactive.rkt) with 5.1.1.
>
> I just put 5.2.1 on a Mac OS X machine.
>
> Assume a hello.rkt that is simply
>
>  #lang racket
>  1
>
> Then:
>
> $ racket
> Welcome to Racket 5.2.1
> -> en, hello.rkt
> 1
> dynamic-require: name is not provided: 'path->name by module:
> #<resolved-module-path:"/Applications/Racket_v5.2.1/collects/setup/private/path-utils.rkt">
>
>  === context ===
> /Users/greg/.racketrc:285:0: path->name
> /Users/greg/.racketrc:1092:4: namespace->prompt
> /Users/greg/.racketrc:1152:4: execute131
> /Applications/Racket_v5.2.1/collects/racket/private/misc.rkt:87:7
>
> dynamic-require: name is not provided: 'path->name by module:
> #<resolved-module-path:"/Applications/Racket_v5.2.1/collects/setup/private/path-utils.rkt">
>
>  === context ===
> /Users/greg/.racketrc:285:0: path->name
> /Users/greg/.racketrc:1092:4: namespace->prompt
> /Users/greg/.racketrc:1152:4: execute131
> /Applications/Racket_v5.2.1/collects/racket/private/misc.rkt:87:7
>
> ... error repeats until you kill the racket process ...
>
> This used to work fine with 5.1.1.
>
> I do see that 5.1.1 defined a `path->name' in its
> /Applications/Racket_v5.2.1/collects/setup/private/path-utils.rkt, and
> that 5.2.1 does not. So the error seems clear. But I'm not sure how to
> resolve it, and also don't understand why it's repeating infinitely.
>
>
> P.S. I've simply been using interactive.rkt *as* my .racketrc -- not
> loading former from latter -- in case that matters.


Posted on the users mailing list.