Ipython shell window doesn't interact after getting an unexpected bracket
Versions
OS: Ubuntu 17.10
Gajim version: 1.0.0
GTK version: 3.22.25
Python-nbxmpp version: 0.6.4
ipython version: 6.2.1
Steps to reproduce the problem
Execute ./launch.py from source code
Execute ./launch.py -i in new tab
Type print([x for x in range(10)])]
`
Expected behavior
$ ipythonPython 3.6.3 (default, Oct 3 2017, 21:45:48) Type 'copyright', 'credits' or 'license' for more informationIPython 6.2.1 -- An enhanced Interactive Python. Type '?' for help.In [5]: print([x for x in range(10)])] File "<ipython-input-5-78a7583c520c>", line 1 print([x for x in range(10)])] ^SyntaxError: invalid syntax
Actual behavior
In [1]: print([x for x in range])]qKeyboardInterruptIn [2]: print(5)KeyboardInterrupt ...: KeyboardInterrupt ...: KeyboardInterruptIn [2]: 5KeyboardInterrupt
Traceback
Traceback (most recent call last): File "/home/lap/test-gajim/gajim/gajim/dev/ipython_view.py", line 583, in onKeyPress return self.onKeyPressExtend(event) File "/home/lap/test-gajim/gajim/gajim/dev/ipython_view.py", line 652, in onKeyPressExtend self._processLine() File "/home/lap/test-gajim/gajim/gajim/dev/ipython_view.py", line 678, in _processLine self.execute() File "/home/lap/test-gajim/gajim/gajim/dev/ipython_view.py", line 215, in execute self.IP.autoedit_syntax):AttributeError: 'InteractiveShellEmbed' object has no attribute 'autoedit_syntax'