When opening the editor in Parley it shows the same error message for four scripts: Der Interpreter für die Skriptdatei „/usr/share/parley/plugins/wiktionary_sound.py“ kann nicht bestimmt werden. (English: The interpreter for the script file ... cannot be determined.) Looking at this script file reveals an "kross" script. See also here for the upstream file: https://github.com/KDE/parley/blob/master/plugins/wiktionary/wiktionary_sound.py However, the kross binary is not installed on my system but a "kf5kross" binary. Reproducible: Always Steps to Reproduce: 1. Install Parley. 2. Open it and open the editor. Actual Results: Error messages shown. Expected Results: No error messsages shown. Maybe this is also a problem of kde-frameworks/kross.
Just tried to "fix" the interpreter manually without success. I changed the programm name of the shebang from kross to kf5kross, python3 and python. Testing always results in: ``` kf5kross /usr/share/parley/plugins/wiktionary_sound.py No interpreter for file: /usr/share/parley/plugins/wiktionary_sound.py ```
kde-apps/kross-interpreters[python] had to be dropped due to py27 dependency and no movement upstream, and it seems that no one was aware that parley needed them. I'm afraid we can only disable installing these plugins, or last-rite this package if it isn't useful without them at all?
(In reply to Andreas Sturmlechner from comment #2) > I'm afraid we can only disable installing these plugins, or last-rite this > package if it isn't useful without them at all? It is useful definitely, also without the plugins. Afaik they are used mainly for data fetching when creating new training decks. I think, temporarily disabling/removing them and adding them back when upstream has ported away from kross is a viable solution. An install message informing about dropping theses script may be useful then, since the upstream documentation references theses scripts in some places (for example here: https://docs.kde.org/stable5/en/kdeedu/parley/adding-sound.html).
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/kde.git/commit/?id=d8c56aa70a2940b0acabf1f2375e08993a9660a4 commit d8c56aa70a2940b0acabf1f2375e08993a9660a4 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2021-01-23 14:48:46 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2021-01-23 14:48:46 +0000 kde-apps/parley: Disable plugins directory Plugins depend on unavailable kde-apps/kross-interpreters[python], still py2-based upstream. Reported-by: Gerion Entrup <gerion.entrup@flump.de> Bug: https://bugs.gentoo.org/766333 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> kde-apps/parley/parley-20.12.49.9999.ebuild | 11 +++++++++++ kde-apps/parley/parley-9999.ebuild | 11 +++++++++++ 2 files changed, 22 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85d16bd6906a6dc86884e6440c011c84c9a5817a commit 85d16bd6906a6dc86884e6440c011c84c9a5817a Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2021-01-23 14:48:46 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2021-01-23 14:57:33 +0000 kde-apps/parley: Disable plugins directory Plugins depend on unavailable kde-apps/kross-interpreters[python], still py2-based upstream. Reported-by: Gerion Entrup <gerion.entrup@flump.de> Bug: https://bugs.gentoo.org/766333 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> .../{parley-20.08.3.ebuild => parley-20.08.3-r1.ebuild} | 13 ++++++++++++- .../{parley-20.12.1.ebuild => parley-20.12.1-r1.ebuild} | 11 +++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-)
Scripting support is gone upstream: https://invent.kde.org/education/parley/-/commit/829c9b574a4054aaca2defdb683fe5d74169d919
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/kde.git/commit/?id=2c85e73243d79acb0a5d7ad55eeff43c1b027c3d commit 2c85e73243d79acb0a5d7ad55eeff43c1b027c3d Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2021-11-11 16:01:35 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2021-11-11 16:53:35 +0000 kde-apps/parley: Update DEPENDs Upstream commits: 829c9b574a4054aaca2defdb683fe5d74169d919 ca4c3cbeff92b954ca70554900103d76378af305 Bug: https://bugs.gentoo.org/766333 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> kde-apps/parley/parley-9999.ebuild | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-)