[plt-scheme] Current library collection paths and Check Syntax

From: Robby Findler (robby at cs.uchicago.edu)
Date: Thu Apr 19 14:11:32 EDT 2007

Ah, the stacktrace was helpful. I still couldn't make it happen, but I
can guess how it might be possible. I've checked in a new version that
should avoid that.

Thanks,
Robby

On 4/19/07, jos koot <jos.koot at telefonica.net> wrote:
>
>
> Hi Robby,
> I reproduced the error a couple of times,
> every time producing the DrScheme internal error.
>
> Language (module ...) (language defaults)
> DrScheme, version 369.9-svn18apr2007 [3m] standard installation
> Windows XP home
> The cource code file is
> c:/scheme/runs-well-but-does-not-pass-syntax-check.scm.
> The for library file is c:/scheme/kcollects/for/for.ss
> and is compiled in :
> c:/scheme/kcollects/for/compiled/for.zo
>
> The source directory of runs-well-but... seems irrelevant.
>
> I get two displays, one labeled Dr Scheme internal error,
> and one labeled standard output containing:
> standard-module-name-resolver: collection not found: "for" in any of:
> (#<path:C:\Documents and Settings\HP_Eigenaar\Application
> Data\PLT Scheme\369.9\collects> #<path:C:\Program
> Files\PLT-FULL-369.9\collects>)
>
>  === context ===
> cloop
> C:\Program
> Files\PLT-FULL-369.9\collects\drscheme\syncheck.ss:2031:6:
> get-require-filename
> C:\Program
> Files\PLT-FULL-369.9\collects\drscheme\syncheck.ss:2009:8
> try-next
> C:\Program
> Files\PLT-FULL-369.9\collects\drscheme\syncheck.ss:1360:6:
> annotate-basic
> C:\Program
> Files\PLT-FULL-369.9\collects\drscheme\syncheck.ss:1290:16:
> expanded-expression
> C:\Program
> Files\PLT-FULL-369.9\collects\drscheme\syncheck.ss:1117:40
> C:\Program
> Files\PLT-FULL-369.9\collects\drscheme\syncheck.ss:1114:37
>
> After Check Syntax the definitions window of the tab goes blank and does not
> accept any editing. After closing the internal error window and the standard
> output window, all other functions remain functional, for example I can run
> the program, enter and use the interactions window, open or close other tabs
> and so on.
> That's about all info I can provide, unless you want my pref.ss file (which
> is not very special)
>
> Regards, Jos Koot
>
>
> ----- Original Message -----
> From: Robby Findler
> To: jos koot
> Cc: PLT-list
> Sent: Thursday, April 19, 2007 6:07 PM
> Subject: Re: [plt-scheme] Current library collection paths and Check Syntax
>
> I haven't been able to make drscheme choke on this program. I get the
> same error you do, but I get the error message clearly labelled as a
> bug in the program, not an internal drscheme error. Was there maybe
> something I'm missing in the example?
>
> Thanks,
> Robby
>
> On 4/18/07, jos koot <jos.koot at telefonica.net> wrote:
> >
> >
> > Hi,
> > Consider:
> >
> > Definitions window:
> > (module runs-well-but-does-not-pass-syntax-check mzscheme
> >  (begin-for-syntax
> >   (current-library-collection-paths
> >    (cons
> >     "c:/scheme/kcollects"
> >     (current-library-collection-paths))))
> >  (require (lib "for.ss" "for")) ; from c:/scheme/kcollects/for/for.ss
> >  (for ((i 1 3)) (printf "~s~n" i)))
> >
> > This works fine when pressing the run button, but Check Syntax can't
> process
> > the require form. Check Syntax results in:
> >
> > DrScheme internal error
> > standard-module-name-resolver: collection not found: "for" in any of:
> > (#<path:C:\Documents and Settings\HP_Eigenaar\Application
> > Data\PLT Scheme\369.9\collects> #<path:C:\Program
> > Files\PLT-FULL-369.9\collects>)
> >
> > The definitions window is blanked out. The only possible way to proceed is
> > to close all DrScheme windows.
> >
> > May be I am doing a nasty thing, but having a program that runs well but
> > does not pass Check Syntax is somewhat confusing. I did this with
> DrScheme,
> > version 369.9-svn14apr2007 [3m]. Language: (module ...)
> >
> > Be assured that I like PLT very much, Jos Koot
> >
> > (((((lambda(x)((((((((x x)x)x)x)x)x)x)x))
> >     (lambda(x)(lambda(y)(x(x y)))))
> >    (lambda(x)(x)x))
> >   (lambda()(printf "Greetings, Jos~n"))))
> > _________________________________________________
> >   For list-related administrative tasks:
> >   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> >
> >
>


Posted on the users mailing list.