Project

General

Profile

Actions

Bug #13212

closed

failed os.getuid prevents leginon session creation

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

Status:
Closed
Priority:
Urgent
Assignee:
Category:
-
Target version:
Start date:
08/03/2022
Due date:
% Done:

0%

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

Description

When starting leginon session on windows:

   Traceback (most recent call last):
      File "C:\Python27\lib\site-packages\leginon\gui\wx\SetupWizard.py", line 896, in onPageChanging
        directory)
      File "C:\Python27\lib\site-packages\leginon\gui\wx\SetupWizard.py", line 1126, in createSession
        return leginon.session.createSession(user, name, description, directory, holder=None, hidden=False)
      File "C:\Python27\lib\site-packages\leginon\session.py", line 146, in createSession
        'uid': os.getuid(),
    AttributeError: 'module' object has no attribute 'getuid'

Actions

Also available in: Atom PDF