Actions
Bug #7576
closeddbschema update failed on new branch
Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
05/24/2019
Due date:
% Done:
0%
Estimated time:
Affected Version:
Appion/Leginon 3.4
Show in known bugs:
No
Workaround:
Description
Missing reset-revision for newer versions. This is using old code.
Branch name 'myami-3.4' Commit count is 21490 getDatabaseRevisionOLD() update schema table in database from legacy version getDatabaseRevisionOLD() new branch: reset revision Traceback (most recent call last): File "schema_update.py", line 14, in <module> updatelib_inst.checkSchemaInDatabase() File "/home/leginon/Downloads/myami-3.4/dbschema/updatelib.py", line 38, in checkSchemaInDatabase self.versionControlSchemaUpgrade() File "/home/leginon/Downloads/myami-3.4/dbschema/updatelib.py", line 46, in versionControlSchemaUpgrade last_revision = self.getBranchResetRevision(self.branch_name) File "/home/leginon/Downloads/myami-3.4/dbschema/updatelib.py", line 146, in getBranchResetRevision raise ValueError("Unknown branch name") ValueError: Unknown branch name
Actions