
I’m trying to understand why quickscript-test
fails some checks on the server, but all passes on my local machine (Ubuntu). Can someone try this out?
- raco pkg install quickscript-test
- raco test -p quickscript-test During 2., the only thing you may have to do is click on “Done” after the splash screen to close the “Recover Autosaved Files” dialog box. All the rest should be automatic (including filling in other dialog boxes).
Can you then report any output you get? Thank you!

on osx

Last login: Fri Jun 26 23:50:57 on ttys001
spdegabrielle@Miriams-MBP ~ % /Applications/Racket\ v7.7/bin/raco pkg install quickscript-test
Resolving "quickscript-test" via <https://download.racket-lang.org/releases/7.7/catalog/>
Resolving "quickscript-test" via <https://pkgs.racket-lang.org>
Downloading repository <https://github.com/Metaxal/quickscript-test.git>
The following uninstalled packages are listed as dependencies of quickscript-test:
drracket-test
Would you like to install these dependencies? [Y/n/a/c/?] Y
Resolving "drracket-test" via <https://download.racket-lang.org/releases/7.7/catalog/>
Downloading <https://download.racket-lang.org/releases/7.7/pkgs/drracket-test.zip>
The following uninstalled packages were listed as dependencies
and they were installed:
dependencies of quickscript-test:
drracket-test
raco setup: version: 7.7
raco setup: platform: x86_64-macosx [cs]
raco setup: target machine: ta6osx
raco setup: cross-installation: yes
raco setup: installation name: 7.7
raco setup: variants: cs
raco setup: main collects: /Applications/Racket v7.7/collects/
raco setup: collects paths:
raco setup: /Users/spdegabrielle/Library/Racket/7.7/collects
raco setup: /Applications/Racket v7.7/collects/
raco setup: main pkgs: /Applications/Racket v7.7/share/pkgs
raco setup: pkgs paths:
raco setup: /Applications/Racket v7.7/share/pkgs
raco setup: /Users/spdegabrielle/Library/Racket/7.7/pkgs
raco setup: links files:
raco setup: /Applications/Racket v7.7/share/links.rktd
raco setup: /Users/spdegabrielle/Library/Racket/7.7/links.rktd
raco setup: main docs: /Applications/Racket v7.7/doc
raco setup: --- updating info-domain tables --- [17:54:34]
raco setup: updating: /Users/spdegabrielle/Library/Racket/7.7/share/info-cache.rktd
raco setup: --- pre-installing collections --- [17:54:34]
raco setup: --- installing foreign libraries --- [17:54:34]
raco setup: --- installing shared files --- [17:54:34]
raco setup: --- compiling collections --- [17:54:34]
raco setup: --- parallel build using 4 jobs --- [17:54:34]
raco setup: 3 making: <pkgs>/quickscript-test
raco setup: 2 making: <pkgs>/slideshow-latex/tests
raco setup: 2 making: <pkgs>/slideshow-latex/tests/slideshow
raco setup: 2 making: <pkgs>/slideshow-latex/tests/slideshow/latex
raco setup: 2 making: <pkgs>/slideshow-latex/tests/slideshow/latex/images
raco setup: 1 making: <pkgs>/drracket-test/tests
raco setup: 1 making: <pkgs>/drracket-test/tests/drracket
raco setup: 3 making: <pkgs>/quickscript-test/scribblings
raco setup: 3 making: <pkgs>/quickscript-test/scripts
raco setup: 1 making: <pkgs>/drracket-test/tests/drracket/gui-debugger
raco setup: 1 making: <pkgs>/drracket-test/tests/drracket/private
raco setup: 1 making: <pkgs>/drracket-test/tests/help
raco setup: --- creating launchers --- [17:55:03]
raco setup: --- installing man pages --- [17:55:03]
raco setup: --- building documentation --- [17:55:03]
raco setup: 1 running: <pkgs>/quickscript-test/scribblings/quickscript-test.scrbl
raco setup: 3 rendering: <pkgs>/racket-index/scribblings/main/user/local-redirect.scrbl
raco setup: 2 rendering: <pkgs>/quickscript-test/scribblings/quickscript-test.scrbl
raco setup: 1 rendering: <pkgs>/racket-index/scribblings/main/user/release.scrbl
raco setup: 0 rendering: <pkgs>/racket-index/scribblings/main/user/search.scrbl
raco setup: 3 rendering: <pkgs>/racket-index/scribblings/main/user/start.scrbl
raco setup: --- installing collections --- [17:55:26]
raco setup: --- post-installing collections --- [17:55:26]
spdegabrielle@Miriams-MBP ~ % /Applications/Racket\ v7.7/bin/raco pkg test -p quickscript-test
Usage: raco pkg <subcommand> [option ...] <arg ...>
where any unambiguous prefix can be used for a subcommand
This tool is used for managing installed packages.
For help on a particular subcommand, use 'raco pkg <subcommand> --help'
raco pkg install Install packages
raco pkg update Update packages
raco pkg remove Remove packages
raco pkg new Populate a new directory with the stubs of a package
raco pkg show Show information about installed packages
raco pkg migrate Install packages installed for other version/name
raco pkg create Bundle package from a directory or installed package
raco pkg config View and modify the package manager's configuration
raco pkg catalog-show Show package information as reported by catalogs
raco pkg catalog-copy Copy/merge package name catalogs
raco pkg catalog-archive Copy catalog plus packages
raco pkg archive Create catalog from installed packages
raco pkg empty-trash Delete old package installations from the trash directory
spdegabrielle@Miriams-MBP ~ % /Applications/Racket\ v7.7/bin/raco test -p quickscript-test
raco test: "/Users/spdegabrielle/Library/Racket/7.7/pkgs/quickscript-test/drracket.rkt"
--------------------
FAILURE
name: check-equal?
location: drracket.rkt:81:6
actual: 2
expected: 3
--------------------
list-ref: index 2 is out of range for list (list (object:test-tab%-mixin174 ...) (object:test-tab%-mixin174 ...))
context...:
condition->exn
do-raise
dynamic-wind
.../private/unit.rkt:2290:6: !get-tab-filename method in frame-mixin
.../quickscript-test/drracket.rkt:80:4
call-with-values
call-in-empty-metacontinuation-frame
.../private/no-fw-test-util.rkt:109:20
.../common/queue.rkt:435:6
call-in-empty-metacontinuation-frame
[repeats 1 more time]
.../common/queue.rkt:486:32
.../common/dialog.rkt:58:4: !show method in dialog-mixin
dynamic-wind
.../private/more-scheme.rkt:148:2: call-with-break-parameterization
.../private/more-scheme.rkt:265:2: call-with-exception-handler
drracket.rkt: raco test: non-zero exit: 1
raco test: "/Users/spdegabrielle/Library/Racket/7.7/pkgs/quickscript-test/info.rkt"
raco test: "/Users/spdegabrielle/Library/Racket/7.7/pkgs/quickscript-test/library.rkt"
raco test: (submod "/Users/spdegabrielle/Library/Racket/7.7/pkgs/quickscript-test/main.rkt" test)
raco test: "/Users/spdegabrielle/Library/Racket/7.7/pkgs/quickscript-test/scribblings/quickscript-test.scrbl"
raco test: "/Users/spdegabrielle/Library/Racket/7.7/pkgs/quickscript-test/scripts/close-current-tab.rkt"
raco test: "/Users/spdegabrielle/Library/Racket/7.7/pkgs/quickscript-test/scripts/open-me.rkt"
raco test: "/Users/spdegabrielle/Library/Racket/7.7/pkgs/quickscript-test/scripts/output-to-new-tab.rkt"
raco test: "/Users/spdegabrielle/Library/Racket/7.7/pkgs/quickscript-test/scripts/persistent-counter.rkt"
raco test: "/Users/spdegabrielle/Library/Racket/7.7/pkgs/quickscript-test/scripts/string-insert.rkt"
raco test: "/Users/spdegabrielle/Library/Racket/7.7/pkgs/quickscript-test/scripts/string-reverse.rkt"
1/13 test failures
spdegabrielle@Miriams-MBP ~ %


Excellent, you have the same error as the server. The problem seems to be when trying to run the script “open-me.rkt”:https://github.com/Metaxal/quickscript-test/blob/master/scripts/open-me.rkt Can you try to run this script manually and see if it opens the script’s file?

Error in script file "/Users/spdegabrielle/Library/Preferences/quickscript/user-scripts/open-me.rkt":
namespace-attach-module: module not declared (in the source namespace)
module name: #<resolved-module-path:"/Applications/Racket v7.7/share/pkgs/drracket/drracket/tool-lib.rkt">

oh no!!

sorry I’m not paying attention.

can I help?

This works on Linux but not on Mac then? :disappointed:

I’m a bit confused -I thought all the namespace and module stuff was racket specific- not part of the os?

Me too.

Can you try with quickscript from git? raco pkg update —clone quickscript

(I guess)

(Maybe the version you have isn’t up to date?)

or maybe first raco pkg update quickscript

The instance I’m testign with is 7.7 bc - clean

Sure, but maybe it ships with an old version?

spdegabrielle@Miriams-MBP ~ % /Applications/Racket\ v7.7/bin/raco pkg update --clone quickscript
Inferred package name from given `--clone' path
package: quickscript
given path: quickscript
Inferred package scope: installation
raco pkg update: package is not currently installed from a repository
package: quickscript
current installation: (catalog quickscript)
spdegabrielle@Miriams-MBP ~ %

annoying

hmpf

I’ll try my other install … might take a while

raco pkg remove quickscript raco pkg install https://github.com/Metaxal/quickscript

ta I forgot

raco pkg remove: cannot remove packages that are dependencies of other packages
dependencies:
quickscript (required by: (drracket))

so annoyimg

urgh

raco pkg update quickscript doesn’t work?

spdegabrielle@Miriams-MBP ~ % /Applications/Racket\ v7.7/bin/raco pkg update quickscript
Inferred package scope: installation
Resolving "quickscript" via <https://download.racket-lang.org/releases/7.7/catalog/>
No updates available
spdegabrielle@Miriams-MBP ~ %

so it seems to be up to date then. This is rather annoying

I need to go cook. maybe later or tomorrow.

Thanks for your help!

sorry

nothing to be sorry about :slightly_smiling_face:

I got a list-ref., index too large for list on linux racket 7.7 BC, not a clean system. https://gist.github.com/maueroats/f7e554999f7670a699fdfd88bec4baf2

Very good error message from 7.7.0.9 BC on linux. https://gist.github.com/maueroats/bdb5d8247d13a79af89e66056ed3f5e7

Ha, so maybe ot works only on CS?

thanks @maueroats

The second error means that it went further in the script, which would be good news (and this one I have a better idea how to fix it). @spdegabrielle Can you try with the latest nightly when you have time?

@maueroats I pushed a potential fix. When you have time, can get the latest version of quickscript-test (raco pkg update quickscript-test) and try on 7.7.0.9BC?

All test pass now.

Excellent, thanks!