<div dir="ltr"><div><div>(cc the list for the record)<br>Great, I'll push the fix. <br><br></div>The problem was that it seems that `print-as-expression' can be globally parameterized differently.<br><br></div><div>
Thanks for the report and for your help!<br></div><div><br></div>Laurent<br><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Feb 2, 2013 at 5:14 PM, <span dir="ltr"><<a href="mailto:jukka.tuominen@finndesign.fi" target="_blank">jukka.tuominen@finndesign.fi</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
That fixed it! Excellent, thank you!<br>
<br>
br, jukka<br>
<div class=""><div class="h5"><br>
<br>
<br>
> Ok, I think I've found where it comes from.<br>
><br>
> In template.ss, around line 57, can you try to surround the `pretty-print'<br>
> call with:<br>
> (parameterize ([print-as-expression #f])<br>
> ...)<br>
> ?<br>
><br>
><br>
><br>
><br>
> On Sat, Feb 2, 2013 at 4:40 PM, <<a href="mailto:jukka.tuominen@finndesign.fi">jukka.tuominen@finndesign.fi</a>> wrote:<br>
><br>
>><br>
>> Hi Laurent,<br>
>><br>
>> this OS is win7/64 SP1 (4 core Intel) (->Racket 64), but the actual<br>
>> target<br>
>> OS will be Ubuntu 10.04 which didn't work either (32 bit).<br>
>><br>
>> I use the following to launch the designer:<br>
>><br>
>> #lang racket<br>
>> (require (planet orseau/mred-designer:3:9))<br>
>><br>
>> ---<br>
>><br>
>> '(1 2) >> '(1 2)<br>
>><br>
>><br>
>> Should I try to reset my racket preferences?<br>
>><br>
>><br>
>> br, jukka<br>
>><br>
>><br>
>> > Hi Jukka (off-list),<br>
>> ><br>
>> > Can you provide me with some details about your OS?<br>
>> ><br>
>> > Also, not sure this is relevant, but when you type '(1 2) in the<br>
>> > interaction window of DrRacket, what is the exact output?<br>
>> ><br>
>> > Cheers,<br>
>> > Laurent<br>
>> ><br>
>> ><br>
>> > On Sat, Feb 2, 2013 at 4:11 PM, <<a href="mailto:jukka.tuominen@finndesign.fi">jukka.tuominen@finndesign.fi</a>> wrote:<br>
>> ><br>
>> >><br>
>> >> ... no luck with the github version either :(<br>
>> >><br>
>> >> br, jukka<br>
>> >><br>
>> >><br>
>> >> ><br>
>> >> > Hi Laurent,<br>
>> >> ><br>
>> >> > please, see the .med attached. I actually tried a few different,<br>
>> but<br>
>> >> > pretty similar in content.<br>
>> >> ><br>
>> >> > Here is also the error message from the DrRacket:<br>
>> >> ><br>
>> >> > ---<br>
>> >> > ..\..\..\..\Program<br>
>> >> > Files\Racket\collects\racket\contract\private\blame.rkt:89:0:<br>
>> >> dict-ref:<br>
>> >> > contract violation<br>
>> >> > expected: d:dict?<br>
>> >> > given: '(list (cons 'name "project-11668") (cons 'parent-class #f)<br>
>> >> (cons<br>
>> >> > 'med-version (list 3 9)) (cons 'code (lambda (parent-12427) (let*<br>
>> >> > ((code-12429 parent-12427) (code-12431 (new prop:atom% (value<br>
>> >> > 'project-11668))) (code-12430 (new prop:field-id% (va...<br>
>> >> > in: the d argument of<br>
>> >> > (->i<br>
>> >> > ((d d:dict?) (k (d) ...))<br>
>> >> > ((default any/c))<br>
>> >> > any)<br>
>> >> > contract from: <collects>/racket/dict.rkt<br>
>> >> > blaming:<br>
>> >> > <planet>/orseau/mred-designer.plt/3/9/templates.ss<br>
>> >> > at: <collects>/racket/dict.rkt:143.2<br>
>> >> ><br>
>> >> > ---<br>
>> >> ><br>
>> >> > I try to figure out how to test the github version... :)<br>
>> >> ><br>
>> >> > br, jukka<br>
>> >> ><br>
>> >> ><br>
>> >> ><br>
>> >> >> Hi Jukka,<br>
>> >> >><br>
>> >> >> That's strange. Can you send me your .med file?<br>
>> >> >><br>
>> >> >> Also, can you try with the head in the git repo, to see if that<br>
>> makes<br>
>> >> a<br>
>> >> >> difference?<br>
>> >> >> <a href="https://github.com/Metaxal/MrEd-Designer" target="_blank">https://github.com/Metaxal/MrEd-Designer</a><br>
>> >> >><br>
>> >> >> Cheers,<br>
>> >> >> Laurent<br>
>> >> >><br>
>> >> >><br>
>> >> >> On Sat, Feb 2, 2013 at 1:15 PM, Jukka Tuominen<br>
>> >> >> <<a href="mailto:jukka.tuominen@finndesign.fi">jukka.tuominen@finndesign.fi</a><br>
>> >> >>> wrote:<br>
>> >> >><br>
>> >> >>> Hi,<br>
>> >> >>><br>
>> >> >>> I was going to experiment with the latest MrEd Designer and made<br>
>> a<br>
>> >> >>> quick<br>
>> >> >>> test GUI. I then saved the project (.med), but couldn't open it<br>
>> >> again<br>
>> >> >>> from the file.<br>
>> >> >>><br>
>> >> >>> I tried with Racket 5.1 and 5.3.2, Linux and Windows, but without<br>
>> >> luck.<br>
>> >> >>><br>
>> >> >>> Are others experiencing the same problem? Any ideas how to get it<br>
>> >> >>> working?<br>
>> >> >>><br>
>> >> >>> br, jukka<br>
>> >> >>><br>
>> >> >>> ____________________<br>
>> >> >>> Racket Users list:<br>
>> >> >>> <a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
>> >> >>><br>
>> >> >><br>
>> >> > ____________________<br>
>> >> > Racket Users list:<br>
>> >> > <a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
>> >> ><br>
>> >><br>
>> >><br>
>> >><br>
>> ><br>
>><br>
>><br>
>><br>
><br>
<br>
<br>
</div></div></blockquote></div><br></div></div></div>