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 0.5.0.0-preview

Fixed in version 0.5.0.0

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
X-X2Go-PR-Keywords: 
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
	ymir.das-netzwerkteam.de
X-Spam-Level: 
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 [209.85.212.175])
	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;
        h=mime-version:date:message-id:subject:from:to:content-type;
        bh=XYiZv6HpxuRdqeORn0kxI6yLJBlOqdQnyh5W0x+/LGg=;
        b=zgrxv5SPQLpJBgZZxbtAJB1ZQEPHACzT3avTZC0oZYRZm/pl4RKGLNTOUBb8gwwroF
         I7jFMebBClHzdSzRo3RQiLNwlE7Jffqzc3VJmOy0b7X63fN9wdVvrnVETMF9EUxsA1pQ
         6zVq+fDB7wv6RWS1Vm8GNHSDLMXt8to6fd0swhNXhiDg0eHgE2Am/45vf0g0DaOXwHzY
         79OCZbA1fDhJAeV43JABDA/AX4X5w04rNZCiD3U8qKnDdvQ8Fil2gmS7NkLXgyO4+yoY
         Br4hYT3O+phjuFmKwspw23Mqav7MwnB3o5HimerIpSRbSH0nT8b/mdnoUgq5CbxhJz3Z
         pnbQ==
MIME-Version: 1.0
X-Received: by 10.180.89.143 with SMTP id bo15mr24046656wib.78.1404567984715;
 Sat, 05 Jul 2014 06:46:24 -0700 (PDT)
Received: by 10.180.98.233 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
version: 0.5.0.0-preview

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.
http://wiki.x2go.org/doku.php/wiki:development:build-howto-mswin:pyhoca-gui

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
/c/Python27/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:\Python27\python.EXE

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

C:\x2gobuilds\pyhoca-gui>
[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: Thu Nov 21 15:33:11 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.