In the file /usr/share/gps/support/ui/workflows/__init__.py, line 248 (gnat-gps 17.0.2017-1ubuntu1 from cosmic):
el = next (gen.next)
shall be:
el = next (gen)
And then it works.
This line has been modified by the python_2_to_3.diff deb patch during packaging. This is where the bug were introduced.
Note that the original line (before patch) was:
el = gen.next()
and seems to work fine too for me.
I'm not a python expert, so I don't know why this line had to be patched, and which version shall be used between next(gen) and gen.next().
Ok, I found what's the problem.
In the file /usr/share/ gps/support/ ui/workflows/ __init_ _.py, line 248 (gnat-gps 17.0.2017-1ubuntu1 from cosmic):
el = next (gen.next)
shall be:
el = next (gen)
And then it works.
This line has been modified by the python_2_to_3.diff deb patch during packaging. This is where the bug were introduced.
Note that the original line (before patch) was:
el = gen.next()
and seems to work fine too for me.
I'm not a python expert, so I don't know why this line had to be patched, and which version shall be used between next(gen) and gen.next().