Has there been changes in the way collects are loaded since 352 "release"? I upgraded to 352.6, and am noticing that my collects libs do not seem to load at boot anymore, but wait untill something uses them. <br>
<br>Also: When I do something that "starts the guibuilder load", i'm getting the error message:<br>dynamic-require: name is not provided: snip-class by module: |,/home/corey/.plt-scheme/352.6/collects/guibuilder/readable|
<br><br>from code that works under 352. i'm not sure if this is a mred/gui change, or a module system change.<br><br>Any help is apreciated. <br><br>Corey<br><br><br>for reference guibuilder/readable is:<br>(module readable mzscheme
<br> (require (lib "mred.ss" "mred")<br> (lib "class.ss")<br> "top-level.ss"<br> "toolbar.ss")<br><br> (define gui-snip-class%<br> (class snip-class%
<br> (inherit set-classname set-version)<br><br> (define/override (read f)<br> (let ([e (make-object gb:edit%)])<br> (send e prepare-to-load)<br> (send e read-from-file f)<br> (send e done-loading #t)
<br> (make-object gui-code-snip% e)))<br><br> (super-new)<br> (set-classname "(lib \"readable.ss\" \"guibuilder\")")<br> (set-version 1)))<br><br> (define gui-snip-class (new gui-snip-class%))
<br><br> (send (get-the-snip-class-list) add gui-snip-class)<br><br> (define gui-code-snip%<br> (class* editor-snip% (readable-snip<%>)<br> (inherit get-editor set-min-width set-min-height set-snipclass get-admin)
<br><br> (define/public (read-special source line column position)<br> (send (get-editor) build-code #f #f))<br><br> (define/override (write f)<br> (send (get-editor) write-to-file f))<br> (define/override (copy)
<br> (make-object gui-code-snip% (send (get-editor) copy-self)))<br><br> (define/override (on-event dc x y editorx editory e)<br> (if (send e button-down? 'right)<br> (let ([tool-menu (make-object popup-menu%)])
<br> (add-tools #f tool-menu (lambda (c%)<br> (send (get-editor) insert-element c%)))<br> (send (get-admin) popup-menu <br> tool-menu this
<br> (- (send e get-x) x)<br> (- (send e get-y) y)))<br> (super on-event dc x y editorx editory e)))<br><br> (super-new)<br> (set-snipclass gui-snip-class)))<br><br>
(provide gui-code-snip%))<br><br><br><br><br><br><br>and guibuilder.ss starts with:<br clear="all">(module guibuilder mzscheme<br> (require (prefix mred: (lib "mred.ss" "mred"))<br> (lib "
class.ss")<br> (lib "file.ss")<br> (lib "pretty.ss")<br> (lib "etc.ss")<br> (lib "list.ss")<br> (prefix framework: (lib "
framework.ss" "framework"))<br> "utils.ss"<br> "top-level.ss"<br> "toolbar.ss")<br><br> ;; These modules implement snips for the various<br> ;; kinds of windows and controls.
<br> (require "base.ss"<br> "panel.ss"<br> "simple-control.ss"<br> "text-field.ss"<br> "multiple-choice.ss"<br> "slider-guage.ss
"<br> "canvas.ss")<br> <br><br><br>-- <br>((lambda (y) (y y)) (lambda (y) (y y)))