When I start runsnake with
$ runsnake test.profile
the window opens, but with no graphics and no source code (only the list of calls, etc. is present). On the console, I see the following error message:
11:18:17: Debug: Adding duplicate image handler for 'PNG file'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/wx/core.py", line 3282, in <lambda>
lambda event: event.callable(*event.args, **event.kw) )
File "/usr/lib/python3/dist-packages/runsnakerun/runsnake.py", line 701, in load
self.SetModel(self.loader)
File "/usr/lib/python3/dist-packages/runsnakerun/runsnake.py", line 738, in SetModel
self.squareMap.SetModel(tree, self.adapter)
File "/usr/lib/python3/dist-packages/squaremap/squaremap.py", line 221, in SetModel
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'
I installed runsnake using
sudo apt-get install runsnake
The versions of the dependencies are, according to pip list
:
RunSnakeRun 2.0.5
SquareMap 1.0.5
wxPython 4.0.7
My system is
PRETTY_NAME="Ubuntu 22.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.1 LTS (Jammy Jellyfish)"
from runsnake fails in ubuntu with error in squaremap
No comments:
Post a Comment