Project

General

Profile

Actions

Bug #783

closed

schema-r14077.py gives an error message when no appion database is not assigned

Added by Anchi Cheng over 14 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Eric Hou
Category:
-
Target version:
Start date:
07/27/2010
Due date:
% Done:

100%

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

Description

'None' has no attribute dbid in the line 209
admingroupid = adminuser0['group'].dbid

Have no consequence to the upgrade , just confuses the person who does the upgrading.

Actions #1

Updated by Anchi Cheng over 14 years ago

create alternative path when no appiondbname is found. Revision r14565

Actions #2

Updated by Anchi Cheng over 14 years ago

  • Status changed from Assigned to In Code Review
  • Assignee changed from Anchi Cheng to Amber Herold
  • % Done changed from 0 to 100

Testing:
1. Can test with the same database used for testing bug #783.
2. Empty project.processingdb before running dbschema-r14077.py
3. It should not complain but just say that
!!! WARNING: could not find appion db name for project 1

Actions #3

Updated by Amber Herold over 14 years ago

  • Assignee changed from Amber Herold to Anchi Cheng

logic error, need to replace the not in front of the db check

Actions #4

Updated by Anchi Cheng over 14 years ago

  • Assignee changed from Anchi Cheng to Amber Herold

fix it logic error with r14688

Actions #5

Updated by Amber Herold over 14 years ago

  • Status changed from In Code Review to In Test
Actions #6

Updated by Amber Herold over 14 years ago

  • Assignee changed from Amber Herold to Eric Hou
Actions #7

Updated by Eric Hou about 14 years ago

  • Status changed from In Test to Closed
Actions

Also available in: Atom PDF