Bug 1793077

Summary: Cannot execute puhoca-gui application, it crashes with error message "AttributeError: module 'wx' has no attribute 'TaskBarIcon'"
Product: [Fedora] Fedora Reporter: jean-luc.laborde
Component: pyhoca-guiAssignee: Orion Poplawski <orion>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 31CC: orion
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pyhoca-gui-0.6.1.1-1.fc30 pyhoca-gui-0.6.1.1-1.fc31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-01-31 01:13:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description jean-luc.laborde 2020-01-20 15:57:49 UTC
Description of problem:


Version-Release number of selected component (if applicable):
 python3-wx-siplib-4.19.19-1.fc31.x86_64
 python3-x2go-0.6.1.1-1.fc31.noarch
 nx-libs-3.5.99.20-2.fc31.x86_64
 libXcomp-3.5.99.20-2.fc31.x86_64 
 python3-bcrypt-3.1.6-3.fc31.x86_64
 nxproxy-3.5.99.20-2.fc31.x86_64
 python3-greenlet-0.4.14-3.fc31.x86_64
 python3-paramiko-2.6.0-2.fc31.noarch
 python3-pynacl-1.3.0-2.fc31.x86_64
 python3-setproctitle-1.1.10-14.fc31.x86_64
 python3-simplejson-3.16.0-3.fc31.x86_64
 python3-gevent-1.3.6-5.fc31.x86_64
 python3-xlib-0.23-5.fc31.noarch
 wxGTK3-3.0.4-10.fc31.x86_64
 wxGTK3-gl-3.0.4-10.fc31.x86_64
 python3-wxpython4-4.0.6-8.fc31.x86_64
 pyhoca-gui-0.5.1.0-1.fc31

How reproducible:
 Each time i run pyhoca-gui it happens

Steps to Reproduce:
1. open a shell 
2. run pyhoca-gui
3.

Actual results:
pyhoca-gui 
Traceback (most recent call last):
  File "/usr/bin/pyhoca-gui", line 39, in <module>
    from pyhoca.wxgui.launcher import PyHocaGUI_Launcher
  File "/usr/lib/python3.7/site-packages/pyhoca/wxgui/launcher.py", line 45, in <module>
    from .frontend import PyHocaGUI
  File "/usr/lib/python3.7/site-packages/pyhoca/wxgui/frontend.py", line 43, in <module>
    from . import taskbar
  File "/usr/lib/python3.7/site-packages/pyhoca/wxgui/taskbar.py", line 84, in <module>
    class PyHocaGUI_TaskBarIcon(wx.TaskBarIcon):
AttributeError: module 'wx' has no attribute 'TaskBarIcon'



Expected results:
  Open PyHoca window to connect to X2go server

Additional info:

Comment 1 Orion Poplawski 2020-01-21 03:34:45 UTC
Reported upstream - https://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=1361 but I have no idea what is going on.

Comment 2 Fedora Update System 2020-01-22 01:56:33 UTC
pyhoca-cli-0.6.1.2-1.fc30, pyhoca-gui-0.6.1.1-1.fc30, python-x2go-0.6.1.3-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-6f054357c9

Comment 3 jean-luc.laborde 2020-01-22 08:42:17 UTC
Hi, thanck you but i cannot install pyhoca-gui-0.6.1.1-1, i just activated Fedora 30 testing repository but dnf cannot find pyhoca-gui in it


[joanluc@localhost ~]$ sudo dnf install -vy pyhoca-cli-0.6.1.2-1.fc30 pyhoca-gui-0.6.1.1-1.fc30 python-x2go-0.6.1.3-1.fc30
Plugins chargés : builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync
DNF version: 4.2.17
cachedir: /var/cache/dnf
Valeur de configuration inconnue : failovermethod=priority dans /etc/yum.repos.d/fedora-updates-modular.repo; Configuration : OptionBinding ayant pour id « failovermethod » n’existe pas
Valeur de configuration inconnue : failovermethod=priority dans /etc/yum.repos.d/fedora-updates-modular.repo; Configuration : OptionBinding ayant pour id « failovermethod » n’existe pas
os-release: User-Agent constructed: libdnf (Fedora 31; workstation; Linux.x86_64)
dépôt : utilisation du cache pour : fedora-modular
fedora-modular : utilisation des métadonnées depuis le jeu. 24 oct. 2019 00:53:13 CEST.
dépôt : utilisation du cache pour : updates-modular
updates-modular : utilisation des métadonnées depuis le mer. 22 janv. 2020 02:52:50 CET.
dépôt : utilisation du cache pour : updates-testing
updates-testing : utilisation des métadonnées depuis le mar. 21 janv. 2020 04:48:24 CET.
dépôt : utilisation du cache pour : updates
updates : utilisation des métadonnées depuis le mar. 21 janv. 2020 02:02:46 CET.
dépôt : utilisation du cache pour : fedora
fedora : utilisation des métadonnées depuis le jeu. 24 oct. 2019 00:52:47 CEST.
dépôt : utilisation du cache pour : puppet-tools
puppet-tools : utilisation des métadonnées depuis le mer. 15 janv. 2020 00:32:15 CET.
dépôt : utilisation du cache pour : rpmfusion-free-updates
rpmfusion-free-updates : utilisation des métadonnées depuis le dim. 19 janv. 2020 13:35:34 CET.
dépôt : utilisation du cache pour : rpmfusion-free
rpmfusion-free : utilisation des métadonnées depuis le mar. 22 oct. 2019 12:21:36 CEST.
dépôt : utilisation du cache pour : rpmfusion-nonfree-updates
rpmfusion-nonfree-updates : utilisation des métadonnées depuis le dim. 19 janv. 2020 13:54:57 CET.
dépôt : utilisation du cache pour : rpmfusion-nonfree
rpmfusion-nonfree : utilisation des métadonnées depuis le mar. 22 oct. 2019 12:43:47 CEST.
dépôt : utilisation du cache pour : virtualbox
virtualbox : utilisation des métadonnées depuis le mar. 14 janv. 2020 19:47:49 CET.
Dernière vérification de l’expiration des métadonnées effectuée il y a 0:05:03 le mer. 22 janv. 2020 09:36:24 CET.
Completion plugin: Generating completion cache...
No match for argument: pyhoca-cli-0.6.1.2-1.fc30
No match for argument: pyhoca-gui-0.6.1.1-1.fc30
No match for argument: python-x2go-0.6.1.3-1.fc30
Erreur : Impossible de trouver une correspondance: pyhoca-cli-0.6.1.2-1.fc30 pyhoca-gui-0.6.1.1-1.fc30 python-x2go-0.6.1.3-1.fc30
[joanluc@localhost ~]$

Comment 4 Orion Poplawski 2020-01-22 14:04:16 UTC
Did you read the instructions for how to install test updates?  You'll need to enable the testing repo with "--enablerepo=updates-testing"

Comment 5 Orion Poplawski 2020-01-22 14:04:52 UTC
Also, it can take a while for all the mirrors to sync.

Comment 6 Fedora Update System 2020-01-23 03:04:04 UTC
FEDORA-2020-4c1395792e has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-4c1395792e

Comment 7 Fedora Update System 2020-01-25 08:18:17 UTC
pyhoca-cli-0.6.1.2-1.fc31, pyhoca-gui-0.6.1.1-1.fc31, python-x2go-0.6.1.3-1.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-4c1395792e

Comment 8 Fedora Update System 2020-01-31 01:13:06 UTC
pyhoca-cli-0.6.1.2-1.fc30, pyhoca-gui-0.6.1.1-1.fc30, python-x2go-0.6.1.3-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2020-02-02 01:34:30 UTC
pyhoca-cli-0.6.1.2-1.fc31, pyhoca-gui-0.6.1.1-1.fc31, python-x2go-0.6.1.3-1.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.