--- Please enter the report below this line. ---
The Python console works perfectly fine except when a user attempts to
invoke `help()` -- without arguments.
In this case Dia freezes, and there's no obvious way to revert it to the
normal state (so any unsaved work is essentially lost). The problem is
caused by the fact that `help()` is interactive: it starts its own
subshell and is waiting for user input (or ^D).
Non-interactive invocations such as `help("topics")` or
`help("keywords")` complete normally.
The backtrace (from gdb) is as follows:
Attached is a screenshot of the Python console running `help()`
Debian Release: 9.3
500 xenial package.perforce.com
500 trusty package.perforce.com
500 stable-updates ftp.ru.debian.org
500 stable security.debian.org
500 stable ftp.ru.debian.org
500 precise package.perforce.com
500 oldstable-updates ftp.ru.debian.org
500 oldstable security.debian.org
500 oldstable ftp.ru.debian.org
500 oldoldstable-updates ftp.ru.debian.org
500 oldoldstable security.debian.org
500 oldoldstable ftp.ru.debian.org
100 stretch-backports ftp.ru.debian.org
--- Package information. ---
Depends (Version) | Installed
================================================-+-=========================
libart-2.0-2 (>= 2.3.19) | 4:14.0.5~pre0-0debian9.0.0+0~a
libatk1.0-0 (>= 1.12.4) |
libc6 (>= 2.14) |
libcairo2 (>= 1.12.0) |
libfontconfig1 (>= 2.11) |
libfreetype6 (>= 2.2.1) |
libgdk-pixbuf2.0-0 (>= 2.22.0) |
libglib2.0-0 (>= 2.37.3) |
libgtk2.0-0 (>= 2.24.0) |
libpango-1.0-0 (>= 1.18.0) |
libpangocairo-1.0-0 (>= 1.14.0) |
libpangoft2-1.0-0 (>= 1.14.0) |
libpng16-16 (>= 1.6.2-1) |
libpython2.7 (>= 2.7) |
libxml2 (>= 2.7.4) |
libxslt1.1 (>= 1.1.25) |
zlib1g (>= 1:1.1.4) |
dia-common (= 0.97.3+git20160930-6) |
Recommends (Version) | Installed
==========================-+-===========
gsfonts-x11 | 0.24
dia-shapes | 0.6.0-3
Package's Suggests field is empty.