nuprl / gradual-typing-performance

10 stars 5 forks source link

Gregor Doesn't Work for Me #123

Closed maxsnew closed 8 years ago

maxsnew commented 8 years ago
find-relative-path: contract violation
  expected: (and/c path-for-some-system? simple-form?)
  given: #<path:../usr/share/zoneinfo/America/New_York>
  context...:
   /home/max/racket/racket/collects/racket/path.rkt:114:0: do-explode-path
   /home/max/racket/racket/collects/racket/path.rkt:124:0: find-relative-path5
   /home/max/research/gradual-typing-performance/benchmarks/gregor/benchmark/base/tzinfo/private/os/unix.rkt:11:0: detect-tzid/unix
   /home/max/research/gradual-typing-performance/benchmarks/gregor/benchmark/base/tzinfo/private/zoneinfo.rkt:54:3: detect-system-tzid
   /home/max/research/gradual-typing-performance/benchmarks/gregor/benchmark/base/tzinfo/main.rkt:70:0: system-tzid
   /home/max/racket/racket/collects/racket/contract/private/arrow-val-first.rkt:363:18
   /home/max/research/gradual-typing-performance/benchmarks/gregor/benchmark/configuration0000000000000/moment.rkt: [running body]
   /home/max/research/gradual-typing-performance/benchmarks/gregor/benchmark/configuration0000000000000/main.rkt: [traversing imports]

@wilbowma says it's a known bug in Gregor.

bennn commented 8 years ago

lol. Let's remove this from our copy of Gregor tomorrow.

wilbowma commented 8 years ago

This was caused by a bug in tzinfo that was fixed back in Nov. See this thread: https://groups.google.com/forum/#!searchin/racket-users/Gregor/racket-users/xQExv0HXbLI/j1rSTfhvAgAJ

wilbowma commented 8 years ago

The following may be a workaround since the issue seems to be the extra "../" in the path. rm /etc/localtime && ln -s /usr/share/zoneinfo/America/New_York /etc/localtime

bennn commented 8 years ago

should be good now