laurent.orseau
2020-7-5 16:53:18

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?

  1. raco pkg install quickscript-test
  2. 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!


spdegabrielle
2020-7-5 17:02:42

on osx


spdegabrielle
2020-7-5 17:03:00

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: &lt;pkgs&gt;/quickscript-test raco setup: 2 making: &lt;pkgs&gt;/slideshow-latex/tests raco setup: 2 making: &lt;pkgs&gt;/slideshow-latex/tests/slideshow raco setup: 2 making: &lt;pkgs&gt;/slideshow-latex/tests/slideshow/latex raco setup: 2 making: &lt;pkgs&gt;/slideshow-latex/tests/slideshow/latex/images raco setup: 1 making: &lt;pkgs&gt;/drracket-test/tests raco setup: 1 making: &lt;pkgs&gt;/drracket-test/tests/drracket raco setup: 3 making: &lt;pkgs&gt;/quickscript-test/scribblings raco setup: 3 making: &lt;pkgs&gt;/quickscript-test/scripts raco setup: 1 making: &lt;pkgs&gt;/drracket-test/tests/drracket/gui-debugger raco setup: 1 making: &lt;pkgs&gt;/drracket-test/tests/drracket/private raco setup: 1 making: &lt;pkgs&gt;/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: &lt;pkgs&gt;/quickscript-test/scribblings/quickscript-test.scrbl raco setup: 3 rendering: &lt;pkgs&gt;/racket-index/scribblings/main/user/local-redirect.scrbl raco setup: 2 rendering: &lt;pkgs&gt;/quickscript-test/scribblings/quickscript-test.scrbl raco setup: 1 rendering: &lt;pkgs&gt;/racket-index/scribblings/main/user/release.scrbl raco setup: 0 rendering: &lt;pkgs&gt;/racket-index/scribblings/main/user/search.scrbl raco setup: 3 rendering: &lt;pkgs&gt;/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 &lt;subcommand&gt; [option ...] &lt;arg ...&gt;  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 &lt;subcommand&gt; --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-&gt;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 ~ %


spdegabrielle
2020-7-5 17:03:00

laurent.orseau
2020-7-5 17:10:23

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?


spdegabrielle
2020-7-5 17:12:12

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: #&lt;resolved-module-path:"/Applications/Racket v7.7/share/pkgs/drracket/drracket/tool-lib.rkt"&gt;


laurent.orseau
2020-7-5 17:12:40

oh no!!


spdegabrielle
2020-7-5 17:12:57

sorry I’m not paying attention.


spdegabrielle
2020-7-5 17:13:04

can I help?


laurent.orseau
2020-7-5 17:13:34

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


spdegabrielle
2020-7-5 17:15:01

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


laurent.orseau
2020-7-5 17:15:32

Me too.


laurent.orseau
2020-7-5 17:16:04

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


laurent.orseau
2020-7-5 17:16:07

(I guess)


laurent.orseau
2020-7-5 17:16:38

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


laurent.orseau
2020-7-5 17:16:50

or maybe first raco pkg update quickscript


spdegabrielle
2020-7-5 17:17:28

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


laurent.orseau
2020-7-5 17:17:43

Sure, but maybe it ships with an old version?


spdegabrielle
2020-7-5 17:18:50

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 ~ %


spdegabrielle
2020-7-5 17:18:56

annoying


laurent.orseau
2020-7-5 17:19:08

hmpf


spdegabrielle
2020-7-5 17:19:45

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


laurent.orseau
2020-7-5 17:20:08

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


spdegabrielle
2020-7-5 17:20:28

ta I forgot


spdegabrielle
2020-7-5 17:21:29

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


spdegabrielle
2020-7-5 17:21:35

so annoyimg


laurent.orseau
2020-7-5 17:22:20

urgh


laurent.orseau
2020-7-5 17:22:46

raco pkg update quickscript doesn’t work?


spdegabrielle
2020-7-5 17:26:48

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 ~ %


laurent.orseau
2020-7-5 17:28:02

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


spdegabrielle
2020-7-5 17:29:35

I need to go cook. maybe later or tomorrow.


laurent.orseau
2020-7-5 17:29:43

Thanks for your help!


spdegabrielle
2020-7-5 17:29:48

sorry


laurent.orseau
2020-7-5 17:29:56

nothing to be sorry about :slightly_smiling_face:


maueroats
2020-7-5 18:51:05

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


maueroats
2020-7-5 18:55:15

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


laurent.orseau
2020-7-5 18:56:49

Ha, so maybe ot works only on CS?


laurent.orseau
2020-7-5 19:04:10

thanks @maueroats


laurent.orseau
2020-7-5 20:05:04

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?


laurent.orseau
2020-7-5 20:08:02

@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?


maueroats
2020-7-6 02:41:27

All test pass now.


laurent.orseau
2020-7-6 06:45:38

Excellent, thanks!