Ticket #160 (closed defect: duplicate)

Opened 5 years ago

Last modified 4 years ago

Umit Crash - 'extract_tb() takes at least 1 argument (0 given)'

Reported by: sourcemorph@… Owned by: boltrix
Priority: high Milestone: Umit 0.9.5
Component: CrashReport Version: current svn
Keywords: user crash Cc:

Description (last modified by gpolo) (diff)

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

sys.platform linux2
os.name posix
Gtk version 2.12.9
Umit version 0.9.5

Description


Versions:
---
GTK: 2.12.9
PyGTK: 2.14.1
HIGWidgets: < 0.9.5
Python: 2.5.2 (r252:60911, Aug  1 2008, 00:43:38) 
[GCC 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036]]
Nmap: Nmap version 4.60 ( http://nmap.org )
Operating System: Linux linux-q689 2.6.25.16-0.1-pae #1 SMP 2008-08-21 00:34:25 +0200 i686
Umit: 0.9.5
UmitCore: 0.9.5
UmitGUI: 0.9.5
---
<type 'exceptions.TypeError'>
Python 2.5.2: /usr/bin/python
Wed Sep 24 08:52:12 2008

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

 /usr/local/lib/python2.5/site-packages/umitGUI/BugReport.py in _send_report(self=<CrashReport object at 0x88f9b1c (GtkDialog at 0x84fb828)>)
  209         except:
  210             import traceback
  211             print traceback.extract_tb()
  212             cancel_dialog = HIGAlertDialog(type=gtk.MESSAGE_ERROR,
  213                 message_format=_("Bug not reported!"),
traceback = <module 'traceback' from '/usr/lib/python2.5/traceback.pyc'>
traceback.extract_tb = <function extract_tb at 0xb7c373ac>
<type 'exceptions.TypeError'>: extract_tb() takes at least 1 argument (0 given)
    __class__ = <type 'exceptions.TypeError'>
    __delattr__ = <method-wrapper '__delattr__' of exceptions.TypeError object at 0x884824c>
    __dict__ = {}
    __doc__ = 'Inappropriate argument type.'
    __getattribute__ = <method-wrapper '__getattribute__' of exceptions.TypeError object at 0x884824c>
    __getitem__ = <method-wrapper '__getitem__' of exceptions.TypeError object at 0x884824c>
    __getslice__ = <method-wrapper '__getslice__' of exceptions.TypeError object at 0x884824c>
    __hash__ = <method-wrapper '__hash__' of exceptions.TypeError object at 0x884824c>
    __init__ = <method-wrapper '__init__' of exceptions.TypeError object at 0x884824c>
    __new__ = <built-in method __new__ of type object at 0xb7f9db40>
    __reduce__ = <built-in method __reduce__ of exceptions.TypeError object at 0x884824c>
    __reduce_ex__ = <built-in method __reduce_ex__ of exceptions.TypeError object at 0x884824c>
    __repr__ = <method-wrapper '__repr__' of exceptions.TypeError object at 0x884824c>
    __setattr__ = <method-wrapper '__setattr__' of exceptions.TypeError object at 0x884824c>
    __setstate__ = <built-in method __setstate__ of exceptions.TypeError object at 0x884824c>
    __str__ = <method-wrapper '__str__' of exceptions.TypeError object at 0x884824c>
    args = ('extract_tb() takes at least 1 argument (0 given)',)
    message = 'extract_tb() takes at least 1 argument (0 given)'

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

Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/umitGUI/BugReport.py", line 211, in _send_report
    print traceback.extract_tb()
TypeError: extract_tb() takes at least 1 argument (0 given)


Change History

Changed 4 years ago by gpolo

  • status changed from new to closed
  • resolution set to duplicate
  • description modified (diff)

Duplicate of ticket 157

Note: See TracTickets for help on using tickets.