samth
2017-4-28 20:59:42

@mflatt any idea why these tests might have failed (only on mac, and only on one of the builds)? https://travis-ci.org/racket/racket/jobs/226935890#L1755-L1759


mflatt
2017-4-28 21:00:34

I think that’s probably a spurious filesystem-timestamp mismatch


cowbs
2017-4-28 22:29:31

I’m getting this error (and a bunch more) when I try and use drracket with our custom zo directory (and only then). I’ve tried doing a clean raco setup with that directory and it makes no difference. It even happens with a fresh install of racket–6.8–64. I’ve tried deleting my %appdata%\Racket folder just in case. I’ve tried pulling my hair out. Nothing helps.

Error invoking tool #<path:c:\ndibin\racket-6.8-64\share\pkgs\drracket\drracket>;"syncheck.rkt" add-child: child already exists with this path: '("Colors" "Check Syntax") context...: c:\ndibin\racket-6.8-64\share\pkgs\gui-lib\framework\private\preferences.rkt:195:4: loop c:\ndibin\racket-6.8-64\collects\racket\contract\private\arrow-val-first.rkt:357:18 .../racket/unit.rkt:1001:20 c:\ndibin\racket-6.8-64\share\pkgs\drracket\drracket\private\tools.rkt:329:0: invoke-tool .../more-scheme.rkt:261:28 c:\ndibin\racket-6.8-64\collects\racket\private\more-scheme.rkt:206:2: call-handled-body c:\ndibin\racket-6.8-64\share\pkgs\drracket\drracket\private\tools.rkt:271:0: load/invoke-tool* loop c:\ndibin\racket-6.8-64\share\pkgs\drracket\drracket\private\tools.rkt:71:0: load/invoke-all-tools .../racket/unit.rkt:1001:20


cowbs
2017-4-28 22:30:05

If I don’t point it to our compiled directory then it loads successfully, if only very, very slowly.


mflatt
2017-4-28 22:44:08

@cowbs The “racket/share/info-cache.rktd” file in the installation contains an association list. Do you see any paths as keys where they’re the same, except that one uses "/" as a separator and the other uses ""? (There was a problem along those lines that we’ve fixed for v6.9.)


cowbs
2017-4-28 22:49:08

The problem went away after my latest attempt at raco setup (because who wants a boring friday) but when it comes back I’ll check for that


cowbs
2017-4-28 22:58:50

it’s back, and yeah I can see a duplicate


cowbs
2017-4-28 23:00:36

“pkgs/drracket/drracket” and “pkgs\drracket\drracket”, for example


cowbs
2017-4-28 23:00:42

is there a workaround I can implement for 6.8?


mflatt
2017-4-28 23:03:52

You could change the “info-cache.rktd” file after installing to use "\" in all the keys instead of "/"


danl-ndi
2017-4-28 23:03:53

was this an issue introduced since 6.5?


danl-ndi
2017-4-28 23:05:02

ah, no, I have repeated entries in my 6.5 info-cache.rktd


cowbs
2017-4-28 23:05:51

Hmm, doesn’t seem to fix it. Same error.


cowbs
2017-4-28 23:05:59

do I need to rebuild the zos after making that change?


mflatt
2017-4-28 23:06:15

If you have a bad “info-cache.rktd” file to start with, remove one of the duplicated keys


mflatt
2017-4-28 23:06:25

Changing "/" to "\" should prevent it from going bad again


cowbs
2017-4-28 23:07:39

just one or track down and remove all duplicates?


cowbs
2017-4-28 23:09:55

I’ve replaced all "/" to "\" and removed several duplicates, and it still errors out (though now in a different module, debug-tool.rkt)


mflatt
2017-4-28 23:16:11

You may need to start with a copy from a fresh installation