Feature ; add checking if ipython is installed when using `-i` flag
Versions
- Gajim version: 1.0.0
Steps to reproduce the problem
- Not to install python3-ipython
- Start from source
./launch.py
- Execute
./launch.py -i
Expected behavior
$ ./launch.py -i
$ You need to install ipython package before using ipython shell
Actual behavior
It returns nothing. But user-friendly interface is better than receive nothing
in --verbose
mode it throws out this:
Traceback (most recent call last):
File "/home/lap/test-gajim/gajim/gajim/app_actions.py", line 288, in toggle_ipython
app.interface.create_ipython_window()
File "/home/lap/test-gajim/gajim/gajim/gui_interface.py", line 2641, in create_ipython_window
view = IPythonView()
File "/home/lap/test-gajim/gajim/gajim/dev/ipython_view.py", line 603, in __init__
input_func=self.raw_input)
File "/home/lap/test-gajim/gajim/gajim/dev/ipython_view.py", line 115, in __init__
io = IPython.utils.io
AttributeError: 'NoneType' object has no attribute 'utils'