Tree map fails to display

Bug #1999150 reported by Dave Jones
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
runsnakerun (Ubuntu)
New
Undecided
Unassigned
squaremap (Ubuntu)
New
Undecided
Unassigned

Bug Description

The tree-map display of the profile shows nothing under jammy. The following output appears on the console:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/runsnakerun/runsnake.py", line 633, in OnSquareHighlightedList
    self.squareMap.SetHighlight(event.node, propagate=False)
  File "/usr/lib/python3/dist-packages/squaremap/squaremap.py", line 212, in SetHighlight
    self.UpdateDrawing()
  File "/usr/lib/python3/dist-packages/squaremap/squaremap.py", line 247, in UpdateDrawing
    self.Draw(dc)
  File "/usr/lib/python3/dist-packages/squaremap/squaremap.py", line 257, in Draw
    font = self.FontForLabels(dc)
  File "/usr/lib/python3/dist-packages/squaremap/squaremap.py", line 267, in FontForLabels
    font.SetPointSize(scale * font.GetPointSize())
TypeError: Font.SetPointSize(): argument 1 has unexpected type 'float'

Unfortunately, the tree-map is one of the major features of runsnakerun. This appears to be a regression in squaremap under a later wxgtk build, but whilst the Font.SetPointSize regression is easily patchable that then leads to a bunch of other failures.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.