Summary: | .py scripts in /usr/bin | ||
---|---|---|---|
Product: | [Applications] skrooge | Reporter: | Jonathan Riddell <jr> |
Component: | general | Assignee: | Stephane MANKOWSKI <stephane> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | stephane |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | 25.1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/skrooge/5e70aa7930dc166104c7a3ce7127e0583365462e | Version Fixed In: | |
Sentry Crash Report: |
Description
Jonathan Riddell
2017-11-15 11:37:00 UTC
Hi Jonathan, You are right, these python scripts are installed in /usr/bin. These scripts are run bin some plugins of Skrooge. For test, I did the code to install them in /usr/share/skrooge. I needed to update the $PATH when skrooge is started to add /usr/share/skrooge. This work well but, if the user does a configuration error, the python script can fail and than Skrooge will return something like "skrooge-yahoodl.py ... failed". The problem is that, if the user tries the command in a console to understand its error, he will have "command not found". In conclusion: I am able to do the expected correction. But, this will be less user friendly for Skrooge users. So, is it really mandatory to move these scripts from /usr/bin to /usr/share/skrooge ? Regards. Hi, I found a better way. I will commit it. Git commit 5e70aa7930dc166104c7a3ce7127e0583365462e by Stephane Mankowski. Committed on 26/11/2017 at 15:21. Pushed by smankowski into branch 'master'. .py scripts in /usr/bin M +1 -0 CHANGELOG M +1 -1 plugins/import/skrooge_import_backend/CMakeLists.txt M +3 -0 plugins/import/skrooge_import_backend/skgimportpluginbackend.cpp M +1 -1 skgbankmodeler/CMakeLists.txt M +3 -0 skgbankmodeler/skgunitobject.cpp M +14 -0 skgbasemodeler/skgservices.cpp M +7 -0 skgbasemodeler/skgservices.h https://commits.kde.org/skrooge/5e70aa7930dc166104c7a3ce7127e0583365462e |