Opened 7 years ago

Closed 7 years ago

#1151 closed defect (fixed)

pausing cursor over nucleotide ladder or stubs causes tracebacks

Reported by: Elaine Meng Owned by: Greg Couch
Priority: major Milestone:
Component: Depiction Version:
Keywords: Cc: Eric Pettersen
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

UCSF ChimeraX version: 0.7 (2018-06-03)

open 1bna
nuc stubs

... move cursor over structure, pause. "nuc ladder" has same problem, but "slab" and "tube/slab" seem OK.

Traceback (most recent call last):

File "/Users/meng/Desktop/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/ui/graphics.py", line 120, in _redraw_timer_callback

s.ui.mouse_modes.mouse_pause_tracking()

File "/Users/meng/Desktop/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/ui/mousemodes.py", line 278, in mouse_pause_tracking

self._mouse_pause()

File "/Users/meng/Desktop/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/ui/mousemodes.py", line 364, in _mouse_pause

m.pause(self._mouse_pause_position)

File "/Users/meng/Desktop/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/ui/mousemodes.py", line 839, in pause

pu.show_text(p.description(), (x+10,y))

File "/Users/meng/Desktop/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/ui/graphics.py", line 143, in show_text

self.setText(text)

TypeError: setText(self, str): argument 1 has unexpected type 'Residue'

TypeError: setText(self, str): argument 1 has unexpected type 'Residue'

File "/Users/meng/Desktop/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/ui/graphics.py", line 143, in show_text
self.setText(text)

Change History (1)

comment:1 by Eric Pettersen, 7 years ago

Component: UnassignedDepiction
Resolution: fixed
Status: assignedclosed

Fixed. In some case Nucleotides was passing in the residue as the balloon-help text, rather than the string representation of the residue.

Note: See TracTickets for help on using tickets.