The GUI-less error you were getting is a bug in the implementation of the collapsed snip. Specifically it is not wired into the non-GUI reading support stuff in the wxme library. <br><br>Unfortunately it does not seem easy to support the same strategy that the GUI version uses<br>
In the non-GUI context because the wxme library does not seem to provide a way to say "here's a snipclass name; please read one of those from this here port ". <br><br>Robby<br><br>On Sunday, September 11, 2011, Danny Yoo <<a href="mailto:dyoo@cs.wpi.edu">dyoo@cs.wpi.edu</a>> wrote:<br>
>> So there must be some context that I'm missing here. What should I be<br>>> doing to not get this error at the terminal? Thanks!<br>><br>> Following up: I figured out that I need to use (make-gui-namespace) to<br>
> create a namespace that knows about the snip classes. e.g.<br>><br>> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<br>> #lang racket/base<br>> (require racket/gui/base)<br>> (parameterize ([current-namespace (make-gui-namespace)])<br>
> (dynamic-require '(file "snips.rkt") #f))<br>> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<br>><br>><br>> Thanks!<br>><br>> _________________________________________________<br>> For list-related administrative tasks:<br>
> <a href="http://lists.racket-lang.org/listinfo/dev">http://lists.racket-lang.org/listinfo/dev</a>