What OS are you using, and to you happen to know if/where the zoneinfo database 
is on your system? If the problem is that your database is in a location that 
Gregor doesn't expect, I'll be happy to fix that. If you don't have the 
database, at all (which would be odd for a modern UNIX), you can install the 
tzinfo-data package. Installing that package should also be a work-around for 
the problem, too.


> On Nov 3, 2015, at 5:50 PM, 'William J. Bowman' via Racket Users 
> <racket-users@googlegroups.com> wrote:
> 
> I get the following contract error when installed Gregor (the excellent
> date and time library) on my machine.
> 
> Any one know if this is a problem with my setup and if so how to
> resolve?
> 
> ; find-relative-path: contract violation
> ;   expected: (and/c path-for-some-system? simple-form?)
> ;   given: #<path:../usr/share/zoneinfo/America/New_York>
> ;   context...:
> ;    ..../racket/racket/collects/racket/path.rkt:114:0: do-explode-path
> ;    ..../racket/racket/collects/racket/path.rkt:124:0: find-relative-path5
> ;    ..../racket/racket/share/pkgs/tzinfo/tzinfo/private/os/unix.rkt:11:0: 
> detect-tzid/unix
> ;    ..../racket/racket/share/pkgs/tzinfo/tzinfo/private/zoneinfo.rkt:54:3: 
> detect-system-tzid
> ;    ..../racket/racket/share/pkgs/tzinfo/tzinfo/main.rkt:70:0: system-tzid
> ;    
> ..../racket/racket/collects/racket/contract/private/arrow-val-first.rkt:302:18
> ;    ..../racket/racket/share/pkgs/gregor-lib/gregor/private/moment.rkt: 
> [running body]
> ;    ..../racket/racket/share/pkgs/gregor-lib/gregor/private/generics.rkt: 
> [traversing imports]
> 
> -- 
> William J. Bowman
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to