SUMMARY Can't import with weboob 1.5 STEPS TO REPRODUCE 1. Import from external engine (Boobank V1.5) 2. 3. OBSERVED RESULT An error message is displaying: [ERR-5]: La ligne de commandes suivante a échouée avec la code 1 : « PYTHONIOENCODING=utf_8 boobank ls -q -f csv -s id,label,balance 2>/dev/null |grep -v "If --auto-update" | grep -E "id;label;balance|" » EXPECTED RESULT SOFTWARE/OS VERSIONS SKrooge 2.19.1 Windows: macOS: Linux/KDE Plasma: Linux (x86_64) release 4.15.0-50-generic (Mint 19.1) (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
I use weboob 1.5 too and I don't have issue. What is the output of the following command if you run it from a terminal? PYTHONIOENCODING=utf_8 boobank ls -q -f csv -s id,label,balance
Hi, the output of the command is: id;label;balance xxxxxxxxx@bp;LIVRET A;1414.45 CC-yyyyyy@ing;Compte Courant;169.03 LDD-zzzzzzzzz@ing;Livret Développement Durable;858.30 Le 21/05/2019 à 20:31, Stephane MANKOWSKI a écrit : > https://bugs.kde.org/show_bug.cgi?id=407780 > > Stephane MANKOWSKI <stephane@mankowski.fr> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Assignee|guillaume.debure@gmail.com |stephane@mankowski.fr > > --- Comment #1 from Stephane MANKOWSKI <stephane@mankowski.fr> --- > I use weboob 1.5 too and I don't have issue. > What is the output of the following command if you run it from a terminal? > PYTHONIOENCODING=utf_8 boobank ls -q -f csv -s id,label,balance >
This is correct. Could you retry the import? Do you still have the issue? Sometime, this kind of issue is temporary due to unavailability of web sites.
It still fails just at the starting. Le 21/05/2019 à 22:32, Stephane MANKOWSKI a écrit : > https://bugs.kde.org/show_bug.cgi?id=407780 > > --- Comment #3 from Stephane MANKOWSKI <stephane@mankowski.fr> --- > This is correct. Could you retry the import? Do you still have the issue? > Sometime, this kind of issue is temporary due to unavailability of web sites. >
Could you try this ? PYTHONIOENCODING=utf_8 boobank ls -q -f csv -s id,label,balance; echo "rc="$? Do you have a 0 at the end? If not, you must investigate why? This is not due to Skrooge but to your weboob installation or configuration.
hi, rc=0 at the end. Le 22/05/2019 à 15:33, Stephane MANKOWSKI a écrit : > https://bugs.kde.org/show_bug.cgi?id=407780 > > --- Comment #5 from Stephane MANKOWSKI <stephane@mankowski.fr> --- > Could you try this ? > PYTHONIOENCODING=utf_8 boobank ls -q -f csv -s id,label,balance; echo "rc="$? > > Do you have a 0 at the end? > If not, you must investigate why? > This is not due to Skrooge but to your weboob installation or configuration. >
So, If I well understand: 1- boobank fails with code 1 when launched from Skrooge 2- boobank doesn't fail when launched from a terminal It means that boobank is not launched in the same environment. Could you try to launch skrooge from a terminal and try the import?
Bingo ! It works from the terminal. What should I do ? Does it mean that weboob isn't well installed ? Le 24/05/2019 à 21:32, Stephane MANKOWSKI a écrit : > https://bugs.kde.org/show_bug.cgi?id=407780 > > --- Comment #7 from Stephane MANKOWSKI <stephane@mankowski.fr> --- > So, If I well understand: > 1- boobank fails with code 1 when launched from Skrooge > 2- boobank doesn't fail when launched from a terminal > > It means that boobank is not launched in the same environment. > > Could you try to launch skrooge from a terminal and try the import? >
Not really. It means that something is set in you batch initialization file (.bashrc if you use bash) that should be set in your profile (see .profile) to have it available whatever the way used to run an application.
You're right ! Thank you very much ! Kind regards. Le 24/05/2019 à 23:40, Stephane MANKOWSKI a écrit : > https://bugs.kde.org/show_bug.cgi?id=407780 > > Stephane MANKOWSKI <stephane@mankowski.fr> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Resolution|--- |NOT A BUG > Status|REPORTED |RESOLVED > > --- Comment #9 from Stephane MANKOWSKI <stephane@mankowski.fr> --- > Not really. > It means that something is set in you batch initialization file (.bashrc if you > use bash) that should be set in your profile (see .profile) to have it > available whatever the way used to run an application. >