Ticket #467 (new defect)

Opened 2 years ago

CrashReporter: invalid syntax (bus.py, line 228)

Reported by: topaloglum@… Owned by: nopper
Priority: medium Milestone:
Component: PacketManipulator Version: PacketManipulator 0.3
Keywords: user crash Cc:

Description

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

Description
-----------
Describe what are you doing.

Traceback
---------

Versions:
GTK: 2.14.4
PyGTK: 2.15.3
HIGWidgets: < 0.9.5
Python: 2.5.2 (r252:60911, Oct  5 2008, 19:24:49) 
[GCC 4.3.2]
<type 'exceptions.SyntaxError'>
Python 2.5.2: /usr/bin/python
Thu Jun 23 01:10:23 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/bin/PacketManipulator in <module>()
  179     except KeyboardInterrupt:
  180         sys.exit(signal.SIGINT)
  181 
  182 if __name__ == "__main__":
  183     main(sys.argv)
main = <function main at 0x99bbd4c>
sys = <module 'sys' (built-in)>
sys.argv = ['/usr/bin/PacketManipulator']

 /usr/bin/PacketManipulator in main(args=['/usr/bin/PacketManipulator'])
  150 
  151 def main(args):
  152     from umit.pm.gui.core.app import PMApp
  153     from umit.pm.core.errors import PMErrorException
  154     from umit.pm.higwidgets.higdialogs import HIGAlertDialog
umit undefined
PMApp undefined

 /usr/lib/python2.5/site-packages/umit/pm/gui/core/app.py in <module>()
   34 from umit.pm.core.i18n import _
   35 from umit.pm.core.atoms import Singleton
   36 from umit.pm.core.bus import services_boot, ServiceBus
   37 
   38 from umit.pm.gui.core.splash import SplashScreen
umit undefined
services_boot undefined
ServiceBus undefined
<type 'exceptions.SyntaxError'>: invalid syntax (bus.py, line 228)
    __class__ = <type 'exceptions.SyntaxError'>
    __delattr__ = <method-wrapper '__delattr__' of exceptions.SyntaxError object at 0x99bbe9c>
    __dict__ = {}
    __doc__ = 'Invalid syntax.'
    __getattribute__ = <method-wrapper '__getattribute__' of exceptions.SyntaxError object at 0x99bbe9c>
    __getitem__ = <method-wrapper '__getitem__' of exceptions.SyntaxError object at 0x99bbe9c>
    __getslice__ = <method-wrapper '__getslice__' of exceptions.SyntaxError object at 0x99bbe9c>
    __hash__ = <method-wrapper '__hash__' of exceptions.SyntaxError object at 0x99bbe9c>
    __init__ = <method-wrapper '__init__' of exceptions.SyntaxError object at 0x99bbe9c>
    __new__ = <built-in method __new__ of type object at 0x8146b60>
    __reduce__ = <built-in method __reduce__ of exceptions.SyntaxError object at 0x99bbe9c>
    __reduce_ex__ = <built-in method __reduce_ex__ of exceptions.SyntaxError object at 0x99bbe9c>
    __repr__ = <method-wrapper '__repr__' of exceptions.SyntaxError object at 0x99bbe9c>
    __setattr__ = <method-wrapper '__setattr__' of exceptions.SyntaxError object at 0x99bbe9c>
    __setstate__ = <built-in method __setstate__ of exceptions.SyntaxError object at 0x99bbe9c>
    __str__ = <method-wrapper '__str__' of exceptions.SyntaxError object at 0x99bbe9c>
    args = ('invalid syntax', ('/usr/lib/python2.5/site-packages/umit/pm/core/bus.py', 228, 9, '    class SvcHostList(object):\n'))
    filename = '/usr/lib/python2.5/site-packages/umit/pm/core/bus.py'
    lineno = 228
    message = ''
    msg = 'invalid syntax'
    offset = 9
    print_file_and_line = None
    text = '    class SvcHostList(object):\n'

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

Traceback (most recent call last):
  File "/usr/bin/PacketManipulator", line 183, in <module>
    main(sys.argv)
  File "/usr/bin/PacketManipulator", line 152, in main
    from umit.pm.gui.core.app import PMApp
  File "/usr/lib/python2.5/site-packages/umit/pm/gui/core/app.py", line 36, in <module>
    from umit.pm.core.bus import services_boot, ServiceBus
  File "/usr/lib/python2.5/site-packages/umit/pm/core/bus.py", line 228
    class SvcHostList(object):
        ^
SyntaxError: invalid syntax


Note: See TracTickets for help on using tickets.