Re: [racket-users] can't create a new package on pkgd.racket-lang.org

2021-02-23 Thread Sam Tobin-Hochstadt
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

On Tue, Feb 23, 2021 at 6:49 AM Roger Keays  wrote:
>
>
> 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
> > .
> >
> > On Fri, Feb 19, 2021 at 6:52 PM Roger Keays  wrote:
> >
> > >
> > > 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.
> > >
> > > --
> > > 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.
> > > To view this discussion on the web visit
> > > https://groups.google.com/d/msgid/racket-users/sigid.16823f523d.20210217164232.GA4731%40papaya.papaya
> > > .
> > >
> >
> > --
> > 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.
> > To view this discussion on the web visit 
> > https://groups.google.com/d/msgid/racket-users/CADcuegtie4M_Cjjycvc15hbfSN98HQxcNZZYH4LUxW5kfPUviA%40mail.gmail.com.
>
> --
> 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.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/racket-users/sigid.06852a6d4b.20210220163029.GB8013%40papaya.papaya.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CAK%3DHD%2BZOqsHwjuzJHrBC%2B1A59FjsvnvYDhPsG5HQQot21HiAvA%40mail.gmail.com.


Re: [racket-users] can't create a new package on pkgd.racket-lang.org

2021-02-23 Thread Roger Keays


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
> .
> 
> On Fri, Feb 19, 2021 at 6:52 PM Roger Keays  wrote:
> 
> >
> > 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.
> >
> > --
> > 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.
> > To view this discussion on the web visit
> > https://groups.google.com/d/msgid/racket-users/sigid.16823f523d.20210217164232.GA4731%40papaya.papaya
> > .
> >
> 
> -- 
> 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.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/racket-users/CADcuegtie4M_Cjjycvc15hbfSN98HQxcNZZYH4LUxW5kfPUviA%40mail.gmail.com.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/sigid.06852a6d4b.20210220163029.GB8013%40papaya.papaya.


Re: [racket-users] can't create a new package on pkgd.racket-lang.org

2021-02-19 Thread Sorawee Porncharoenwase
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
.

On Fri, Feb 19, 2021 at 6:52 PM Roger Keays  wrote:

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

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CADcuegtie4M_Cjjycvc15hbfSN98HQxcNZZYH4LUxW5kfPUviA%40mail.gmail.com.


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

2021-02-19 Thread Roger Keays


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.

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