unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Marco Rimoldi <rimarko@libero.it>
To: 69278@debbugs.gnu.org
Subject: bug#69278: offlate 0.6.1 crashes on TypeError (unexpected type float)
Date: Mon, 19 Feb 2024 21:39:22 +0100	[thread overview]
Message-ID: <20240219213922.42af2d71@libero.it> (raw)

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




                 reply	other threads:[~2024-02-19 20:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240219213922.42af2d71@libero.it \
    --to=rimarko@libero.it \
    --cc=69278@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).