-
Notifications
You must be signed in to change notification settings - Fork 17.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x/pkgsite: requested package could not be found
#48451
Comments
could not be found
Having trouble debugging this because it succeeds when I run the worker locally, but gets a 490 on the deployed one, even though they are the same code. Inserting more logging. |
Change https://golang.org/cl/350993 mentions this issue: |
Add logging to understand why github.com/CAFxX/decommit@v0.1.1 returns BadModule. For golang/go#48451 Change-Id: Ibd5e1a75f59d1066e98624ddb3db7756d2d488e8 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/350993 Trust: Jonathan Amsterdam <jba@google.com> Run-TryBot: Jonathan Amsterdam <jba@google.com> TryBot-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: Jamal Carvalho <jamal@golang.org>
Change https://golang.org/cl/351270 mentions this issue: |
I couldn't reproduce this locally because it depends on the Go version. The module builds in 1.17 but not in 1.16, because of the changes being made to build tags:
pkgsite runs on App Engine, which is still on 1.16, so we can't process this module. Just add back the |
Log a BadPackageError from loadPackage. If all packages in a module failed to load, the errors were swallowed. They didn't appear in the logs or the DB. Also, remove the debugging logs inserted recently to find this problem. For golang/go#48451 Change-Id: Ide57f38b4187624aca6c0047d8b29e88e1f55f60 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/351270 Trust: Jonathan Amsterdam <jba@google.com> Run-TryBot: Jonathan Amsterdam <jba@google.com> TryBot-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: Jamal Carvalho <jamal@golang.org>
I recently created a new public github repo (https://github.com/CAFxX/decommit) but pkg.go.dev seems to be unable to access/parse it.
If I go to https://pkg.go.dev/github.com/CAFxX/decommit I get
Once I click on "request", I get almost immediately,
"github.com/CAFxX/decommit" could not be found.
:If I use
go get
it works:Even after running go get, pkgsite still says the same thing. So it seems that pkgsite is somehow choking on that repo.
The text was updated successfully, but these errors were encountered: