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

