After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 776301 - accerciser incompatible with ipython 5
accerciser incompatible with ipython 5
Product: accerciser
Classification: Applications
Component: plugins
Other Linux
: Normal normal
: ---
Assigned To: Accerciser Developers
Accerciser Developers
Depends on:
Reported: 2016-12-20 01:26 UTC by Samuel Thibault
Modified: 2018-06-11 20:59 UTC
See Also:
GNOME target: ---
GNOME version: ---

proposed fix (1.24 KB, text/plain)
2017-09-12 14:53 UTC, Samuel Thibault

Description Samuel Thibault 2016-12-20 01:26:57 UTC

As reported on , Debian now has ipython 5, and that makes the console plugin unusable:

 Traceback (most recent call last):
  • File "/usr/lib/python3/dist-packages/accerciser/plugin/", line 192 in _enablePlugin
  • File "/usr/share/accerciser/plugins/", line 42 in init
    self.ipython_view = ipython_view.IPythonView()
  • File "/usr/share/accerciser/plugins/", line 549 in __init__
  • File "/usr/share/accerciser/plugins/", line 128 in __init__
    self.IP.readline_startup_hook(self.IP.pre_readline)  AttributeError: 'InteractiveShellEmbed' object has no attribute 'readline_startup_hook'

And similarly prompt_manager was removed, etc. so some serious porting seems to be needed

Comment 1 Alex ARNAUD 2017-06-23 16:15:26 UTC
Dear all,

The issue now also appears on Fedora 26 and Rowhide since the update of iPython from 3.2.1-8.fc25 to 5.3.0-4.fc26.

Best regards.
Comment 2 ksamak 2017-06-29 15:33:28 UTC
Issue is now in debian stable (stretch)

please have a look, this bug prevents tracking adaptations for a desktop zoom for visually impaired people.
I'm sure the lack of functioning accerciser slows down more a11y adaptations and developments.
Comment 3 Javier Hernández 2017-07-13 15:43:27 UTC
Hey there,

yesterday I took some time to reproduce the issue and looking at IPython docs, and yes, it seems that some serious porting needs to be done as Samuel said. 

IPython docs didn't help a lot so I'll need some time to figure out how to get it working again. Will keep you posted.
Meanwhile, if you have had the chance to somehow get it working, as always, patches are welcome :)

Sorry for any inconvenience :/
Comment 4 Samuel Thibault 2017-09-12 14:53:08 UTC
Created attachment 359640 [details]
proposed fix

Here is a patch which is enough to get it working at least basically.
Perhaps completion etc. don't work but at least the basics should be working :)
Comment 5 Alex ARNAUD 2018-02-07 16:19:53 UTC
Hello all,

what's the state of this bug? 

User waits for a new release to be able to use Accerciser again.

Best regards.
Comment 8 Javier Hernández 2018-06-11 20:59:38 UTC
Thanks for this fix Samuel! :)