X2Go Bug report logs - #534
Windows: PyHoca-GUI fails to start (ImportError: No module named wx)

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: Michael DePaulo <mikedep333@gmail.com>

Date: Sat, 5 Jul 2014 13:50:02 UTC

Severity: normal

Tags: pending

Found in version

Fixed in version

Done: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

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#534: Windows: PyHoca-GUI fails to start (ImportError: No module named wx)
Reply-To: Michael DePaulo <mikedep333@gmail.com>, 534@bugs.x2go.org
Resent-From: Michael DePaulo <mikedep333@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, 05 Jul 2014 13:50:02 +0000
Resent-Message-ID: <handler.534.B.14045679851007@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 534
X-X2Go-PR-Package: pyhoca-gui
Received: via spool by submit@bugs.x2go.org id=B.14045679851007
          (code B); Sat, 05 Jul 2014 13:50:02 +0000
Received: (at submit) by bugs.x2go.org; 5 Jul 2014 13:46:25 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
	T_DKIM_INVALID autolearn=ham version=3.3.2
Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 0FFBB5DB1E
	for <submit@bugs.x2go.org>; Sat,  5 Jul 2014 15:46:25 +0200 (CEST)
Received: by mail-wi0-f175.google.com with SMTP id r20so14019279wiv.8
        for <submit@bugs.x2go.org>; Sat, 05 Jul 2014 06:46:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
MIME-Version: 1.0
X-Received: by with SMTP id bo15mr24046656wib.78.1404567984715;
 Sat, 05 Jul 2014 06:46:24 -0700 (PDT)
Received: by with HTTP; Sat, 5 Jul 2014 06:46:24 -0700 (PDT)
Date: Sat, 5 Jul 2014 09:46:24 -0400
Message-ID: <CAMKht8hdBmqHwbC6N-9WMGLkhhvNWjgLb8CV5SgpErw7_HX94w@mail.gmail.com>
From: Michael DePaulo <mikedep333@gmail.com>
To: submit@bugs.x2go.org
Content-Type: multipart/mixed; boundary=e89a8f3bab87cade3c04fd7277c0
[Message part 1 (text/plain, inline)]
package: pyhoca-gui

For some reason I cannot figure out, on my home desktop (Windows 8.1
with update 1 64-bit) I experience the error below when I try to
launch PyHoca-GUI in development mode.

I have not been able to testPyHoca-GUI in regular/installed mode due to #531.

Yet on the X2Go-WinBuilder VM (Windows 7 64-bit SP1,) which I am
almost certain I did the same exact setup work on (according to the
instructions immediately below), it does not have the problem. It
launches pyhoca-gui successfully.

I've attached a 1 line fix. I'd like to discuss it before I commit it.

From Msysgit 1.9.4-preview20140611 bash:

mike@EXECUTOR:/c/x2gobuilds/pyhoca-gui :) [95] $ which python
 mike@EXECUTOR:/c/x2gobuilds/pyhoca-gui :) [96] $ python --version
Python 2.7.8
 mike@EXECUTOR:/c/x2gobuilds/pyhoca-gui :( [97] $ ./pyhoca-gui
--start-xserver --lang=en
Traceback (most recent call last):
  File "./pyhoca-gui", line 33, in <module>
    from pyhoca.wxgui.launcher import PyHocaGUI_Launcher
  File "c:\x2gobuilds\pyhoca-gui\pyhoca\wxgui\launcher.py", line 45, in <module>
    import wx
ImportError: No module named wx
Exception KeyError: KeyError(32843536,) in <module 'threading' from
'c:\Python27\lib\threading.pyc'> ignored
 mike@EXECUTOR:/c/x2gobuilds/pyhoca-gui :( [98] $

From cmd.exe:

C:\x2gobuilds\pyhoca-gui>which python

C:\x2gobuilds\pyhoca-gui>python --version
Python 2.7.8

C:\x2gobuilds\pyhoca-gui>python ./pyhoca-gui --start-xserver --lang=en
Traceback (most recent call last):
  File "./pyhoca-gui", line 33, in <module>
    from pyhoca.wxgui.launcher import PyHocaGUI_Launcher
  File "C:\x2gobuilds\pyhoca-gui\pyhoca\wxgui\launcher.py", line 45, in <module>
    import wx
ImportError: No module named wx
Exception KeyError: KeyError(31671760,) in <module 'threading' from
'C:\Python27\lib\threading.pyc'> ignored

[fix-pyhoca-gui-windows-startup.patch (application/octet-stream, attachment)]

Send a report that this bug log contains spam.

X2Go Developers <owner@bugs.x2go.org>. Last modified: Sun Jul 21 13:29:08 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.