[plt-scheme] Embedded images in planet packages
I can't seem to install a planet package that has an image embedded in
the source code (via Insert Image). When I try to inject the package, I
get:
write: cannot marshal constant that is embedded in compiled code:
#(struct:object:image% ...)
Any idea on how to work around this? Should this be considered a bug?
David
How to recreate in 4.1.1.3-svn14oct2008:
planet create img/
planet fileinject dvanhorn img.plt 1 0
;; ------------
;; img/main.ss
#lang scheme
(provide img)
(define img #|INSERTIMAGE|#) ;; eg, http://plt-scheme.org/logo.png
;; -------------
;; img/info.ss
#lang setup/infotab
(define name "Embedded image test.")
(define categories '(misc))
(define required-core-version "4.1.0")
(define repositories (list "4.x"))
(define primary-file '("main.ss"))
(define blurb (list '(div "Just an embedded image.")))