can't create a new package on pkgd.racket-lang.org

28 views
Skip to first unread message

Roger Keays

unread,
Feb 19, 2021, 6:52:58 AM2/19/21
to racket...@googlegroups.com

Hi,

Today I made an account on racket-lang.org to post a package, but when I submit the form, it just bounces back at me, blank. The package I added does not appear under "my packages", so it seems the submission failed. There are no error messages.

https://pkgd.racket-lang.org/pkgn/create

I'm submitting an example #lang extension from github for educational/demonstration purposes: https://github.com/rogerkeays/racket-dollar

Could this be because my account is new? I also noticed I get an error when trying to get raco to install from github:

$ raco pkg install git://github.com/rogerkeays/racket-dollar#master
Querying Git references for racket-dollar at git://github.com/rogerkeays/racket-dollar#master
git: could not find requested reference
reference: master
context...:
/usr/share/racket/collects/net/git-checkout.rkt:344:0: select-commits
/usr/share/racket/collects/net/git-checkout.rkt:73:8
/usr/share/racket/collects/net/git-checkout.rkt:54:2: retry-loop
/usr/share/racket/collects/pkg/private/stage.rkt:59:2: lookup-normally
/usr/share/racket/collects/pkg/private/stage.rkt:107:0: stage-package/info46
/usr/share/racket/collects/pkg/private/install.rkt:659:4: for-loop
/usr/share/racket/collects/pkg/private/install.rkt:141:0: install-packages76
/usr/share/racket/collects/pkg/private/../../racket/private/more-scheme.rkt:261:28
/usr/share/racket/collects/racket/contract/private/arrow-val-first.rkt:430:3
/usr/share/racket/collects/racket/file.rkt:435:8
/usr/share/racket/collects/racket/file.rkt:391:2: loop
/usr/share/racket/collects/pkg/main.rkt:206:16
(submod "/usr/share/racket/collects/pkg/main.rkt" main): [running body]
temp37_0
for-loop
run-module-instance!125
...

$ racket -v
Welcome to Racket v7.2.

Suggestions welcome.

Sorawee Porncharoenwase

unread,
Feb 19, 2021, 7:55:33 AM2/19/21
to Roger Keays, Racket list

For the raco pkg install error, it looks like your branch is named main, so you need to run raco pkg install git://github.com/rogerkeays/racket-dollar#main

Ideally, raco pkg install git://github.com/rogerkeays/racket-dollar should also work, but currently it doesn’t.


--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/sigid.16823f523d.20210217164232.GA4731%40papaya.papaya.

Roger Keays

unread,
Feb 23, 2021, 6:49:18 AM2/23/21
to Racket list

Thanks for the pointer. Adding "main" as the branch fixed the problem with the package submission too. An error message to catch that mistake might save the next person some head-scratching. As far as I remember, github created my repo with main as the default branch rather than master.

On Fri, Feb 19, 2021 at 07:54:51PM +0700, Sorawee Porncharoenwase wrote:
> For the raco pkg install error, it looks like your branch is named main, so
> you need to run raco pkg install git://
> github.com/rogerkeays/racket-dollar#main
>
> Ideally, raco pkg install git://github.com/rogerkeays/racket-dollar should
> also work, but currently it doesn’t
> <https://github.com/racket/racket/issues/3672>.
> To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/CADcuegtie4M_Cjjycvc15hbfSN98HQxcNZZYH4LUxW5kfPUviA%40mail.gmail.com.

Sam Tobin-Hochstadt

unread,
Feb 23, 2021, 10:44:32 AM2/23/21
to Roger Keays, Racket list
Unfortunately, it's old versions of Racket that don't support this,
and adding error messages there will have the same problem as fixing
them -- they're already out there and on people's computers. However,
this will be fixed in the next release of Racket.

Sam
> To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/sigid.06852a6d4b.20210220163029.GB8013%40papaya.papaya.
Reply all
Reply to author
Forward
0 new messages