Ticket #264 (closed defect: invalid)
Umit Crash - 'integer division or modulo by zero'
| Reported by: | luis | Owned by: | boltrix |
|---|---|---|---|
| Priority: | medium | Milestone: | Umit 1.0beta2 |
| 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.14.4
Umit version 1.0beta2
Description
Versions:
---
GTK: 2.14.4
PyGTK: 2.15.3
HIGWidgets: 1.0beta1
Python: 2.5.2 (r252:60911, Oct 5 2008, 19:24:49)
[GCC 4.3.2]
Nmap: Nmap version 4.62 ( http://nmap.org )
Operating System: Linux bastiao-desktop 2.6.27-11-generic #1 SMP Thu Jan 29 19:24:39 UTC 2009 i686
Umit: 1.0beta2
UmitCore: 1.0beta2
UmitGUI: 1.0beta2
---
<type 'exceptions.ZeroDivisionError'>
Python 2.5.2: /usr/bin/python
Sun Apr 5 22:46:44 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/umit/gui/MainWindow.py in _show_about_cb(self=<MainWindow object at 0x94da054 (GtkWindow at 0x8c85968)>, widget=<gtk.Action object at 0x94f2e8c (GtkAction at 0x9034668)>)
1079
1080 def _show_about_cb(self, widget):
1081 a = About()
1082 a.show_all()
1083
a undefined
global About = <class 'umit.gui.About.About'>
/home/bastiao/Projects/umit/umit-svn/trunk/umit/gui/About.py in __init__(self=<About object at 0x94f2be4 (uninitialized at 0x0)>)
37 class About(HIGWindow):
38 def __init__(self):
39 s = 2/0
40 HIGWindow.__init__(self)
41 self.set_title(_("About Umit"))
s undefined
<type 'exceptions.ZeroDivisionError'>: integer division or modulo by zero
__class__ = <type 'exceptions.ZeroDivisionError'>
__delattr__ = <method-wrapper '__delattr__' of exceptions.ZeroDivisionError object at 0x94f38ac>
__dict__ = {}
__doc__ = 'Second argument to a division or modulo operation was zero.'
__getattribute__ = <method-wrapper '__getattribute__' of exceptions.ZeroDivisionError object at 0x94f38ac>
__getitem__ = <method-wrapper '__getitem__' of exceptions.ZeroDivisionError object at 0x94f38ac>
__getslice__ = <method-wrapper '__getslice__' of exceptions.ZeroDivisionError object at 0x94f38ac>
__hash__ = <method-wrapper '__hash__' of exceptions.ZeroDivisionError object at 0x94f38ac>
__init__ = <method-wrapper '__init__' of exceptions.ZeroDivisionError object at 0x94f38ac>
__new__ = <built-in method __new__ of type object at 0x81476a0>
__reduce__ = <built-in method __reduce__ of exceptions.ZeroDivisionError object at 0x94f38ac>
__reduce_ex__ = <built-in method __reduce_ex__ of exceptions.ZeroDivisionError object at 0x94f38ac>
__repr__ = <method-wrapper '__repr__' of exceptions.ZeroDivisionError object at 0x94f38ac>
__setattr__ = <method-wrapper '__setattr__' of exceptions.ZeroDivisionError object at 0x94f38ac>
__setstate__ = <built-in method __setstate__ of exceptions.ZeroDivisionError object at 0x94f38ac>
__str__ = <method-wrapper '__str__' of exceptions.ZeroDivisionError object at 0x94f38ac>
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/umit/gui/MainWindow.py", line 1081, in _show_about_cb
a = About()
File "/home/bastiao/Projects/umit/umit-svn/trunk/umit/gui/About.py", line 39, in __init__
s = 2/0
ZeroDivisionError: integer division or modulo by zero
Change History
Note: See
TracTickets for help on using
tickets.
