Project

General

Profile

Actions

Bug #4270

open

schema_update.py FAILS to work

Added by Neil Voss about 8 years ago. Updated about 8 years ago.

Status:
Assigned
Priority:
Low
Assignee:
Category:
-
Target version:
-
Start date:
06/30/2016
Due date:
% Done:

0%

Estimated time:
Affected Version:
Appion/Leginon 3.2
Show in known bugs:
No
Workaround:

Description

connected to db 'projectdb' on server 'localhost'
SVN checkout revision is 19880
CUSTOM:   SELECT value FROM `install` WHERE `key`='revision' 
Database recorded revision is 18367
CUSTOM:   SELECT value FROM `install` WHERE `key`='version' 
SVN checkout revision is 19880
Traceback (most recent call last):
  File "./schema_update.py", line 13, in <module>
    schema_revisions = updatelib_inst.getBranchUpdateRevisionSequence()
  File "/home/appionuser/dbschema/updatelib.py", line 110, in getBranchUpdateRevisionSequence
    db_update_sequence = self.getUpdateRevisionSequence(self.db_branch)
  File "/home/appionuser/dbschema/updatelib.py", line 47, in getUpdateRevisionSequence
    raise "Unknown svn branch" 
TypeError: exceptions must be old-style classes or derived from BaseException, not str

Any ideas on why this is happening? This is for my docker with a fresh install of the latest CentOS 6, I tried myami beta, trunk, and 3.2 all give the same error.

Actions

Also available in: Atom PDF