Closed SuzanneSoy closed 7 years ago
A quick update on this issue:
After trying to add the version exception in the old pkgs.racket-lang.org interface, and refreshing the page, the version exception disappeared.
After a few attempts, the version exception seemed to be taken into account (it showed up on the new interface at least, not sure about the old interface).
However, I got this error message when installing the package on that Racket version:
raco pkg install: cannot use empty checksum for Git repostory package source
source: https://github.com/jsmaniac/hyper-literate.git#ae152d4ab9058a77128cad7c7aab839b99f3f5d9
Here's the full (short) Travis log for the build which failed with that error:
A second update:
My hyper-literate
package was constantly marked as "modified since the package index was last rebuilt", at each rebuild.
As a last resort, I tried removing the package altogether from the catalog, and re-adding it. It is now listed on pkgn.racket-lang.org, but does not seem to be part of the catalog, and is still constantly marked as "modified since the package index was last rebuilt":
raco pkg install: cannot find package on catalogs
package: hyper-literate
A lot of my packages depend on this one, what can I do about this (aside from using a new name?).
Hi @jsmaniac, I'm looking into this now.
I'm sorry for the problems, @jsmaniac. I suspect that what must have happened is that the error adding the version led to a "locally modified" record being maintained by the system that then got out of sync with the backend version when it was directly modified by the old UI. I suspect that if the version-adding problem hadn't arisen, we would not have seen concurrent conflicting modifications arise.
The actions for me are:
For now, lacking time, I have restarted the frontend server, which should flush the broken transient state and revert to the permanent information in the package database. This should let you do what you need to do.
I will leave this bug report open. If anything else goes wrong, please add more information here or to a new issue. Thanks, and sorry not to have a solid fix available yet!
@tonyg Thanks a lot for looking into this issue! Concurrency problems are definitely the worst :) .
There still seems to be some issues with package creation though:
raco pkg install aful
says raco pkg install: cannot find package on catalogs
, and the frontend keeps showing the This package has been modified since the package index was last rebuilt.
box).Sorry about the trouble.
@jsmaniac Thanks again, that's good stuff. I will be taking a more detailed look at these and other issues with the package catalog system today.
@tonyg Thanks a lot, everything seems to be fixed now!
@jsmaniac, Please try adding your version exception again. It should work now. Thanks!
@tonyg It worked, thanks for the fix!
I tried to add a version to one of my packages, and got this error message when I clicked on "Save changes". The version was not added.