There is a thread in the Eric issue tracker on solving this:

https://www.mail-archive.com/eric@riverbankcomputing.com/msg04281.html

Basically, the instruction is to install either of the rope or jedi plugins - in the plugins list, rope is called "Refactoring, Rope" and jedi is called "Completions, Jedi". You may need to to do Plugins, Plugins Repository, Update first. (In 19.x it's the Plugins menu item; in 20.x it's Extras, Plugins...)

Once you've installed the plugin, you need to select it as the Code Info Provider at the top of the Code Documentation Viewer on the far right.

This worked for me on Eric 19.01 and 20.3 - hope it helps,
David

On Tue, 09 Apr 2019 17:20:16 +0100 Kevin Steen <deb...@kevinsteen.net> wrote:

> Package: eric
> Version: 19.02.1+ds1-1
> Severity: normal
>
> On a new installation (Debian Buster), the Code Documentation Viewer window
> shows an error message: "No source code documentation provider has been
> registered"
>
> Looking through the settings, it seems all the paths to Python documentation
> are correct (and the paths contain html files.)
>
> I tried installing QT Assistant (package qt5-assistant) and re-starting Eric.
>
> I tried using the Plugin Repository to download and install the "Documentation
> Set, Python 3.5.2" but that also made no difference.
>
> Please can you advise how to enable the Code Documentation Viewer?
>
> Many thanks
> -Kevin
>
>
>
> -- System Information:
> Debian Release: buster/sid
> APT prefers testing
> APT policy: (500, 'testing')
> Architecture: i386 (i686)
>
> Kernel: Linux 4.19.0-4-686-pae (SMP w/1 CPU core)
> Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
>
> Versions of packages eric depends on:
> ii libjs-jquery 3.3.1~dfsg-1
> ii libjs-jquery-hotkeys 0~20130707+git2d51e3a9+dfsg-2
> ii libjs-jquery-isonscreen 1.2.0-1
> ii libjs-jquery-tablesorter 1:2.31.1+dfsg1-1
> ii libjs-jquery-ui 1.12.1+dfsg-5
> ii python3 3.7.2-1
> ii python3-chardet 3.0.4-3
> ii python3-distutils 3.7.3~rc1-1
> ii python3-pygments 2.3.1+dfsg-1
> ii python3-pyqt5 5.11.3+dfsg-1+b3
> ii python3-pyqt5.qsci 2.10.4+dfsg-2
> ii python3-pyqt5.qtsql 5.11.3+dfsg-1+b3
> ii python3-pyqt5.qtsvg 5.11.3+dfsg-1+b3
> ii python3-pyqt5.qtwebkit 5.11.3+dfsg-1+b3
>
> Versions of packages eric recommends:
> ii eric-api-files 19.02.1+ds1-1
> pn python3-pyqt5.qtwebengine <none>
> ii python3-rope 0.10.5-3
>
> Versions of packages eric suggests:
> pn pyqt5-dev-tools <none>
> pn pyqt5-doc <none>
> ii python [python-profiler] 2.7.16-1

Reply via email to