Bug 358929 - Script interpreter cannot be found, but kross is installed
Summary: Script interpreter cannot be found, but kross is installed
Status: RESOLVED DOWNSTREAM
Alias: None
Product: ktorrent
Classification: Applications
Component: general (other bugs)
Version First Reported In: 4.3.1
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2016-02-02 21:51 UTC by Remy Glaser
Modified: 2018-09-26 22:59 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Remy Glaser 2016-02-02 21:51:18 UTC
All scripts stopped working sometime in november last year. All scripts are disabled in the GUI. They cannot be enabled.

I have krosspython installed. The scripts used to work before with the same packages.

kross --version
Qt: 4.8.6
KDE Development Platform: 4.14.13
Kross: 0.1


Reproducible: Always

Steps to Reproduce:
1. Open Ktorrent
2. Go to the scripts menu
3. Click one one of the checkboxes next to the scripts

Actual Results:  
The following message shows: "No interpreter for this script could be found, so it cannot be executed. Please make sure the right interpreter is installed.
Hint: All standard ktorrent scripts require krosspython"

Expected Results:  
The script is enabled and starts to do its thing.
Comment 1 Remy Glaser 2016-02-09 14:06:07 UTC
Downgrading krosspython to 4:4.14.2-0ubuntu1 (vivid version) works as a workaround.
Comment 2 Alexander Potashev 2016-06-16 16:18:50 UTC
If you use a Qt4-based application, it can only use a Qt4-based version of Kross, and it will only support Qt4-based Kross interpreter plugins. Specifically, kross-0.1 cannot load e.g. krosspython-16.04.1.

What version of krosspython did you have the problem with?
Comment 3 Remy Glaser 2016-11-13 21:29:58 UTC
(In reply to Alexander Potashev from comment #2)
> If you use a Qt4-based application, it can only use a Qt4-based version of
> Kross, and it will only support Qt4-based Kross interpreter plugins.
> Specifically, kross-0.1 cannot load e.g. krosspython-16.04.1.
> 
> What version of krosspython did you have the problem with?

Thank you for your answer!

After doing a clean reinstall of Kubuntu 16.10, I was checking back into this problem, hoping it would be fixed by now.
The current package version of krosspython is 4:15.12.3-0ubuntu1. The module is installed in /usr/lib/x86_64-linux-gnu/qt5/plugins/krosspython.so, so it seems this is a qt5 version.

I fixed the issue by downloading version 4.13.1-0ubuntu0.1, which is included in ubuntu 14.04.5, from packages.ubuntu.com and then extracting krosspython.so and copying it to /usr/lib/kde4/

This works, but it doesn’t seem to be a very user-friendly solution. There should be a krosspython-qt4 package in ubuntu as a dependency of ktorrent.

This has been broken for a year now. Apparently I’m the only person using Ktorrent scripts in a recent ubuntu version.
Comment 4 Andrew Crouthamel 2018-09-26 22:10:55 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Alexander Potashev 2018-09-26 22:59:35 UTC
All in all, it was a problem in Ubuntu.