Opened 7 years ago
Closed 7 years ago
#1828 closed defect (duplicate)
2dlabels: Too many arguments to QFont() call
Reported by: | Owned by: | Tom Goddard | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Depiction | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
The following bug report has been submitted: Platform: Windows-10-10.0.17134 ChimeraX Version: 0.8 (2018-11-10) Description (Describe the actions that caused this problem to occur here) Log: Startup Messages --- note | Traceback (most recent call last): File "C:\Program Files\ChimeraX\bin\lib\site- packages\chimerax\core\toolshed\\\\__init__.py", line 338, in __init__ self.init_available_from_cache(logger) File "C:\Program Files\ChimeraX\bin\lib\site- packages\chimerax\core\toolshed\\\\__init__.py", line 445, in init_available_from_cache abc.load_from_cache() File "C:\Program Files\ChimeraX\bin\lib\site- packages\chimerax\core\toolshed\available.py", line 61, in load_from_cache b = _build_bundle(d) File "C:\Program Files\ChimeraX\bin\lib\site- packages\chimerax\core\toolshed\available.py", line 242, in _build_bundle keywords = _extract_extra_keywords(keywords) File "C:\Program Files\ChimeraX\bin\lib\site- packages\chimerax\core\toolshed\installed.py", line 270, in _extract_extra_keywords all_kwds = [k.strip() for k in kwds.split(',')] AttributeError: 'list' object has no attribute 'split' UCSF ChimeraX version: 0.8 (2018-11-10) How to cite UCSF ChimeraX > open 1ctq format mmCIF fromDatabase pdb 1ctq title: Structure of P21RAS In complex with gppnhp At 100 K [more info...] Chain information for 1ctq #1 --- Chain | Description A | protein (transforming protein P21/H-ras-1) > open 4q21 4q21 title: Molecular switch for signal transduction: structural differences between active and inactive forms of protooncogenic ras proteins [more info...] Chain information for 4q21 #2 --- Chain | Description A | C-H-ras P21 protein catalytic domain Expected a keyword Missing required "to_atoms" argument > align #1 toAtoms #2 Unequal number of atoms to pair, 1602 and 1447 > align #1 toAtoms #2 matchAtomNames true Pairing dropped 172 atoms and 17 reference atoms RMSD between 1430 atom pairs is 6.186 angstroms > view Missing or invalid "atoms" argument: invalid atoms specifier Missing or invalid "atoms" argument: invalid atoms specifier > delete :wat > delete :HOH > hide #!1.1 models > hide #!2.1 models > 2dlabels create title text 'Green Fluorescent Protein' An error occurred in drawing the scene. Redrawing graphics is now stopped to avoid a continuous stream of error messages. To restart graphics use the command "graphics restart" after changing the settings that caused the error. Traceback (most recent call last): File "C:\Program Files\ChimeraX\bin\lib\site- packages\chimerax\core\updateloop.py", line 72, in draw_new_frame view.draw(check_for_changes = False) File "C:\Program Files\ChimeraX\bin\lib\site- packages\chimerax\core\graphics\view.py", line 165, in draw draw_overlays(self._overlays, r) File "C:\Program Files\ChimeraX\bin\lib\site- packages\chimerax\core\graphics\drawing.py", line 1401, in draw_overlays _draw_multiple(drawings, r, Drawing.OPAQUE_DRAW_PASS) File "C:\Program Files\ChimeraX\bin\lib\site- packages\chimerax\core\graphics\drawing.py", line 1369, in _draw_multiple d.draw(renderer, draw_pass) File "C:\Program Files\ChimeraX\bin\lib\site- packages\chimerax\label\label2d.py", line 245, in draw if not self.update_drawing(): File "C:\Program Files\ChimeraX\bin\lib\site- packages\chimerax\label\label2d.py", line 262, in update_drawing bold = l.bold, italic = l.italic) File "C:\Program Files\ChimeraX\bin\lib\site- packages\chimerax\core\graphics\drawing.py", line 1987, in text_image_rgba f = QFont(font, size, weight=weight, italic=italic) # Size in points. TypeError: arguments did not match any overloaded call: QFont(): too many arguments QFont(str, pointSize: int = -1, weight: int = -1, italic: bool = False): argument 'italic' has unexpected type 'NoneType' QFont(QFont, QPaintDevice): argument 1 has unexpected type 'str' QFont(QFont): argument 1 has unexpected type 'str' QFont(Any): too many arguments > graphics restart An error occurred in drawing the scene. Redrawing graphics is now stopped to avoid a continuous stream of error messages. To restart graphics use the command "graphics restart" after changing the settings that caused the error. Traceback (most recent call last): File "C:\Program Files\ChimeraX\bin\lib\site- packages\chimerax\core\updateloop.py", line 72, in draw_new_frame view.draw(check_for_changes = False) File "C:\Program Files\ChimeraX\bin\lib\site- packages\chimerax\core\graphics\view.py", line 165, in draw draw_overlays(self._overlays, r) File "C:\Program Files\ChimeraX\bin\lib\site- packages\chimerax\core\graphics\drawing.py", line 1401, in draw_overlays _draw_multiple(drawings, r, Drawing.OPAQUE_DRAW_PASS) File "C:\Program Files\ChimeraX\bin\lib\site- packages\chimerax\core\graphics\drawing.py", line 1369, in _draw_multiple d.draw(renderer, draw_pass) File "C:\Program Files\ChimeraX\bin\lib\site- packages\chimerax\label\label2d.py", line 246, in draw self.resize() File "C:\Program Files\ChimeraX\bin\lib\site- packages\chimerax\label\label2d.py", line 294, in resize tw,th = self.texture_size TypeError: 'NoneType' object is not iterable OpenGL version: 3.3.0 - Build 22.20.16.4718 OpenGL renderer: Intel(R) HD Graphics 620 OpenGL vendor: Intel
Change History (2)
comment:1 by , 7 years ago
Component: | Unassigned → Depiction |
---|---|
Owner: | set to |
Platform: | → all |
Project: | → ChimeraX |
Status: | new → assigned |
Summary: | ChimeraX bug report submission → 2dlabels: Too many arguments to QFont() call |
comment:2 by , 7 years ago
Resolution: | → duplicate |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Duplicate. Fixed long ago.