Project

General

Profile

Actions

Bug #7576

closed

dbschema update failed on new branch

Added by Anchi Cheng over 5 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
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 #1

Updated by Anchi Cheng about 4 years ago

  • Status changed from New to Closed

tested

Actions

Also available in: Atom PDF