[racket] link: namespace mismatch error involving flomap-stats.rkt and flomap-struct.rkt

From: Nathaniel Rudavsky-Brody (nathaniel.rudavsky at gmail.com)
Date: Fri Dec 6 14:47:49 EST 2013

Many thanks to both of you!

Matthew, the app seems to run fine when it's compiled with 6.0.0.1, so the
bug must have been fixed somewhere along the way. It's Friday evening here
now, but if everything's still working on Monday I'll consider the case
closed.

Best,

Nathaniel


On Fri, Dec 6, 2013 at 8:29 PM, Matthew Flatt <mflatt at cs.utah.edu> wrote:

> I'm able to replicate the problem in v5.3.6, but not the current
> development version.
>
> I'm not sure exactly where the problem might have been, but I've fixed
> several problems in `raco exe` since v5.3.6, so I'm hopeful that the
> problem has been fixed for v6.0.
>
> Does a snapshot from
>
>   http://www.cs.utah.edu/plt/snapshots/
>
> work for you?
>
> At Fri, 6 Dec 2013 07:05:47 +0000 (UTC), Galler wrote:
> > Nathaniel Rudavsky-Brody writes:
> >
> >
> > > Hi Zack and everyone,
> > > I'm going back to this old thread
> > (http://lists.racket-lang.org/users/archive/2013-January/056176.html),
> since
> > I have a similar problem with raco and flomap, and can't tell if anyone
> > found a solution. Are there any new ideas?
> >
> >
> > Nathaniel,
> >
> > I don't have a solution, but after 4 hours of troubleshooting, I have a
> hint.
> >
> > The problem seems to be in the interaction between file flomap-stats.rkt
> and
> > flomap-struct.rkt
> >
> > SETUP
> >
> > PROGRAM-A.rkt
> > ---------------
> >
> > #lang racket
> > (require images/private/flomap-stats)
> >
> > ---------------
> >
> > Compile program-A :   >raco exe program-A.rkt
> >
> > Run program-A: >program-A.exe
> >
> > This will regenerate your error.
> >
> > Now edit images/private/flomap-stats.rkt as described below  (make a copy
> > first)
> >
> > 1. comment out flomap-stats.rkt's require form
> > 2. copy and paste flomap-struct.rkt into flomap-stats
> > 3. comment out flomap-struct.rkt's provide form
> > 4. save your changes
> > 5. re-compile and run program-A
> >
> > This should run successfully without error
> >
> >
> > Obviously, this doesn't solve your problem, b/c you need images/flomap
> vs.
> > flomap-stats, but maybe you can run with this for a bit.
> >
> > Maybe look at the module-browser in Dr. Racket for anything that seems
> > strange in the original flomap-stats dependency tree?
> >
> > R./
> > Zack
> >
> >
> >
> >
> >
> > ____________________
> >   Racket Users list:
> >   http://lists.racket-lang.org/users
>



-- 
-- 
marginalia.be
0485 / 136 458
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20131206/971e3815/attachment-0001.html>

Posted on the users mailing list.