Package: phoca-gui Version: 0.2.1.1
$ pyhoca-gui Traceback (most recent call last): File "/usr/bin/pyhoca-gui", line 375, in <module> main() File "/usr/bin/pyhoca-gui", line 363, in main thisPyHocaGUI = PyHocaGUI(args, logger, liblogger, appname=PROG_NAME, version=VERSION) File "/usr/lib/python2.7/site-packages/pyhoca/wxgui/frontend.py", line 222, in __init__ wx.App.__init__(self, redirect=False, clearSigInt=False) File "/usr/lib64/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7981, in __init__ self._BootstrapApp() File "/usr/lib64/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7555, in _BootstrapApp return _core_.PyApp__BootstrapApp(*args, **kwargs) File "/usr/lib/python2.7/site-packages/pyhoca/wxgui/frontend.py", line 243, in OnInit self.startGUI() File "/usr/lib/python2.7/site-packages/pyhoca/wxgui/frontend.py", line 299, in startGUI self.about = about.PyHocaGUI_AboutFrame(self, about_image=self.args.about_image) File "/usr/lib/python2.7/site-packages/pyhoca/wxgui/about.py", line 88, in __init__ about_wximage.Rescale(400, int(float(400)/about_wximage.Width*about_wximage.Height)) ZeroDivisionError: float division by zero
-- Orion Poplawski Technical Manager 303-415-9701 x222 NWRA, Boulder Office FAX: 303-415-9702 3380 Mitchell Lane orion@nwra.com Boulder, CO 80301 http://www.nwra.com
tag #92 moreinfo thanks
On Di 18 Dez 2012 18:03:17 CET Orion Poplawski wrote:
Hi Orion
$ pyhoca-gui Traceback (most recent call last): File "/usr/bin/pyhoca-gui", line 375, in <module> main() File "/usr/bin/pyhoca-gui", line 363, in main thisPyHocaGUI = PyHocaGUI(args, logger, liblogger,
appname=PROG_NAME, version=VERSION) File "/usr/lib/python2.7/site-packages/pyhoca/wxgui/frontend.py",
line 222, in __init__ wx.App.__init__(self, redirect=False, clearSigInt=False) File "/usr/lib64/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7981, in __init__ self._BootstrapApp() File "/usr/lib64/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7555, in _BootstrapApp return _core_.PyApp__BootstrapApp(*args, **kwargs) File "/usr/lib/python2.7/site-packages/pyhoca/wxgui/frontend.py",
line 243, in OnInit self.startGUI() File "/usr/lib/python2.7/site-packages/pyhoca/wxgui/frontend.py",
line 299, in startGUI self.about = about.PyHocaGUI_AboutFrame(self,
about_image=self.args.about_image) File "/usr/lib/python2.7/site-packages/pyhoca/wxgui/about.py", line 88, in __init__ about_wximage.Rescale(400,
int(float(400)/about_wximage.Width*about_wximage.Height)) ZeroDivisionError: float division by zero
It seems very likely that your pyhoca-gui instance does not find the
image folder shipped with it.
Can you check that?
Greets, Mike
--
DAS-NETZWERKTEAM mike gabriel, rothenstein 5, 24214 neudorf-bornstein fon: +49 (1520) 1976 148
GnuPG Key ID 0x25771B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...
On 12/18/2012 01:57 PM, Mike Gabriel wrote:
It seems very likely that your pyhoca-gui instance does not find the image folder shipped with it.
Can you check that?
Ah, it seems setup.py doesn't do everything it needs to. The attached patch I think does what is needed for the most part. Doesn't handle the debian links file though.
Other notes:
Finally, I seem to be able to connect to the server properly, but no window ever appears, and no errors.
Seems to be stuck in this loop:
pyhoca-gui[15357] (x2goguardian-pylib) DEBUG: Entering X2Go Guardian client management loop... pyhoca-gui[15357] (x2gocontrolsession-pylib) INFO: executing command on X2Go server ,,Vulcan'': sh -c "export HOSTNAME && x2golistsessions" pyhoca-gui[15357] (x2gocontrolsession-pylib) INFO: executing command on X2Go server ,,Vulcan'': sh -c "export HOSTNAME && x2golistmounts orion-51-1355520763_stDXFCE_dp24"
[orion@vulcan ~]$ sh -c "export HOSTNAME && x2golistmounts orion-51-1355520763_stDXFCE_dp24" orion orion
[orion@vulcan ~]$
-- Orion Poplawski Technical Manager 303-415-9701 x222 NWRA, Boulder Office FAX: 303-415-9702 3380 Mitchell Lane orion@nwra.com Boulder, CO 80301 http://www.nwra.com
retitle #92 Install icons, images, man page and desktop files through setup.py tag #92 pending thanks
Hi Orion,
On Di 18 Dez 2012 23:22:20 CET Orion Poplawski wrote:
On 12/18/2012 01:57 PM, Mike Gabriel wrote:
It seems very likely that your pyhoca-gui instance does not find the image folder shipped with it.
Can you check that?
Ah, it seems setup.py doesn't do everything it needs to. The
attached patch I think does what is needed for the most part.
Doesn't handle the debian links file though.
I have added two commits for that to X2Go Git, can you cross-check that?
First one (unfortunately a dirty commit, see at the botton): http://code.x2go.org/gitweb?p=pyhoca-gui.git;a=commitdiff;h=51c52fb1b0d3f94c...
Then for the symlinks: http://code.x2go.org/gitweb?p=pyhoca-gui.git;a=commitdiff;h=052916c4ea0d523a...
Other notes:
- Categories in pyhoca-gui.desktop needs a trailing semicolon.
Done! http://code.x2go.org/gitweb?p=pyhoca-gui.git;a=commitdiff;h=1a1ab1dbd055d31e...
- There is /usr/bin/env python at the top of
pyhoca/wxgui/messages.py, but I imagine that file isn't meant to be
executed directly.
Done! http://code.x2go.org/gitweb?p=pyhoca-gui.git;a=commitdiff;h=6cdc40a31c8ca51a...
Finally, I seem to be able to connect to the server properly, but no
window ever appears, and no errors.
I will answer that off-BTS as it is not part of this bug report, actually.
Greets, Mike
--
DAS-NETZWERKTEAM mike gabriel, rothenstein 5, 24214 neudorf-bornstein fon: +49 (1520) 1976 148
GnuPG Key ID 0x25771B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...