From unknown Thu May 07 19:28:51 2026
X-Loop: git-admin@x2go.org
Subject: Bug#92: ZeroDivisionError: float division by zero error on startup
Reply-To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 92@bugs.x2go.org
Resent-From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Resent-To: x2go-dev@lists.berlios.de
Resent-CC: git-admin@x2go.org
X-Loop: git-admin@x2go.org
Resent-Date: Tue, 18 Dec 2012 21:03:01 +0000
Resent-Message-ID: <handler.92.B92.135586425131677@bugs.x2go.org>
Resent-Sender: git-admin@x2go.org
X-X2Go-PR-Message: followup 92
X-X2Go-PR-Package: phoca-gui
X-X2Go-PR-Keywords: 
Received: via spool by 92-submit@bugs.x2go.org id=B92.135586425131677
          (code B ref 92); Tue, 18 Dec 2012 21:03:01 +0000
Received: (at 92) by bugs.x2go.org; 18 Dec 2012 20:57:31 +0000
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199])
	by ymir (Postfix) with ESMTPS id E80F25DA6C;
	Tue, 18 Dec 2012 21:57:30 +0100 (CET)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id B6BAB9E0;
	Tue, 18 Dec 2012 21:57:30 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 9F3963BB0D;
	Tue, 18 Dec 2012 21:57:30 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de
Received: from grimnir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id w0DbLpJRXNtI; Tue, 18 Dec 2012 21:57:30 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 7086B3BCE0;
	Tue, 18 Dec 2012 21:57:30 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 46FD53BB0D;
	Tue, 18 Dec 2012 21:57:30 +0100 (CET)
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
	grimnir.das-netzwerkteam.de
X-Spam-Flag: NO
X-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00
	autolearn=ham version=3.3.1 running as userid=
X-Spam-Level: 
X-Spam-Bayes-Score: 0.0000
Received: by grimnir.das-netzwerkteam.de (Postfix, from userid 33)
	id ADAEA3BC26; Tue, 18 Dec 2012 21:57:20 +0100 (CET)
Received: from 205-158-142-46.pool.kielnet.net
 (205-158-142-46.pool.kielnet.net [46.142.158.205]) by
 mail.das-netzwerkteam.de (Horde Framework) with HTTP; Tue, 18 Dec 2012
 21:57:20 +0100
Message-ID: <20121218215720.175754sjwryg4qsw@mail.das-netzwerkteam.de>
X-Priority: 3 (Normal)
Date: Tue, 18 Dec 2012 21:57:20 +0100
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Orion Poplawski <orion@cora.nwra.com>, 92@bugs.x2go.org
Cc: control@bugs.x2go.org
References: <50D0A1D5.6010704@cora.nwra.com>
In-Reply-To: <50D0A1D5.6010704@cora.nwra.com>
MIME-Version: 1.0
Content-Type: multipart/signed;
 boundary="=_5217npcae4kw";
 protocol="application/pgp-signature";
 micalg="pgp-sha1"
Content-Transfer-Encoding: 7bit
User-Agent: Internet Messaging Program (IMP) H3 (4.3.4)

This message is in MIME format and has been PGP signed.

--=_5217npcae4kw
Content-Type: text/plain;
 charset=UTF-8;
 DelSp="Yes";
 format="flowed"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

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.xfb

--=_5217npcae4kw
Content-Type: application/pgp-signature
Content-Description: Digitale PGP-Unterschrift
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAABAgAGBQJQ0NiwAAoJEJr0azAldxsxkhIP/R3INX943pG5aAHpdbzNdJxW
kXDYgiEUK4UTROTkdpy1XWcSUSOXduvElUKAzQfkFUOQZmW18o9kceekYWR9ner5
WtorwlpVkwec5xjt8KawF/wa/X9gRZvCBWV1lEvx+Oj+D0DJUVCUeLvz310XTEYR
P6fq8vepk34hJ3kkZE2Z3KsIs0aLNEOF8giRxSCPccAvbbOkYWq1jQHAn4yfEuLz
WfRPBdzJdYfLdxbrxqDNzz4zDFr8twg45f5CqCOIOVKkPVdRpZOOytscvBDLurrX
QF/pQQ4vg1O6kRUVFjcCJ737xGHBeqKQtzCScbXgFDK3Z51vHN3pCpyGaUGE+MNx
0aJevhFEG8ZA0/oFPQTTagYB6QRjBjvSPTefyVftsBxmsia6Z947nS+Us6ETOk6o
p+WcRELJ6msmxl7s2XptXnfMBVrq7gUH/4BqVBr2Uem364f5gVH812mops7No2WH
4nIRCW81e1Itj/aNXNnYMBBhamNfbsAH6/KnL34HdAs3aRWjmVi9EwymhreF9y8W
dwl4a3XxKddZhYkp6Z6pMpZoglVcutQXgJ1MdFkFrpL5JG2qmCahdb6Qx8Rw/4zt
cKrHSNXOsfkURla0uHWSRaJtSwexCW6J4hKN9cUQi9SoVBJhQInWm6KDFrtebpGR
E1GuPoRHVzasaQVFAIr7
=IcfY
-----END PGP SIGNATURE-----

--=_5217npcae4kw--
