On Tue, Feb 15, 2011 at 9:30 PM, Matthew Flatt <[email protected]> wrote: > At Tue, 15 Feb 2011 20:38:36 -0500, Eric Bélanger wrote: >> $ drracket >> Error invoking tool >> #<path:/usr/lib/racket/collects/stepper>;("stepper+xml-tool.ss") >> >> xml-box: bitmap scheme-box.jpg failed to load >> >> === context === >> /usr/lib/racket/collects/drracket/private/tools-drs.rkt:96:0: invoke-drs-tool >> /usr/lib/racket/collects/racket/private/map.rkt:50:17: loop >> /usr/lib/racket/collects/drracket/private/tools.rkt:70:0: >> load/invoke-all-tools >> /usr/lib/racket/collects/drracket/tool-lib.rkt: [running body] >> /usr/lib/racket/collects/drracket/private/drracket-normal.rkt: [running body] >> /usr/lib/racket/collects/drracket/drracket.rkt: [running body] >> >> In another thread on the dev mailing list[1], it seems that this kind >> of error is caused by jpeg.rkt not supporting the current libjpeg >> version. My libjpeg version is libjpeg 8.3.0 (i.e. JPEG_LIB_VERSION >> is 80). Could it be the same issue? > > JPEG_LIB_VERSION 80 should be supported, but you're right that the > error looks like a version mismatch. > > If you run plain `racket' and try > > > (require racket/draw) > > (read-bitmap (collection-file-path "scheme-box.jpg" "icons")) > > do you get a more useful error message? > >
I get: $ racket Welcome to Racket v5.1. > (require racket/draw) > (read-bitmap (collection-file-path "scheme-box.jpg" "icons")) jpeg: JPEG parameter struct mismatch: library thinks size is 656, caller expects 680 > _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

