offlate 0.6.1 crashes on TypeError (unexpected type float)

  • Open
  • quality assurance status badge
Details
One participant
  • Marco Rimoldi
Owner
unassigned
Submitted by
Marco Rimoldi
Severity
normal
M
M
Marco Rimoldi wrote on 19 Feb 21:39 +0100
(address . bug-guix@gnu.org)
20240219213922.42af2d71@libero.it
Hello,

I configured offlate on my system and it crashed after I tried to load the guix project. It's a bug related to this: https://github.com/python/cpython/issues/82180
but apparently it doesn't affect every system. Mine seems to be a magnet for it! Maybe there's amn element of chance due to desktop sizes? Anyway, here it is.

Traceback (most recent call last):
File "/gnu/store/v72mly6cn82n80lnp05ldqsfn830bxak-offlate-0.6.1/lib/python3.10/site-packages/offlate/ui/manager.py", line 248, in open
self.openProject(name)
File "/gnu/store/v72mly6cn82n80lnp05ldqsfn830bxak-offlate-0.6.1/lib/python3.10/site-packages/offlate/ui/manager.py", line 259, in openProject
self.editor.open(name)
File "/gnu/store/v72mly6cn82n80lnp05ldqsfn830bxak-offlate-0.6.1/lib/python3.10/site-packages/offlate/ui/editor.py", line 554, in open
tab = ProjectView(project,
File "/gnu/store/v72mly6cn82n80lnp05ldqsfn830bxak-offlate-0.6.1/lib/python3.10/site-packages/offlate/ui/editor.py", line 92, in __init__
self.initUI()
File "/gnu/store/v72mly6cn82n80lnp05ldqsfn830bxak-offlate-0.6.1/lib/python3.10/site-packages/offlate/ui/editor.py", line 180, in initUI
self.treeWidget.setColumnWidth(0, size.width()/2)
TypeError: setColumnWidth(self, column: int, width: int): argument 2 has unexpected type 'float'


---
Marco
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 69278@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 69278
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch