Ticket #419 (closed defect: invalid)

Opened 2 years ago

Last modified 2 years ago

Exception caught by crash reporter

Reported by: thiagogenez@… Owned by: nopper
Priority: medium Milestone:
Component: PacketManipulator Version: current svn
Keywords: user crash Cc:

Description

Crash Report
==========
sys.platform linux2
os.name posix
PacketManipulator 0.2

Description
--------------------


Generated traceback:

Versions:
GTK: 2.22.0
PyGTK: 2.21.5
HIGWidgets: < 0.9.5
Python: 2.6.6 (r266:84292, Sep 15 2010, 15:52:39) 
[GCC 4.4.5]
<class 'PM.Core.Errors.PMErrorException'>
Python 2.6.6: /usr/bin/python
Sat Mar 26 19:59:48 2011

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.6/dist-packages/PM/Gui/Core/App.py in _idle(self=<PM.Gui.Core.App.PMApp object>)
   84             self.splash.text = _("Creating main window ...")
   85 
   86             from MainWindow import MainWindow
   87             self.main_window = MainWindow()
   88             self.main_window.connect_tabs_signals()
MainWindow undefined

 /usr/local/lib/python2.6/dist-packages/PM/Gui/Core/MainWindow.py in <module>()
   26 import os
   27 
   28 from PM import Backend
   29 from PM.Core.Logger import log
   30 from PM.Manager.PreferenceManager import Prefs
PM undefined
Backend undefined

 /usr/local/lib/python2.6/dist-packages/PM/Backend/__init__.py in <module>()
   32 
   33 # Contexts
   34 from Abstract.BaseContext.Static import StaticContext
   35 from Abstract.BaseContext.Timed import TimedContext
   36 from Abstract.BaseContext.Send import SendContext
Abstract = None
Abstract.BaseContext undefined
StaticContext undefined

 /usr/local/lib/python2.6/dist-packages/PM/Backend/Abstract/BaseContext/Static.py in <module>()
   20 
   21 from PM.Core.I18N import _
   22 from PM.Backend.Abstract.Context import register_static_context
   23 
   24 class BaseStaticContext(object):
PM undefined
register_static_context undefined

 /usr/local/lib/python2.6/dist-packages/PM/Backend/Abstract/Context/__init__.py in <module>()
   83 
   84 if Prefs()['backend.system'].value.lower() == 'umpa':
   85     from PM.Backend.UMPA.Context import *
   86 else:
   87     from PM.Backend.Scapy.Context import *
PM undefined

 /usr/local/lib/python2.6/dist-packages/PM/Backend/Scapy/__init__.py in <module>()
   19 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
   20 
   21 from PM.Backend.Scapy.packet import *
   22 from PM.Backend.Scapy.wrapper import *
   23 from PM.Backend.Scapy.utils import *
PM undefined

 /usr/local/lib/python2.6/dist-packages/PM/Backend/Scapy/packet.py in <module>()
   19 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
   20 
   21 from PM.Backend.Scapy.wrapper import Packet, NoPayload, Raw, Ether, IP
   22 
   23 class MetaPacket:
PM undefined
Packet undefined
NoPayload undefined
Raw undefined
Ether undefined
IP undefined

 /usr/local/lib/python2.6/dist-packages/PM/Backend/Scapy/wrapper.py in <module>()
   44 except ImportError:
   45     from PM.Core.Errors import PMErrorException
   46     raise PMErrorException("Cannot use this backend without scapy installed")
   47 
   48 from PM.Core.I18N import _
PMErrorException = None
<class 'PM.Core.Errors.PMErrorException'>: Cannot use this backend without scapy installed
    __class__ = <class 'PM.Core.Errors.PMErrorException'>
    __delattr__ = <method-wrapper '__delattr__' of PMErrorException object>
    __dict__ = {}
    __doc__ = None
    __format__ = <built-in method __format__ of PMErrorException object>
    __getattribute__ = <method-wrapper '__getattribute__' of PMErrorException object>
    __getitem__ = <method-wrapper '__getitem__' of PMErrorException object>
    __getslice__ = <method-wrapper '__getslice__' of PMErrorException object>
    __hash__ = <method-wrapper '__hash__' of PMErrorException object>
    __init__ = <method-wrapper '__init__' of PMErrorException object>
    __module__ = 'PM.Core.Errors'
    __new__ = <built-in method __new__ of type object>
    __reduce__ = <built-in method __reduce__ of PMErrorException object>
    __reduce_ex__ = <built-in method __reduce_ex__ of PMErrorException object>
    __repr__ = <method-wrapper '__repr__' of PMErrorException object>
    __setattr__ = <method-wrapper '__setattr__' of PMErrorException object>
    __setstate__ = <built-in method __setstate__ of PMErrorException object>
    __sizeof__ = <built-in method __sizeof__ of PMErrorException object>
    __str__ = <method-wrapper '__str__' of PMErrorException object>
    __subclasshook__ = <built-in method __subclasshook__ of type object>
    __unicode__ = <built-in method __unicode__ of PMErrorException object>
    __weakref__ = None
    args = ('Cannot use this backend without scapy installed',)
    message = 'Cannot use this backend without scapy installed'

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.6/dist-packages/PM/Gui/Core/App.py", line 86, in _idle
    from MainWindow import MainWindow
  File "/usr/local/lib/python2.6/dist-packages/PM/Gui/Core/MainWindow.py", line 28, in <module>
    from PM import Backend
  File "/usr/local/lib/python2.6/dist-packages/PM/Backend/__init__.py", line 34, in <module>
    from Abstract.BaseContext.Static import StaticContext
  File "/usr/local/lib/python2.6/dist-packages/PM/Backend/Abstract/BaseContext/Static.py", line 22, in <module>
    from PM.Backend.Abstract.Context import register_static_context
  File "/usr/local/lib/python2.6/dist-packages/PM/Backend/Abstract/Context/__init__.py", line 87, in <module>
    from PM.Backend.Scapy.Context import *
  File "/usr/local/lib/python2.6/dist-packages/PM/Backend/Scapy/__init__.py", line 21, in <module>
    from PM.Backend.Scapy.packet import *
  File "/usr/local/lib/python2.6/dist-packages/PM/Backend/Scapy/packet.py", line 21, in <module>
    from PM.Backend.Scapy.wrapper import Packet, NoPayload, Raw, Ether, IP
  File "/usr/local/lib/python2.6/dist-packages/PM/Backend/Scapy/wrapper.py", line 46, in <module>
    raise PMErrorException("Cannot use this backend without scapy installed")
PMErrorException: Cannot use this backend without scapy installed


Change History

Changed 2 years ago by nopper

  • status changed from new to closed
  • resolution set to invalid

You have to install scapy. I think that the error message is self explanatory.

Note: See TracTickets for help on using tickets.