Project

General

Profile

Actions

Bug #980

closed

Key error when Leginon is launched through auto installation script

Added by Anchi Cheng about 14 years ago. Updated about 14 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

Also available in: Atom PDF