Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#2434 closed defect (duplicate)

ImportError: cannot import name 'FileNameArg' from 'chimerax.core.commands'

Reported by: ubaumann@… Owned by: Greg Couch
Priority: normal Milestone:
Component: Input/Output Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Darwin-18.7.0-x86_64-i386-64bit
ChimeraX Version: 0.91 (2019-09-20)
Description
I have renumbered amino acids in Coot and tried to read the renumbered file into ChimeraX. Exactly the same happens when trying to read the original file downloaded from the PDB.

Log:
UCSF ChimeraX version: 0.91 (2019-09-20)  
© 2016-2019 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  
Traceback (most recent call last):  
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/ui/gui.py", line 587, in _qt_safe  
from chimerax.core.commands import run, FileNameArg  
ImportError: cannot import name 'FileNameArg' from 'chimerax.core.commands'
(/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/commands/__init__.py)  
  
ImportError: cannot import name 'FileNameArg' from 'chimerax.core.commands'
(/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/commands/__init__.py)  
  
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/ui/gui.py", line 587, in _qt_safe  
from chimerax.core.commands import run, FileNameArg  
  
See log for complete Python traceback.  
  
Traceback (most recent call last):  
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/ui/gui.py", line 587, in _qt_safe  
from chimerax.core.commands import run, FileNameArg  
ImportError: cannot import name 'FileNameArg' from 'chimerax.core.commands'
(/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/commands/__init__.py)  
  
ImportError: cannot import name 'FileNameArg' from 'chimerax.core.commands'
(/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/commands/__init__.py)  
  
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/ui/gui.py", line 587, in _qt_safe  
from chimerax.core.commands import run, FileNameArg  
  
See log for complete Python traceback.  
  
Traceback (most recent call last):  
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/ui/gui.py", line 587, in _qt_safe  
from chimerax.core.commands import run, FileNameArg  
ImportError: cannot import name 'FileNameArg' from 'chimerax.core.commands'
(/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/commands/__init__.py)  
  
ImportError: cannot import name 'FileNameArg' from 'chimerax.core.commands'
(/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/commands/__init__.py)  
  
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/ui/gui.py", line 587, in _qt_safe  
from chimerax.core.commands import run, FileNameArg  
  
See log for complete Python traceback.  
  




OpenGL version: 4.1 ATI-2.11.20
OpenGL renderer: AMD Radeon Pro 560 OpenGL Engine
OpenGL vendor: ATI Technologies Inc.

Change History (3)

comment:1 by Eric Pettersen, 6 years ago

Component: UnassignedInput/Output
Owner: set to Greg Couch
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionImportError: cannot import name 'FileNameArg' from 'chimerax.core.commands'

comment:2 by Eric Pettersen, 6 years ago

Resolution: duplicate
Status: assignedclosed

Hi Ulrich,

Thanks for reporting this problem. It is fixed in the current daily build, so please download that. Sorry for the trouble.

--Eric

Eric Pettersen
UCSF Computer Graphics Lab

in reply to:  3 ; comment:3 by ubaumann@…, 6 years ago

Thanks for the swift reply and fix! I really appresicate it!


Cheers
Ulrich




  Prof. Ulrich BaumannInstitute of Biochemistry, University of Cologne
Zülpicherstrasse 47
 D-50674 Cologne, Germany
voice ++49-221-470-3208
fax     ++49-221-470-5066



Note: See TracTickets for help on using tickets.