[X2Go-Dev] Bug#92: ZeroDivisionError: float division by zero error on startup

Mike Gabriel mike.gabriel at das-netzwerkteam.de
Tue Dec 18 21:57:20 CET 2012


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 at das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digitale PGP-Unterschrift
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20121218/7f974d2c/attachment.pgp>


More information about the x2go-dev mailing list