[racket] raco exe difficutly with Release 5.3.1 & stateless web server

From: Galler (lzgaller at optonline.net)
Date: Mon Jan 28 11:34:34 EST 2013

Robby,

The application runs in DrRacket without the requires.  Specificially, 
if I open the top-most file in DrRacket and press F5, the application 
runs as expected, whether in 5.3 or 5.3.1

The problems I'm encoutering are specific to turning the application 
into a compiled executable

Also, I'm still working on the images/flomap issue so only the 
racket/match issue should be considered solved.

Thanks

Zack




On Mon, Jan 28, 2013 at 11:24 AM, Robby Findler wrote:

  Does this webapp run without these requires? If so, is it perhaps the 
case that something is wrong with our exe building libraries? 

Or is this a known bug already discussed?

Robby

On Mon, Jan 28, 2013 at 9:45 AM, Jay McCarthy < jay.mccarthy at gmail.com 
<javascript:parent.wgMail.openComposeWindow('jay.mccarthy at gmail.com')> > 
wrote:
I think this is actually the same problem and there was another thread
about what "for-syntax" was needed for flomaps. I can't find the
thread though.

Jay

On Mon, Jan 28, 2013 at 8:25 AM, Galler < lzgaller at optonline.net 
<javascript:parent.wgMail.openComposeWindow('lzgaller at optonline.net')> > 
wrote:
> The (require (for-syntax racket/match/parse)) solved the executable 
> problem. Thanks.
> I have a second raco exe issue--
>  and I don't think this is related to 5.3.1 b/c I believe I 
> encountered similar problem earlier today using raco with 5.3
> This is also using different underlying source code than the earlier 
> problem (which is now resolved)
> Apparently compiled program is having trouble with flomap-struct.rkt 
> and/or flomap-stats, as documented below.
> However, I've verified that racket-provided file is present (and 
> unmodified)
> Is there anything obvious from the error message to do or should I 
> isolate the bug further so you can reproduce?
>
> Servlet (@ 
> /;((%22c%22%20.%20%22H4sIAPKVBlEAA4VUSZbaMBC9ihpe+skL0ZY8yGbTmyyyySbkAh4KUNoD7QE6OX1KsqGNbBIe%5Cr%5CnYNXXr+mX
> 
> LEo9hwiPUErf+7oDsv4CZQp5Dvn2wAPf97Ztl3RQQNsyqA6qAodsyKpQ+w7yjQi8%5Cr%5CneOWQReeQ82ji%2FOPrjn3bfWeqPBVQQoUbqq6mwXjgSh2MTz
> 
> E%2Fim1MSI%2FPeNJfwOJghkXc05h7%5Cr%5CnlzecYX4kYxsTks+xmEsb82RkaqGFSsnqAilroTlD81Ik1eElSeumYw20fQmb5q1bTSUIH%2Ftp%5Cr%5Cn
> 
> O4OiaG9OOeC+Sgr1B5iq9vV23yQlsLNr6+WKWd2o9VxXNzI6eEuxT40qVafOwC7ZkOIunB8E%5Cr%5CncwnFArYw4mhhnEGImEO4S+j6Gf84EjJCX5ETIr5+
> 
> TgkVulb8+aMd4FpvUuwgfSKS0Gjw0M76%5Cr%5CnKZxx4TmmLoyLvNj8c%2Fe6GXymQsfBb6Bw89AIkhGT92lChK5BpCFwgT98uY6E4RahE%2FGZa9nc%5Cr
> 
> %5CnsoVle4T7FmTbgWWHli0tO7Ls2C5pVqNdJLer5J4N2EXyAOVZd0YflPn8NAiGqdZ7%2FDpkBJE3%5Cr%5CnzsrwMrJzcWvXpz%2Frk+bw0FA1xV9YBWaV
> 
> kbrvWpUDq%2Fcs6bsj3jsqMzcPa7Mj3kOvjqnETAje%5Cr%5Cn+6RAw1xaGGOn+%2F9vAMIluW9QH9BJI3g8zrXKnVmHsTkv96Bwrz2aNqLb0R2eekTO9XA+
> 
> kkze%5Cr%5CnJLuqNWo2RsxusXAl+A0YVv8SxMSz2nvQxa0FfyhZiM%2FSQ9sBjeWMOh2hPV5Gtsx6NpOB1A17%5Cr%5Cng9+zWWjSr+RD37enumrBJphXu6 
> kvmOAhx5zAQmEidkmqrmUfZTGbuj+ogp+%2FLScECVMHAAA=%5Cr%5Cn%22))) 
> exception: link: namespace mismatch;  reference to a module that is 
> not available   reference phase: 1   referenced module: "c:\program 
> files\racket\collects\images\private\flomap-struct.rkt"   referenced 
> phase level: 0   reference in module: '#%embedded:g27413:flomap-stats 
>   in: flomap?
>   context...:    #%embedded:g27413:flomap-stats: [running body]   
>  c:\program files\racket\collects\racket\private\serialize.rkt:605:8: 
> loop    c:\program 
> files\racket\collects\racket\private\serialize.rkt:600:2: deserialize 
>    c:\program files\racket\collects\web-server\lang\web.rkt:111:0: 
> request->continuation    c:\program 
> files\racket\collects\web-server\lang\web.rkt:57:10    c:\program 
> files\racket\collects\web-server\lang\abort-resume.rkt:213:3   
>  c:\program 
> files\racket\collects\web-server\dispatchers\dispatch-servlets.rkt:58:2 
>    c:\program 
> files\racket\collects\racket\private\more-scheme.rkt:161:2: 
> select-handler/no-breaks    c:\program 
> files\racket\collects\web-server\private\dispatch-server-unit.rkt:96:6 
> e.rkt:161:2: select-handler/no-breaks


  <javascript:parent.wgMail.openComposeWindow('lzgaller at optonline.net')>
-- 
Jay McCarthy < jay at cs.byu.edu 
<javascript:parent.wgMail.openComposeWindow('jay at cs.byu.edu')> >
Assistant Professor / Brigham Young University
http://faculty.cs.byu.edu/~jay <http://faculty.cs.byu.edu/~jay>

"The glory of God is Intelligence" - D&C 93
  <http://faculty.cs.byu.edu/~jay>
____________________
  Racket Users list:
  http://lists.racket-lang.org/users 
<http://lists.racket-lang.org/users>
  <http://lists.racket-lang.org/users>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20130128/dedf2357/attachment-0001.html>

Posted on the users mailing list.