Ticket #203 (closed defect: invalid)

Opened 4 years ago

Last modified 4 years ago

Umit Crash - 'integer division or modulo by zero'

Reported by: luis.kop@… Owned by: boltrix
Priority: high Milestone: Umit 1.0beta1
Component: CrashReport Version: current svn
Keywords: user crash Cc:

Description (last modified by luis) (diff)

Crash Report
==========

sys.platform linux2
os.name posix
Gtk version 2.12.9
Umit version 1.0A

Description


Versions:
---
GTK: 2.12.9
PyGTK: 2.14.2
HIGWidgets: 1.0A-svn
Python: 2.5.2 (r252:60911, Jul 31 2008, 17:28:52) 
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)]
Nmap: Nmap version 4.76 ( http://nmap.org )
Operating System: Linux bastiao-desktop 2.6.24-16-generic #1 SMP Thu Apr 10 13:23:42 UTC 2008 i686
Umit: 1.0A
UmitCore: 1.0A-svn
UmitGUI: 1.0A-svn
---
<type 'exceptions.ZeroDivisionError'>
Python 2.5.2: /usr/bin/python
Sat Feb 14 15:49:05 2009

A problem occurred in a Python script.  Here is the sequence of
function calls leading up to the error, in the order they occurred.

 /home/bastiao/Projects/umit/umit-svn/trunk/umitGUI/MainWindow.py in _show_about_cb(self=<MainWindow object at 0x8d2a4b4 (GtkWindow at 0x8527100)>, widget=<gtk.Action object at 0x8d471bc (GtkAction at 0x87e26b0)>)
 1036 
 1037     def _show_about_cb(self, widget):
 1038         a = About()
 1039         a.show_all()
 1040 
a undefined
global About = <class 'umitGUI.About.About'>

 /home/bastiao/Projects/umit/umit-svn/trunk/umitGUI/About.py in __init__(self=<About object at 0x8d4761c (GtkWindow at 0x9041e60)>)
   38     def __init__(self):
   39         HIGWindow.__init__(self)
   40         a = 1/0
   41         self.set_title(_("About Umit"))
   42         self.set_position(gtk.WIN_POS_CENTER)
a undefined
<type 'exceptions.ZeroDivisionError'>: integer division or modulo by zero
    __class__ = <type 'exceptions.ZeroDivisionError'>
    __delattr__ = <method-wrapper '__delattr__' of exceptions.ZeroDivisionError object at 0x8d4872c>
    __dict__ = {}
    __doc__ = 'Second argument to a division or modulo operation was zero.'
    __getattribute__ = <method-wrapper '__getattribute__' of exceptions.ZeroDivisionError object at 0x8d4872c>
    __getitem__ = <method-wrapper '__getitem__' of exceptions.ZeroDivisionError object at 0x8d4872c>
    __getslice__ = <method-wrapper '__getslice__' of exceptions.ZeroDivisionError object at 0x8d4872c>
    __hash__ = <method-wrapper '__hash__' of exceptions.ZeroDivisionError object at 0x8d4872c>
    __init__ = <method-wrapper '__init__' of exceptions.ZeroDivisionError object at 0x8d4872c>
    __new__ = <built-in method __new__ of type object at 0x81431c0>
    __reduce__ = <built-in method __reduce__ of exceptions.ZeroDivisionError object at 0x8d4872c>
    __reduce_ex__ = <built-in method __reduce_ex__ of exceptions.ZeroDivisionError object at 0x8d4872c>
    __repr__ = <method-wrapper '__repr__' of exceptions.ZeroDivisionError object at 0x8d4872c>
    __setattr__ = <method-wrapper '__setattr__' of exceptions.ZeroDivisionError object at 0x8d4872c>
    __setstate__ = <built-in method __setstate__ of exceptions.ZeroDivisionError object at 0x8d4872c>
    __str__ = <method-wrapper '__str__' of exceptions.ZeroDivisionError object at 0x8d4872c>
    args = ('integer division or modulo by zero',)
    message = 'integer division or modulo by zero'

The above is a description of an error in a Python program.  Here is
the original traceback:

Traceback (most recent call last):
  File "/home/bastiao/Projects/umit/umit-svn/trunk/umitGUI/MainWindow.py", line 1038, in _show_about_cb
    a = About()
  File "/home/bastiao/Projects/umit/umit-svn/trunk/umitGUI/About.py", line 40, in __init__
    a = 1/0
ZeroDivisionError: integer division or modulo by zero


Change History

Changed 4 years ago by luis

  • status changed from new to closed
  • resolution set to invalid
  • description modified (diff)
Note: See TracTickets for help on using tickets.