Project

General

Profile

Actions

Bug #980

closed

Key error when Leginon is launched through auto installation script

Added by Anchi Cheng over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Leginon subsystem
Start date:
10/29/2010
Due date:
% Done:

100%

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

Description

Traceback (most recent call last):
File "/Users/acheng/myami/leginon/gui/wx/SetupWizard.py", line 697, in onPageChanging
projectid = self.projectpage.getSelectedProjectId()
File "/Users/acheng/myami/leginon/gui/wx/SetupWizard.py", line 458, in getSelectedProjectId
return self.projects[project].dbid
KeyError: u''

Cause: The auto Leginon launch reaches the part to select project after project database is created but before the "demo" project is entered into the database. Leginon gui selected empty string as the project name and failed the part that finds project id.

The user clicked through the wizard quicker than the installation : )

Actions #1

Updated by Anchi Cheng over 13 years ago

  • Category set to Leginon subsystem
  • Assignee changed from Jim Pulokas to Anchi Cheng
  • % Done changed from 0 to 100

r14967 Jim added checkRequirements() function to print out the error and exit without Launch the Wizard.

Actions #2

Updated by Anchi Cheng over 13 years ago

  • Status changed from Assigned to Closed

I code-reviewed and tested.

merge start.py change in r14967 into branch 2.1 as r14968

Actions

Also available in: Atom PDF