X2Go Bug report logs - #979
pyhoca-gui cannot display application menu on Debian Jessie

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: Sat, 9 Jan 2016 07:20:02 UTC

Severity: normal

Tags: pending

Found in version 0.5.0.4-0x2go1+git20150608.1318+jessie.main.1

Fixed in version 0.5.0.5

Done: X2Go Release Manager <git-admin@x2go.org>

Bug is archived. No further changes may be made.

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#979: pyhoca-gui cannot display application menu on Debian Jessie
Reply-To: Ondřej Grover <ondrej.grover@gmail.com>, 979@bugs.x2go.org
Resent-From: Ondřej Grover <ondrej.grover@gmail.com>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Sat, 09 Jan 2016 07:20:02 +0000
Resent-Message-ID: <handler.979.B.145232392924856@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 979
X-X2Go-PR-Package: pyhoca-gui
X-X2Go-PR-Keywords: 
Received: via spool by submit@bugs.x2go.org id=B.145232392924856
          (code B); Sat, 09 Jan 2016 07:20:02 +0000
Received: (at submit) by bugs.x2go.org; 9 Jan 2016 07:18:49 +0000
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.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
	HTML_MESSAGE,T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham version=3.3.2
Received: from mail-lf0-f47.google.com (mail-lf0-f47.google.com [209.85.215.47])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id AEF6B5DB15
	for <submit@bugs.x2go.org>; Sat,  9 Jan 2016 08:18:46 +0100 (CET)
Received: by mail-lf0-f47.google.com with SMTP id c192so189337255lfe.2
        for <submit@bugs.x2go.org>; Fri, 08 Jan 2016 23:18:46 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:from:date:message-id:subject:to:content-type;
        bh=OkxCbKUEccJhjD3xdMkLWahO7HVK9lN28XtTh1x3w1A=;
        b=cbcd7NS5JbiPXLShmDwdMlrtSVBYAhMW5ux3tRrEY6WaSca6xdUXd92MKGssRP5OoV
         UgxFd2ZPjE3KFJihTL2dG6lJlNr6w43gbRupIvTxGJhhSB+s+MCcbbQN8l9kX54r9VQm
         i5VT4fe2xu6k3sHDz7yV1wFLse+q0edwuUmW+RsvbyGYbYBBdnWKqWHqppmrvBvqOrMl
         xVgz7Sizare6WRmK2umCcxtL8EJB4Yz94LnnJyS9Zt7Pa0iVityr3QSwL82YBHvQupxN
         XKtVsxhkTTF3DpJNkRF7w/pOXeNUTwLbwSScaSJn8KPoaRU5AU5KUFALHwckAZBtcVJC
         qtYQ==
X-Received: by 10.25.43.20 with SMTP id r20mr21604306lfr.121.1452323925933;
 Fri, 08 Jan 2016 23:18:45 -0800 (PST)
MIME-Version: 1.0
Received: by 10.114.59.81 with HTTP; Fri, 8 Jan 2016 23:18:26 -0800 (PST)
From: Ondřej Grover <ondrej.grover@gmail.com>
Date: Sat, 9 Jan 2016 08:18:26 +0100
Message-ID: <CAOyjJOKFmjSVykqVxTSy74BQB6Dib6=3gL9mMijNCWPm_yOBAg@mail.gmail.com>
To: submit@bugs.x2go.org
Content-Type: multipart/alternative; boundary=001a114116bcb4436d0528e18362
[Message part 1 (text/plain, inline)]
Package: pyhoca-gui
Version: 0.5.0.4-0x2go1+git20150608.1318+jessie.main.1

Dear maintainers,

I installed the package pyhoca-gui from the X2Go Debian repositories (deb
http://packages.x2go.org/debian jessie main) on my Debian Jessie system.
When issuing a published applications session it connects and appears to
retrieve the application menu.

pyhoca-gui[21717] (x2gocontrolsession-pylib) NOTICE: querying server
(CENSORED) for list of published applications
pyhoca-gui[21717] (x2gocontrolsession-pylib) NOTICE: published applications
query for CENSORED finished, return menu tree

However, when I click the icon in systray, it throws an error in the
console (I ran it in a console to see log messages) and does not show
anything, but keeps running. Here is the full traceback:

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/pyhoca/wxgui/taskbar.py", line
153, in CreateSessionManagerPopupMenu
    self.menu_sessionmanager =
self.PopupMenu(menus_taskbar.PyHocaGUI_Menu_TaskbarSessionManager(self._PyHocaGUI,
caller=self,))
  File "/usr/lib/python2.7/dist-packages/pyhoca/wxgui/menus_taskbar.py",
line 1063, in __init__
    submenu=PyHocaGUI_Menu_TaskbarSessionProfile(self._PyHocaGUI,
caller=self, profile_name=profile_name))
  File "/usr/lib/python2.7/dist-packages/pyhoca/wxgui/menus_taskbar.py",
line 605, in __init__
    _category_map = _generate_Menu_PublishedApplications(self._PyHocaGUI,
caller=self, profile_name=profile_name,
session_name=_pubapp_session.get_session_name())
  File "/usr/lib/python2.7/dist-packages/pyhoca/wxgui/menus_taskbar.py",
line 499, in _generate_Menu_PublishedApplications
    _icon_bitmap = wx.BitmapFromImage(_icon_image.Scale(22,22))
  File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line
2916, in Scale
    return _core_.Image_Scale(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "IsOk()" failed at
../src/common/image.cpp(429) in Scale(): invalid image

The published applications session works well with the x2goclient, so the
server is not at fault here. I also tested this on a Linux Mint system
where I installed pyhoca-gui from the X2Go Ubuntu PPA and there it worked
well. Therefore, I conclude that this has something to do with the Debian
Jessie wxWidgets library. The versions I have installed:

libwxbase3.0-0:amd64 3.0.2-1+b1
libwxgtk3.0-0:amd64 3.0.2-1+b1
python-wxgtk
python-wxgtk2.8
python-wxgtk3.0 3.0.1.1+dfsg-2
python-wxversion 3.0.1.1+dfsg-2
python2.7-wxgtk3.0

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: Wed Dec 4 08:23:28 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.