[racket] smoke error on run

From: Dave Gurnell (d.j.gurnell at gmail.com)
Date: Mon Jun 28 11:47:26 EDT 2010

Hi Valentin,

I'll repeat some of what I said to you offline for others' benefit:

Unfortunately, you've caught me slightly off-guard. I'm currently moving all of the Untyped open source code onto Github and I'm not quite ready to document or announce it yet.

Whiel Smoke is open source, it isn't yet stable enough for release on PLaneT. Please feel free to use the code, but please be wary of sudden changes to the API. Installing Smoke also requires a good knowledge of PLaneT and PLaneT development links, so I don't recommend using it unless you have a firm understanding of everything in my explanation below.

Hope this helps!

Best regards,

-- Dave

--------------------------------------------------

The first command you're running is "ext update" (http://nopugs.com/ext-tutorial). This downloads and installs local copies of the latest versions of the relevant Untyped packages to:

	/path/to/smoke/planetdev

Some of the Untyped packages (like dispatch version 3) aren't yet on PLaneT. This gives you a copy of everything straight from Github.

The second command you're running is build.ss. This script is intended as a tool for developing Smoke itself. It lets you compile and test Smoke against different versions of PLT without affecting the main installation on your computer.

To be more precise, build.ss sets the PLTPLANETDIR environment variable to:

	/path/to/smoke/planet

and then looks at the contents of autoplanet.ss to install development links for all of the packages you downloaded using ext. When build.ss finishes, you end up with a copy of Smoke that is completely self-contained and doesn't affect any of the other Racket or PLT related files on your computer.

In other words, Smoke won't work with the usual tools like DrRacket unless you do one of the following:

	1. point PLTPLANETDIR to /path/to/smoke/planet before you run DrRacket (this may not work on OS X);
	2. install the missing Untyped libraries (including Smoke) manually in your main PLaneT cache.

You can do option 1 using build.ss:

	$ source `build.ss envvars`
	$ drracket

You can do option 2 by examining the contents of autoplanet.ss and using raco appropriately.

--------------------------------------------------

On 28 Jun 2010, at 12:29, Бомбин Валентин wrote:

> I get smoke from git
> 
> git clone git://github.com/untyped/smoke.git
> cd smoke
> ext update
> /build.ss compile
> 
> on comiple have some error 
> wall at linux-bnxm:~/src/scheme/untyped/smoke> ./build.ss compile | grep error
> module: identifier already imported from: slideshow at: local-require in: (rename (planet cce/scheme:6:3/scheme) local-require local-require)
> module: identifier already imported from: slideshow at: local-require in: (rename (planet cce/scheme:6:3/scheme) local-require local-require)
> setup-plt: error: during making for <planet>/cce/scheme.plt/6/3 (Scheme Utilities: (planet cce/scheme))
> setup-plt:   module: identifier already imported from: slideshow at: local-require in: (rename (planet cce/scheme:6:3/scheme) local-require local-require)
> setup-plt: error: during Building docs for /home/wall/src/scheme/untyped/smoke/planet/5.0/cache/cce/scheme.plt/6/3/reference/manual.scrbl
> setup-plt:   module: identifier already imported from: slideshow at: local-require in: (rename (planet cce/scheme:6:3/scheme) local-require local-require)
> load-handler: expected a `module' declaration for `cache' in #<path:/home/wall/src/scheme/untyped/smoke/planet/5.0/cache/untyped/unlib.plt/3/23/planet/4.2.1.5/cache.ss>, but found something else
> setup-plt: error: during making for <planet>/untyped/unlib.plt/3/23/planet/4.2.1.5
> setup-plt:   load-handler: expected a `module' declaration for `cache' in #<path:/home/wall/src/scheme/untyped/smoke/planet/5.0/cache/untyped/unlib.plt/3/23/planet/4.2.1.5/cache.ss>, but found something else
> class.ss:15:9: module: identifier is already imported at: object/c in: (define-values (object/c) (new-lambda class-or-ifaces (apply and/c object? (map is-a?/c class-or-ifaces))))
> class.ss:15:9: module: identifier is already imported at: object/c in: (define-values (object/c) (new-lambda class-or-ifaces (apply and/c object? (map is-a?/c class-or-ifaces))))
> setup-plt: error: during making for <planet>/cce/scheme.plt/4/1 (Scheme Utilities: (planet cce/scheme))
> setup-plt:   class.ss:15:9: module: identifier is already imported at: object/c in: (define-values (object/c) (new-lambda class-or-ifaces (apply and/c object? (map is-a?/c class-or-ifaces))))
> setup-plt: error: during Building docs for /home/wall/src/scheme/untyped/smoke/planet/5.0/cache/cce/scheme.plt/4/1/scribblings/main.scrbl
> setup-plt:   class.ss:15:9: module: identifier is already imported at: object/c in: (define-values (object/c) (new-lambda class-or-ifaces (apply and/c object? (map is-a?/c class-or-ifaces))))
> WARNING: collected information for key multiple times: '(index-entry (mod-path "(planet schematics/sake)")); values: (list '("(planet schematics/sake)") (list (sized-element ...)) #<module-path-index-desc>) (list '("(planet schematics/sake)") (list (sized-element ...)) #<module-path-index-desc>)
> WARNING: collected information for key multiple times: '(mod-path "(planet schematics/sake)"); values: '#(#<path:/home/wall/src/scheme/untyped/smoke/planet/5.0/cache/schematics/sake.plt/1/0/doc/sake/Build_files.html> ("Build files") #t (mod-path "(planet schematics/sake)")) '#(#<path:/home/wall/src/scheme/untyped/smoke/planet/5.0/cache/schematics/sake.plt/1/0/doc/sake/The_Sake_API.html> ("The Sake API") #t (mod-path "(planet schematics/sake)"))
> WARNING: collected information for key multiple times: '(index-entry (mod-path "(planet schematics/sake)")); values: (list '("(planet schematics/sake)") (list (sized-element ...)) #<module-path-index-desc>) (list '("(planet schematics/sake)") (list (sized-element ...)) #<module-path-index-desc>)
> WARNING: collected information for key multiple times: '(mod-path "(planet schematics/sake)"); values: '#(#<path:/home/wall/src/scheme/untyped/smoke/planet/5.0/cache/schematics/sake.plt/1/0/doc/sake/Build_files.html> ("Build files") #t (mod-path "(planet schematics/sake)")) '#(#<path:/home/wall/src/scheme/untyped/smoke/planet/5.0/cache/schematics/sake.plt/1/0/doc/sake/The_Sake_API.html> ("The Sake API") #t (mod-path "(planet schematics/sake)"))
> tool.ss:3:18: only-in: identifier `language/macro-stepper<%>' not included in nested require spec at: macro-debugger/tool in: (only-in macro-debugger/tool language/macro-stepper<%>)
> default-load-handler: cannot open input file: "/home/wall/src/scheme/untyped/smoke/planetdev/mirrors/javascript/main.rkt" (No such file or directory; errno=2)
> setup-plt: error: during making for <planet>/dherman/javascript.plt/9/2/drscheme (JavaScript Language for DrScheme)
> setup-plt:   tool.ss:3:18: only-in: identifier `language/macro-stepper<%>' not included in nested require spec at: macro-debugger/tool in: (only-in macro-debugger/tool language/macro-stepper<%>)
> setup-plt: error: during Building docs for /home/wall/src/scheme/untyped/smoke/planet/5.0/cache/dherman/javascript.plt/9/2/scribblings/javascript.scrbl
> setup-plt:   default-load-handler: cannot open input file: "/home/wall/src/scheme/untyped/smoke/planetdev/mirrors/javascript/main.rkt" (No such file or directory; errno=2)
> 
> if after it 
> cd testapp/
> drscheme main.ss
> 
> and in IDE press F5
> i have error
> 
> Язык: scheme/base.
> module: identifier is already imported
> module: identifier is already imported
> setup-plt: error: during making for <planet>/cce/scheme.plt/4/1 (Scheme Utilities: (planet cce/scheme))
> setup-plt:   module: identifier is already imported
> setup-plt: error: during Building docs for /home/wall/.racket/planet/300/5.0/cache/cce/scheme.plt/4/1/scribblings/main.scrbl
> setup-plt:   module: identifier is already imported
> WARNING: collected information for key multiple times: '(mod-path "(planet schematics/sake)"); values: '#(#<path:/home/wall/.racket/planet/300/5.0/cache/schematics/sake.plt/1/0/doc/sake/Build_files.html> ("Build files") #t (mod-path "(planet schematics/sake)")) '#(#<path:/home/wall/.racket/planet/300/5.0/cache/schematics/sake.plt/1/0/doc/sake/The_Sake_API.html> ("The Sake API") #t (mod-path "(planet schematics/sake)"))
> WARNING: collected information for key multiple times: '(index-entry (mod-path "(planet schematics/sake)")); values: (list '("(planet schematics/sake)") (list (sized-element ...)) #<module-path-index-desc>) (list '("(planet schematics/sake)") (list (sized-element ...)) #<module-path-index-desc>)
> WARNING: collected information for key multiple times: '(mod-path "(planet schematics/sake)"); values: '#(#<path:/home/wall/.racket/planet/300/5.0/cache/schematics/sake.plt/1/0/doc/sake/Build_files.html> ("Build files") #t (mod-path "(planet schematics/sake)")) '#(#<path:/home/wall/.racket/planet/300/5.0/cache/schematics/sake.plt/1/0/doc/sake/The_Sake_API.html> ("The Sake API") #t (mod-path "(planet schematics/sake)"))
> WARNING: collected information for key multiple times: '(index-entry (mod-path "(planet schematics/sake)")); values: (list '("(planet schematics/sake)") (list (sized-element ...)) #<module-path-index-desc>) (list '("(planet schematics/sake)") (list (sized-element ...)) #<module-path-index-desc>)
> module: identifier already imported from a different source
> module: identifier already imported from a different source
> setup-plt: error: during making for <planet>/cce/scheme.plt/6/3 (Scheme Utilities: (planet cce/scheme))
> setup-plt:   module: identifier already imported from a different source
> setup-plt: error: during Building docs for /home/wall/.racket/planet/300/5.0/cache/cce/scheme.plt/6/3/reference/manual.scrbl
> setup-plt:   module: identifier already imported from a different source
> load-handler: expected a `module' declaration for `cache' in #<path:/home/wall/.racket/planet/300/5.0/cache/untyped/unlib.plt/3/23/planet/4.2.1.5/cache.ss>, but found something else
> setup-plt: error: during making for <planet>/untyped/unlib.plt/3/23/planet/4.2.1.5
> setup-plt:   load-handler: expected a `module' declaration for `cache' in #<path:/home/wall/.racket/planet/300/5.0/cache/untyped/unlib.plt/3/23/planet/4.2.1.5/cache.ss>, but found something else
> base.ss:9:9: require: PLaneT could not find the requested package: Server had no matching package: No package matched the specified criteria in: (planet untyped/dispatch:3)
> 
> how i can correct error?
> 
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20100628/8cafaa25/attachment.html>

Posted on the users mailing list.