X2Go Bug report logs - #989
pyhoca-gui fails to fall back to Gtk-2.0 notifications (pynotify)

version graph

Package: pyhoca-gui; Maintainer for pyhoca-gui is X2Go Developers <x2go-dev@lists.x2go.org>; Source for pyhoca-gui is src:pyhoca-gui.

Reported by: Ondřej Grover <ondrej.grover@gmail.com>

Date: Sun, 31 Jan 2016 08:05:02 UTC

Severity: normal

Found in version

Full log

Message #15 received at 989@bugs.x2go.org (full text, mbox, reply):

Received: (at 989) by bugs.x2go.org; 4 Feb 2016 17:07:50 +0000
From ondrej.grover@gmail.com  Thu Feb  4 18:07:49 2016
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
X-Spam-Status: No, score=0.7 required=3.0 tests=BAYES_50,DKIM_SIGNED,
	autolearn=ham version=3.3.2
Received: from localhost (localhost [])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id CD8F55DA90
	for <989@bugs.x2go.org>; Thu,  4 Feb 2016 18:07:48 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de
Received: from ymir.das-netzwerkteam.de ([])
	by localhost (ymir.das-netzwerkteam.de []) (amavisd-new, port 10024)
	with ESMTP id XFyBnaW44waY for <989@bugs.x2go.org>;
	Thu,  4 Feb 2016 18:07:37 +0100 (CET)
Received: from mail-lb0-f172.google.com (mail-lb0-f172.google.com [])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 800A75DA86
	for <989@bugs.x2go.org>; Thu,  4 Feb 2016 18:07:37 +0100 (CET)
Received: by mail-lb0-f172.google.com with SMTP id dx2so35066023lbd.3
        for <989@bugs.x2go.org>; Thu, 04 Feb 2016 09:07:37 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
X-Gm-Message-State: AG10YOTRuDOvDAe89/u5Ta6P06Aw+HNFcsTfnRMfoxrkgDNF1kGwrksbPSOTZXUesg6Q4BLPyRYH11cH+fhLOw==
X-Received: by with SMTP id je5mr4073681lbc.23.1454605657066;
 Thu, 04 Feb 2016 09:07:37 -0800 (PST)
MIME-Version: 1.0
Received: by with HTTP; Thu, 4 Feb 2016 09:07:17 -0800 (PST)
In-Reply-To: <56B38113.70103@ionic.de>
References: <CAOyjJOKY4VpqcqKJ2St58tepAgKipgdc=TeGJtgsFpZf5qccdA@mail.gmail.com>
From: Ondřej Grover <ondrej.grover@gmail.com>
Date: Thu, 4 Feb 2016 18:07:17 +0100
Message-ID: <CAOyjJOKCw0QkwfB45NmUaSNkoYeeOygfsS3xY=BFpZdtgeYjEA@mail.gmail.com>
Subject: Re: [X2Go-Dev] Bug#989: pyhoca-gui fails to fall back to Gtk-2.0
 notifications (pynotify)
To: Mihai Moldovan <ionic@ionic.de>
Cc: 989@bugs.x2go.org
Content-Type: multipart/alternative; boundary=001a11c238be7a5354052af4c580
[Message part 1 (text/plain, inline)]
Thank you for looking into this.

On Thu, Feb 4, 2016 at 5:49 PM, Mihai Moldovan <ionic@ionic.de> wrote:
> I've been looking around for a way to actually rollback a failing module
> import
> and came up with zit.
AFAIK that's not really possible in Python as of writing this, especially
with complicated binary modules.
I think a solution might be to abandon the common Python EAFP idiom,
because it assumes graceful failure without such ugly side-effects.
However, I'm not sure what the LBYL alternative is in this case. But I
think there should be one, possibly loading just some high-level gi module
to list available APIs?

Kind regards,
Ondřej Grover
[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.

X2Go Developers <owner@bugs.x2go.org>. Last modified: Sun Jun 11 00:03:27 2023; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.