Skip to content
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

Issue with update.py #153

Open
pbelmans opened this issue Dec 18, 2020 · 0 comments
Open

Issue with update.py #153

pbelmans opened this issue Dec 18, 2020 · 0 comments
Labels

Comments

@pbelmans
Copy link
Member

There is a logic issue with a not too common update scenario. A trivial workaround is to just start with a new database (similar to how one sometimes has to delete temporary files when compiling LaTeX), but having a fully functional update.py would of course be better. Let me quote Johan, describing the error:

First of all, I think the breakage came from either of the following two commits

stacks/stacks-project@09ab84a
stacks/stacks-project@411141e

Note how in the second of these two commits we moved a lemma to a
different file and we changed the tags/tags file to correspond to it
all at the same time. In the first we relabeled some lemmas and we
changed their corresponding lines in the tags file also in the same
commit.

I think there is something in the logic of "update.py" that doesn't
work when you do this. This kind of breakage has happened before and
indeed starting with a new/empty database file is the solution...

@pbelmans pbelmans added the bug label Dec 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant