I started getting some unexpected and unexplained errors from Racket when
trying to build a stand alone executable.  The versions is: Racket 6.12 
64bit
on Windows 10.

If I try to run my application from Racket, it runs with no problems.

If I build an executable and try to run it, I get the following error (I can
confirm that runtime.rkt does exist at the mentioned location and it is
readable):

    link: namespace mismatch;
     reference to a module that is not available
      reference phase: 1
      referenced module: "C:\Program 
Files\Racket\collects\racket\match\runtime.rkt"
      referenced phase level: 0
      reference in module: '#%embedded:g233745:free-variance
      in: match:error

If I build a distribution (a stand alone executable with all the 
dependencies
packed in), I get the following error:

    standard-module-name-resolver: collection not found
      for module path: racket/match/gen-match
      collection: "racket/match"
      in collection directories:
       C:\Users\Alex\AppData\Roaming\Racket\6.12\collects
       
C:\Users\Alex\Projects\ActivityLog2\dist\lib\plt\ActivityLog2\collects
       C:\Users\Alex\AppData\Roaming\Racket\6.12\pkgs\plot
       C:\Users\Alex\AppData\Roaming\Racket\6.12\pkgs\plot-doc
       C:\Users\Alex\rkt-libs\plot\plot-lib
       C:\Users\Alex\rkt-libs\plot\plot-gui-lib

I tried reinstalling Racket and cleaned up the entire AppData/Roaming/Racket
directory, but the problem persits.  I also tried several previous revisions
of my application (which I know worked fine) and they also fail with the 
same
errors.  I'm not sure what change caused the error to happen, as I didn't 
make
any changes to my Racket installation in the past few weeks.

The problem only seems to happen if I use the development version of the 
plot
package and not with a clean Racket installation -- however I have used the
development version of the plot package for more than 2 months with no 
issues.

As I mentioned before, this only seems to happen when I create an 
executable,
the application works fine if run it from Racket.

Could someone explain to me what these errors mean and what should I do to
find the root cause, so I can fix this?

Thanks,
Alex.

-- 
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.

Reply via email to