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

Orion Poplawski orion at cora.nwra.com
Tue Dec 18 18:03:17 CET 2012


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 at nwra.com
Boulder, CO 80301                   http://www.nwra.com



More information about the x2go-dev mailing list