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 0.5.0.5-0x2go1+git20160128.1329+jessie.main.1

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
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=0.7 required=3.0 tests=BAYES_50,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,URIBL_BLOCKED
	autolearn=ham version=3.3.2
Received: from localhost (localhost [127.0.0.1])
	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 ([127.0.0.1])
	by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (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 [209.85.217.172])
	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;
        h=mime-version:in-reply-to:references:from:date:message-id:subject:to
         :cc:content-type;
        bh=mSDBNbPXNlNnVj8dJqspGELps1WyJAv0+rYjd6n1OfM=;
        b=WRFdNuiYBw/JuvBomvuniYxOJCcNXup9cp1iYRxqWJPQfiOP+Cs4X7p6VzKeX7xWCB
         gCFZRDlfjG+QZnf2S4EtNPDC3DE3yCzVAS2zGpNQp+1IQj74JoYS1fnZ8qhS6cvY+50l
         1UXuQgAaAxj04ygqjks0kx9hthhOviPD5MBQP84qIwKblMuKjN54coaVVQWhw9EBGHg7
         1oND/aES0kGwqxh4qw1+rvhiL8DjRaWE4d29RcnaXiG/r+Ppo9f3I6GTP3oRndZlMbmW
         XwbJ3JWr3p6asvEPqj2214Xr+dg9aKUj/jh/MWYewMO9XQjk8xUMp8x3FvXvtAhXvJpw
         HoRA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:mime-version:in-reply-to:references:from:date
         :message-id:subject:to:cc:content-type;
        bh=mSDBNbPXNlNnVj8dJqspGELps1WyJAv0+rYjd6n1OfM=;
        b=DCNO1hU/EKeqgY8nyY+EwaF1mot/GrcVG09hq8sdGZb/EeukkxackXyqkLybZnUQ63
         L+CAjm2hNWQf7hc27HQjp18C7Dr0NwqEQKJj4+PqtEXIMcEr8d2VZw6xSbt39LloXBXP
         jSEYl7YN9FMHTFF364yX3OQEyeUnQh2DoThsTS3SDaVrCX+iVKGTbRrqLKjVSgV8FL/k
         7/A7mSrf9wfUd5OEagz7vrYcQBObXTe0ZZb9Lj9gwoYVuCHhlTgGg7D+kCUdNT++TM7q
         U3jRlE/HtEL3FnAMskmEZRDQb/VFCeXxk9akSAmfaYEUZSWz55Pu1S9yMPj7WNnA34pM
         ScZg==
X-Gm-Message-State: AG10YOTRuDOvDAe89/u5Ta6P06Aw+HNFcsTfnRMfoxrkgDNF1kGwrksbPSOTZXUesg6Q4BLPyRYH11cH+fhLOw==
X-Received: by 10.112.198.197 with SMTP id je5mr4073681lbc.23.1454605657066;
 Thu, 04 Feb 2016 09:07:37 -0800 (PST)
MIME-Version: 1.0
Received: by 10.114.24.202 with HTTP; Thu, 4 Feb 2016 09:07:17 -0800 (PST)
In-Reply-To: <56B38113.70103@ionic.de>
References: <CAOyjJOKY4VpqcqKJ2St58tepAgKipgdc=TeGJtgsFpZf5qccdA@mail.gmail.com>
 <56B38113.70103@ionic.de>
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: Thu Mar 28 16:35:12 2024; 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.