[racket] The Racket package management model
The error reporting should be better, but the problem is that snapshot
catalogs are discarded after a week or so. So, a Utah snapshot that's
from January 4 or later will work, while older snapshots will fail to
find the associated snapshot-specific catalog.
As an alternative to installing a new snapshot, you can drop the
snapshot-specific "http://www.cs.utah.edu/plt/snapshots/..." catalog
from the snapshot's configuration (using `raco pkg config --set
catalogs http://pkgs.racket-lang.org
http://planet-compats.racket-lang.org`).
At Sat, 10 Jan 2015 16:54:54 -0500, Greg Hendershott wrote:
> Sorry if this is slightly OT, but:
>
> The blog post mentioned package suggestion support in DrR. I hadn't
> noticed that, yet. I was curious, thinking maybe I should add
> something like this to racket-mode.
>
> When I tried, I discovered it doesn't work for me with DrR from
> 6.1.1.6 snapshot:
>
> get-all-pkg-details-from-catalogs: bad response from server
> url:
> http://www.cs.utah.edu/plt/snapshots/20141221-aabe9d7/catalog/pkgs-all?version=6
> .1.1.6
> response: #f
>
> (for-loop . #(struct:srcloc
> #<path:/Applications/Racket_v6.1.1.6/collects/pkg/private/catalog.rkt>
> 282 2 9888 1759))
> (for-loop . #(struct:srcloc
> #<path:/Applications/Racket_v6.1.1.6/collects/pkg/private/catalog-update.rkt>
> 37 4 1350 2495))
> (for-loop . #(struct:srcloc
> #<path:/Applications/Racket_v6.1.1.6/share/pkgs/gui-pkg-manager-lib/pkg/gui/priv
> ate/catalog-update.rkt>
> 90 7 3331 437))
>
> Also errors when I (require pkg/lib) and try
> get-all-pkg-names-from-catalogs or get-all-pkg-details-from-catalogs
> directly, using 6.1.1.6. But that code works fine in 6.0. (In DrR 6.0
> there's no error but also no suggestion; the feature not yet added, I
> guess).
>
> Is this not working with 6.1.1.6 as-expected, and simply because the
> catalog server doesn't understand "?version=6.1.1.6"? IOW is this
> really intended for use only by "regular" users of released versions?
> ____________________
> Racket Users list:
> http://lists.racket-lang.org/users