Opened 5 years ago

Closed 5 years ago

#3346 closed defect (can't reproduce)

config file is all nulls

Reported by: calogero.carlino28@… Owned by: Greg Couch
Priority: normal Milestone:
Component: Core Version:
Keywords: Cc: pett
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Windows-10-10.0.18362
ChimeraX Version: 0.92 (2020-03-08)
Description
(Describe the actions that caused this problem to occur here)

Log:
Traceback (most recent call last):  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\toolshed\info.py", line 621, in start_tool  
ti = api._api_caller.start_tool(api, session, self, tool_info)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\toolshed\\__init__.py", line 1612, in start_tool  
return cls._get_func(api, "start_tool")(session, ti.name)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\model_panel\\__init__.py", line 21, in start_tool  
return model_panel(session, tool_name)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\model_panel\tool.py", line 345, in model_panel  
_mp = ModelPanel(session, tool_name)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\model_panel\tool.py", line 26, in __init__  
self.settings = ModelPanelSettings(session, "ModelPanel")  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\settings.py", line 165, in __init__  
ConfigFile.__init__(self, session, tool_name, version=version)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\configfile.py", line 289, in __init__  
self._config.read(self._filename)  
File "C:\Program Files\ChimeraX\bin\lib\configparser.py", line 696, in read  
self._read(fp, filename)  
File "C:\Program Files\ChimeraX\bin\lib\configparser.py", line 1079, in _read  
raise MissingSectionHeaderError(fpname, lineno, line)  
configparser.MissingSectionHeaderError: File contains no section headers.  
file: 'C:\\\Users\\\calog\\\AppData\\\Local\\\UCSF\\\ChimeraX\\\ModelPanel-1',
line: 1  
'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'  
  
During handling of the above exception, another exception occurred:  
  
Traceback (most recent call last):  
File "C:\Program Files\ChimeraX\bin\lib\site-packages\chimerax\core\tools.py",
line 426, in start_tools  
bi.start_tool(session, tool_name)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\toolshed\info.py", line 627, in start_tool  
"start_tool() failed for tool %s in bundle %s:\n%s" % (tool_name, self.name,
str(e)))  
chimerax.core.toolshed.ToolshedError: start_tool() failed for tool Model Panel
in bundle ChimeraX-ModelPanel:  
File contains no section headers.  
file: 'C:\\\Users\\\calog\\\AppData\\\Local\\\UCSF\\\ChimeraX\\\ModelPanel-1',
line: 1  
'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'  
  
Tool "Model Panel" failed to start:  
chimerax.core.toolshed.ToolshedError: start_tool() failed for tool Model Panel
in bundle ChimeraX-ModelPanel:  
File contains no section headers.  
file: 'C:\\\Users\\\calog\\\AppData\\\Local\\\UCSF\\\ChimeraX\\\ModelPanel-1',
line: 1  
'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'  
  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\toolshed\info.py", line 627, in start_tool  
"start_tool() failed for tool %s in bundle %s:\n%s" % (tool_name, self.name,
str(e)))  
  
See log for complete Python traceback.  
  
UCSF ChimeraX version: 0.92 (2020-03-08)  
© 2016-2020 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  




OpenGL version: 3.3.0 NVIDIA 432.00
OpenGL renderer: GeForce GTX 1080/PCIe/SSE2
OpenGL vendor: NVIDIA Corporation

Change History (2)

comment:1 by pett, 5 years ago

Cc: pett added
Component: UnassignedCore
Owner: set to Greg Couch
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionconfig file is all nulls

comment:2 by Greg Couch, 5 years ago

Resolution: can't reproduce
Status: assignedclosed

Not sure why this happened. But you recover by deleting C:\Users\calog\AppData\Local\UCSF\ChimeraX\ModelPanel-1 file.

If you can reproduce this bug, please let us know how. There is a chance that this is fixed in the ChimeraX 1.0 release candidate. So after trying to reproduce the bug, please update ChimeraX.

Note: See TracTickets for help on using tickets.