DreamPie crashes on exit and you can't type anything in the shell

Bug #1021063 reported by Bjarke Sandbeck
This bug report is a duplicate of:  Bug #1009227: Does not accept keyboard input! . Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DreamPie
New
Undecided
Unassigned

Bug Description

Variables:
  File "/usr/share/dreampie/dreampielib/gui/__init__.py", line 938, on_show_completions(self=DreamPie(path..."window_main"), _widget=<gtk.Men...1dd8980)>)
    {'False': False, 'is_auto': [], 'complete': [], 'self.autocomplete.show_completions': <bound method Autocomplete.show_completions of <dreampielib.gui.autocomplete.Autocomplete object at 0x1d62190>>}
  File "/usr/share/dreampie/dreampielib/gui/autocomplete.py", line 118, show_completions(self=<dreampi...x1d62190>, is_auto=False, complete=False)
    {'self.window.show': <bound method AutocompleteWindow.show of <dreampielib.gui.autocomplete_window.AutocompleteWindow object at 0x1d621d0>>, 'comp_prefix': u'', 'len': <built-in function len>, 'private': [u'__builtins__', u'__debug__', u'__doc__', u'__import__', u'__name__', u'__package__'], 'is_case_insen': False, 'public': [u'ArithmeticError', u'AssertionError', u'AttributeError', u'BaseException', u'BufferError', u'BytesWarning', u'DeprecationWarning', u'EOFError', u'Ellipsis', u'EnvironmentError', u'Exception', u'False', u'FloatingPointError', u'FutureWarning', u'GeneratorExit', u'IOError', u'ImportError', u'ImportWarning', u'IndentationError', u'IndexError', u'KeyError', u'KeyboardInterrupt', u'LookupError', u'MemoryError', u'NameError', u'None', u'NotImplemented', u'NotImplementedError', u'OSError', u'OverflowError', u'PendingDeprecationWarning', u'ReferenceError', u'RuntimeError', u'RuntimeWarning', u'StandardError', u'StopIteration', u'SyntaxError', u'SyntaxWarning', u'SystemError', u'SystemExit', u'TabError', u'True', u'TypeError', u'UnboundLocalError', u'UnicodeDecodeError', u'UnicodeEncodeError', u'UnicodeError', u'UnicodeTranslateError', u'UnicodeWarning', u'UserWarning', u'ValueError', u'Warning', u'ZeroDivisionError', u'abs', u'all', u'and', u'any', u'apply', u'as', u'assert', u'basestring', u'bin', u'bool', u'break', u'buffer', u'bytearray', u'bytes', u'callable', u'chr', u'class', u'classmethod', u'cmp', u'coerce', u'compile', u'complex', u'continue', u'copyright', u'credits', u'def', u'del', u'delattr', u'dict', u'dir', u'divmod', u'elif', u'else', u'enumerate', u'eval', u'except', u'exec', u'execfile', u'file', u'filter', u'finally', u'float', u'for', u'format', u'from', u'frozenset', u'getattr', u'global', u'globals', u'hasattr', u'hash', u'help', u'hex', u'id', u'if', u'import', u'in', u'input', u'int', u'intern', u'is', u'isinstance', u'issubclass', u'iter', u'lambda', u'len', u'license', u'list', u'locals', u'long', u'map', u'max', u'memoryview', u'min', u'next', u'not', u'object', u'oct', u'open', u'or', u'ord', u'pass', u'pow', u'print', u'print', u'property', u'quit', u'raise', u'range', u'raw_input', u'reduce', u'reload', u'repr', u'return', u'reversed', u'round', u'set', u'setattr', u'slice', u'sorted', u'staticmethod', u'str', u'sum', u'super', u'try', u'tuple', u'type', u'unichr', u'unicode', u'vars', u'while', u'with', u'xrange', u'yield', u'zip']}
  File "/usr/share/dreampie/dreampielib/gui/autocomplete_window.py", line 131, show(self=<dreampi...x1d621d0>, public=[u'ArithmeticError', u'AssertionError', u'AttributeError', u'BaseException', u'BufferError', u'BytesWarning', ...], private=[u'__builtins__', u'__debug__', u'__doc__', u'__import__', u'__name__', u'__package__'], is_case_insen=False, start_len=0)
    {'self.place_window': <bound method AutocompleteWindow.place_window of <dreampielib.gui.autocomplete_window.AutocompleteWindow object at 0x1d621d0>>}
  File "/usr/share/dreampie/dreampielib/gui/autocomplete_window.py", line 194, place_window(self=<dreampi...x1d621d0>)
    {'get_origin': [], 'sv_x': [], 'sv_y': [], 'sv.get_window': <built-in method get_window of gtksourceview2.View object at 0x1d55d70>, 'gtk.TEXT_WINDOW_WIDGET': <enum GTK_TEXT_WINDOW_WIDGET of type GtkTextWindowType>}

Traceback (most recent call last):
  File "/usr/share/dreampie/dreampielib/gui/__init__.py", line 938, in on_show_completions
    self.autocomplete.show_completions(is_auto=False, complete=False)
  File "/usr/share/dreampie/dreampielib/gui/autocomplete.py", line 118, in show_completions
    self.window.show(public, private, is_case_insen, len(comp_prefix))
  File "/usr/share/dreampie/dreampielib/gui/autocomplete_window.py", line 131, in show
    self.place_window()
  File "/usr/share/dreampie/dreampielib/gui/autocomplete_window.py", line 194, in place_window
    sv_x, sv_y = sv.get_window(gtk.TEXT_WINDOW_WIDGET).get_origin()
AttributeError: 'NoneType' object has no attribute 'get_origin'

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.