Ticket #398 (closed defect: duplicate)

Opened 3 years ago

Last modified 3 years ago

Umit Crash - 'not enough arguments for format string'

Reported by: carlos.pacios@… Owned by: boltrix
Priority: medium Milestone: Umit 1.0RC
Component: CrashReport Version: current svn
Keywords: user crash Cc:

Description (last modified by getxsick) (diff)

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

sys.platform linux2
os.name posix
Gtk version 2.18.3
Umit version 1.0RC

Description


Versions:
---
GTK: 2.18.3
PyGTK: 2.18.0
HIGWidgets: 1.0RC
Python: 2.6.4 (r264:75706, Dec  7 2009, 18:45:15) 
[GCC 4.4.1]
Nmap: Nmap version 5.00 ( http://nmap.org )
Operating System: Linux linuxpacios 2.6.31-21-generic #59-Ubuntu SMP Wed Mar 24 07:28:56 UTC 2010 i686
Umit: 1.0RC
UmitCore: 1.0RC
UmitGUI: 1.0RC
---
<type 'exceptions.TypeError'>
Python 2.6.4: /usr/bin/python
Wed May 26 16:40:16 2010

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/share/umit/umit/gui/Wizard.py in save_profile(self=<Wizard object at 0x9d0cd24 (GtkWindow at 0x9d4d848)>, widget=<HIGButton object at 0x9f4f20c (GtkButton at 0x9f9b818)>)
  365         elif self.notebook:
  366             target = self.directions['Choose'].target_entry.get_text()
  367             cmd = command % target
  368 
  369             current_page = self.notebook.get_nth_page(\
cmd undefined
command = u'nmap -sO -PE -p%s -v -d %s'
target = '10.127.32.158'
<type 'exceptions.TypeError'>: not enough arguments for format string
    __class__ = <type 'exceptions.TypeError'>
    __delattr__ = <method-wrapper '__delattr__' of exceptions.TypeError object at 0x9f5352c>
    __dict__ = {}
    __doc__ = 'Inappropriate argument type.'
    __format__ = <built-in method __format__ of exceptions.TypeError object at 0x9f5352c>
    __getattribute__ = <method-wrapper '__getattribute__' of exceptions.TypeError object at 0x9f5352c>
    __getitem__ = <method-wrapper '__getitem__' of exceptions.TypeError object at 0x9f5352c>
    __getslice__ = <method-wrapper '__getslice__' of exceptions.TypeError object at 0x9f5352c>
    __hash__ = <method-wrapper '__hash__' of exceptions.TypeError object at 0x9f5352c>
    __init__ = <method-wrapper '__init__' of exceptions.TypeError object at 0x9f5352c>
    __new__ = <built-in method __new__ of type object at 0x821cf80>
    __reduce__ = <built-in method __reduce__ of exceptions.TypeError object at 0x9f5352c>
    __reduce_ex__ = <built-in method __reduce_ex__ of exceptions.TypeError object at 0x9f5352c>
    __repr__ = <method-wrapper '__repr__' of exceptions.TypeError object at 0x9f5352c>
    __setattr__ = <method-wrapper '__setattr__' of exceptions.TypeError object at 0x9f5352c>
    __setstate__ = <built-in method __setstate__ of exceptions.TypeError object at 0x9f5352c>
    __sizeof__ = <built-in method __sizeof__ of exceptions.TypeError object at 0x9f5352c>
    __str__ = <method-wrapper '__str__' of exceptions.TypeError object at 0x9f5352c>
    __subclasshook__ = <built-in method __subclasshook__ of type object at 0x821cf80>
    __unicode__ = <built-in method __unicode__ of exceptions.TypeError object at 0x9f5352c>
    args = ('not enough arguments for format string',)
    message = 'not enough arguments for format string'

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

Traceback (most recent call last):
  File "/usr/share/umit/umit/gui/Wizard.py", line 367, in save_profile
    cmd = command % target
TypeError: not enough arguments for format string


Change History

Changed 3 years ago by getxsick

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

Thanks for raporting. We are working on this bug. You can check ticket #392: http://trac.umitproject.org/ticket/392

I'm closing this one as a duplicate to that.

Note: See TracTickets for help on using tickets.