Package: gnat-gps
Version: 18-5
Severity: important
Dear Maintainer,
The menubar button actions "Build & Run" and "Build & Debug" in GNAT
Programming Studio (GPS) are currently broken.
When clicking those buttons, the following message appears in the "Message"
view of GPS:
Uncaught exception in workflows:
TypeError: method-wrapper object is not an iterator
After investigating, I found that the bug is caused by a debian patch applied
during the packaging of GPS.
The python_2_to_3.diff patch introduced the following change in
/usr/share/support/ui/workflows/__init__.py:
@@ -244,7 +245,7 @@
el = gen.send(return_val)
else:
# Otherwise just go to the next step.
- el = gen.next()
+ el = next (gen.next)
It shall be instead:
- el = gen.next()
+ el = next (gen)
And then it fixes the issue.
Best regards,
David HENRY
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-3-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_CRAP, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8),
LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages gnat-gps depends on:
ii gir1.2-gtk-3.0 3.24.5-1
ii gnat-gps-common 18-5
ii gprbuild 2018-6
ii libc6 2.28-8
ii libcairo2 1.16.0-3
ii libclang1-7 1:7.0.1-8
ii libgcc1 1:8.3.0-2
ii libgdk-pixbuf2.0-0 2.38.1+dfsg-1
ii libglib2.0-0 2.58.3-1
ii libgnat-8 8.3.0-2
ii libgnatcoll-iconv18 18-2
ii libgnatcoll-python17 18-2
ii libgnatcoll-sql1 18-4
ii libgnatcoll-sqlite-bin 18-4
ii libgnatcoll-sqlite18 18-4
ii libgnatcoll-xref18 18-4
ii libgnatcoll17 18-4
ii libgpr18 2018-6
ii libgtk-3-0 3.24.5-1
ii libgtkada18 18-2
ii libpango-1.0-0 1.42.4-6
ii libpython2.7 2.7.16-1
ii libtemplates-parser18 19-3
ii libxmlada-dom5 18-3
ii libxmlada-input5 18-3
ii libxmlada-sax5 18-3
ii libxmlada-schema5 18-3
ii libxmlada-unicode5 18-3
ii python-gi 3.30.4-1
ii python-six 1.12.0-1
Versions of packages gnat-gps recommends:
ii gdb-minimal 8.2.1-2
ii gnat 8.0.1
ii gnat-gps-doc 18-5
ii python-jedi 0.13.2-1
ii python-pep8 1.7.1-3
gnat-gps suggests no packages.
-- no debconf information