Okay, that is odd. I'll try reinstalling from scratch on my own machine to make 
sure I didn't introduce a bug at some point. That's also where my zoneinfo DB 
is too, so I'd expect it to behave the same way. I am running macos, but I 
don't see why that should make any difference.

By the way, do you actually get this error when installing the package? Or just 
when trying to use it? The TZ detection code shouldn't run on install, I don't 
think-- hmm, unless it breaks when building documentation? Since that actually 
does use the package...

> On Nov 3, 2015, at 6:33 PM, William J. Bowman <w...@williamjbowman.com> wrote:
> 
> I'm running Arch Linux, and the zoneinfo database is in /usr/share/zoneinfo.
> 
> -- 
> William J. Bowman
> 
>> On Tue, Nov 03, 2015 at 06:20:54PM -0500, Jon Zeppieri wrote:
>> 
>> 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