[plt-scheme] write: cannot marshal constant that is embedded in compiled code: #(struct:object:image-snip% ... ...)

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Wed Jan 13 13:15:38 EST 2010

In the module language?

Try disabling automatic compilation (in the "details" section of the
language dialog).

Robby

On Wed, Jan 13, 2010 at 12:14 PM, Todd O'Bryan <toddobryan at gmail.com> wrote:
> The file has a bunch of defined images and I get the error when I try
> to use one, I guess. I'm just (require "file.ss")-ing the file when
> the error pops up.
>
> On Wed, Jan 13, 2010 at 10:44 AM, Robby Findler
> <robby at eecs.northwestern.edu> wrote:
>> Some constants in code cannot be saved into .zo files. Some, like numbers, can.
>>
>> (This may be a bug, tho. I'm not sure.)
>>
>> Robby
>>
>> On Wed, Jan 13, 2010 at 9:34 AM, Todd O'Bryan <toddobryan at gmail.com> wrote:
>>> What does this mean? Do I need to do something special to get access
>>> to constants?
>>>
>>> Todd
>>> _________________________________________________
>>>  For list-related administrative tasks:
>>>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>>>
>>
>


Posted on the users mailing list.