Closed matthew-yates closed 1 year ago
Yes
Void 6.1.21_1 x86_64 GenuineIntel uptodate rrFFF
ReText-7.2.1_3
No response
ReText window should open.
Starting retext from the command line reveals an error in:
/usr/lib/python3.11/site-packages/ReText/window.py
It states an integer is expected in line 89, but a float is there instead. I edited line 89 from:
self.splitter.setSizes([self.width() / 5, self.width() * 4 / 5])
to:
self.splitter.setSizes([int(self.width() / 5), int(self.width() * 4 / 5)])
Not sure if that is the correct bug fix, but ReText opens as expected now after making that edit.
Confirmed, #43347 fixes this for me (fix was released in ReText 7.2.2).
Is this a new report?
Yes
System Info
Void 6.1.21_1 x86_64 GenuineIntel uptodate rrFFF
Package(s) Affected
ReText-7.2.1_3
Does a report exist for this bug with the project's home (upstream) and/or another distro?
No response
Expected behaviour
ReText window should open.
Actual behaviour
Starting retext from the command line reveals an error in:
/usr/lib/python3.11/site-packages/ReText/window.py
It states an integer is expected in line 89, but a float is there instead. I edited line 89 from:
self.splitter.setSizes([self.width() / 5, self.width() * 4 / 5])
to:
self.splitter.setSizes([int(self.width() / 5), int(self.width() * 4 / 5)])
Not sure if that is the correct bug fix, but ReText opens as expected now after making that edit.
Steps to reproduce