-
Notifications
You must be signed in to change notification settings - Fork 18k
x/pkgsite/cmd/pkgsite: panic for "multiple registrations" when running locally #64903
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
Comments
I tried to reproduce this locally with no avail. Maybe the true error is Can you try running |
I can reproduce it, and it does appear to be related to the go sdk since |
I can't reproduce this. @seankhliao did you do anything special to reproduce? |
If it's relevant, I'm using Nix-provided Go. The exact derivation I'm using is https://github.com/zombiezen/dotfiles/tree/106d749fa46359bb089db06003f736e7cda521c5/nix nix build 'github:zombiezen/dotfiles/106d749fa46359bb089db06003f736e7cda521c5?dir=nix#pkgsite' |
Hm I'm not familiar with nix. I guess it's possible that the version of go you're using could affect things but I'm not exactly sure how. |
I think it's when
|
Change https://go.dev/cl/554195 mentions this issue: |
I sent CL 554195 to fix the behavior with |
Apply https://go.dev/cl/554195 to work around golang/go#64903
I've patched in your CL and this does indeed fix the issue. Thank you! |
IIUC from #49212,
godoc
is deprecated and I should be runningpkgsite
locally. I'm having trouble getting it to serve docs from a local project and seeing symptoms similar to #53323, but that issue has long since been fixed.What did you do?
What did you expect to see?
2023/12/30 09:30:21 Info: Listening on addr http://localhost:8080
What did you see instead?
Additional context
pkgsite was built with commit golang/pkgsite@475d4c5.
The text was updated successfully, but these errors were encountered: