GNOME Bugzilla – Bug 776301
accerciser incompatible with ipython 5
Last modified: 2018-06-11 20:59:38 UTC
Hello, As reported on http://bugs.debian.org/848119 , Debian now has ipython 5, and that makes the console plugin unusable: Traceback (most recent call last):
+ Trace 237004
plugin_instance.init()
self.ipython_view = ipython_view.IPythonView()
input_func=self.raw_input)
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 Samuel
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.
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.
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 :/
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 :)
Hello all, what's the state of this bug? User waits for a new release to be able to use Accerciser again. Best regards.
Of relevance: https://stackoverflow.com/questions/16639199/embedding-an-ipython-shell-in-a-gtk-program/48054041
Fixed in https://gitlab.gnome.org/GNOME/accerciser/commit/5a3242b4c7f5a5c844a20821881d68d1cabcae1e
Thanks for this fix Samuel! :)