florence / cover

a code coverage tool for racket
MIT License
38 stars 7 forks source link

Errors on installation (recently) #147

Closed srfoster closed 4 years ago

srfoster commented 4 years ago

I'm not sure the exact commit that broke things, but the current version of cover throws errors on installation. I'm not using cover directly, but one of my dependencies must be.

I've patched things in the mean time by putting this in my info.rkt file:

So #8c1268406dc97 must have been fine.

Otherwise, I get errors like these in my Dockerized 7.5 Racket environment.

open-input-file: cannot open module file
  module path: cover
  path: /root/.racket/7.5/pkgs/cover/main.rkt
  system error: no such file or directory; rktio_err=3
  compilation context...:
   /root/.racket/7.5/pkgs/cover/cover-lib/cover/raco.rkt
  context...:
   maybe-raise-missing-module
   default-load-handler
   standard-module-name-resolver
   module-path-index-resolve
   perform-require!78
   for-loop
   finish
   [repeats 10 more times]
   pass-1-and-2-loop
   module-begin-k
   expand-module16
   expand-capturing-lifts
   temp118_0
   temp91_0
   compile15
   /usr/share/racket/collects/compiler/private/cm-minimal.rkt:428:0: compile-zo*66
   ...

standard-module-name-resolver: collection not found
  for module path: cover/private/shared
  collection: "cover/private"
  in collection directories:
   /root/.racket/7.5/collects
   /usr/share/racket/collects
   ... [217 additional linked and package directories]
   sub-collection: "private"
  in parent directories:
   /root/.racket/7.5/pkgs/cover
  compilation context...:
   /root/.racket/7.5/pkgs/cover/cover-test/format-utils.rkt
  context...:
   show-collection-err
   standard-module-name-resolver
   module-path-index-resolve
   perform-require!78
   for-loop
   finish
   [repeats 13 more times]
   pass-1-and-2-loop
   module-begin-k
   expand-module16
   expand-capturing-lifts
   temp118_0
   temp91_0
   compile15
   /usr/share/racket/collects/compiler/private/cm-minimal.rkt:428:0: compile-zo*66
   /usr/share/racket/collects/compiler/private/cm-minimal.rkt:731:15
   ...

standard-module-name-resolver: collection not found
  for module path: cover/private/shared
  collection: "cover/private"
  in collection directories:
   /root/.racket/7.5/collects
   /usr/share/racket/collects
   ... [217 additional linked and package directories]
   sub-collection: "private"
  in parent directories:
   /root/.racket/7.5/pkgs/cover
  compilation context...:
   /root/.racket/7.5/pkgs/cover/cover-test/format-utils.rkt
  context...:
   show-collection-err
   standard-module-name-resolver
   module-path-index-resolve
   perform-require!78
   for-loop
   finish
   [repeats 13 more times]
   pass-1-and-2-loop
   module-begin-k
   expand-module16
   expand-capturing-lifts
   temp118_0
   temp91_0
   compile15
   /usr/share/racket/collects/compiler/private/cm-minimal.rkt:428:0: compile-zo*66
   /usr/share/racket/collects/compiler/private/cm-minimal.rkt:731:15
   ...
florence commented 4 years ago

I suspect this is because I split cover into multiple packages. But I have no clue why this would be happening, its like you're somehow getting the version from racket 7.5 and the version on HEAD...

florence commented 4 years ago

Oh, looks like I just didn't update the configuration on the package server. It should be fixed now!

florence commented 4 years ago

(Or rather, it should be fixed with the next index refresh, this evening)

srfoster commented 4 years ago

Thanks!

On Wed, Feb 26, 2020 at 1:50 PM Spencer Florence notifications@github.com wrote:

(Or rather, it should be fixed with the next index refresh, this evening)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/florence/cover/issues/147?email_source=notifications&email_token=AAF2VE4K37ZAZTKZMIK7FDTRE3P3BA5CNFSM4K4OO3K2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENCA22I#issuecomment-591662441, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAF2VE5X2CNLG2Q7GJEPZLDRE3P3BANCNFSM4K4OO3KQ .

--

Stephen Foster ThoughtSTEM Co-Founder 318-792-2035