GNU bug report logs - #69278
offlate 0.6.1 crashes on TypeError (unexpected type float)

Previous Next

Package: guix;

Reported by: Marco Rimoldi <rimarko <at> libero.it>

Date: Mon, 19 Feb 2024 20:40:01 UTC

Severity: normal

To reply to this bug, email your comments to 69278 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#69278; Package guix. (Mon, 19 Feb 2024 20:40:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Marco Rimoldi <rimarko <at> libero.it>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 19 Feb 2024 20:40:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Marco Rimoldi <rimarko <at> libero.it>
To: bug-guix <at> gnu.org
Subject: offlate 0.6.1 crashes on TypeError (unexpected type float)
Date: Mon, 19 Feb 2024 21:39:22 +0100
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




This bug report was last modified 74 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.