Bug 436006

Summary: import not working with woob bank 3.0
Product: [Applications] skrooge Reporter: choss38
Component: generalAssignee: Guillaume DE BURE <guillaume.debure>
Status: RESOLVED FIXED    
Severity: normal CC: stephane
Priority: NOR    
Version: 2.25.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description choss38 2021-04-21 14:47:14 UTC
SUMMARY

It'no more possible to import with the new woob bank 3.0 because the command is not working anymore:

[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|" »


Maybe is it a way to make a fake boobank command like a symbolic link to launch woob bank and parsing the parameters of the above skrooge command line ?




OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Stephane MANKOWSKI 2021-04-21 18:59:39 UTC
Git commit 5a0db502da77db50432ae06a558e67f7701d37f1 by Stephane MANKOWSKI.
Committed on 21/04/2021 at 18:59.
Pushed by smankowski into branch 'master'.

import not working with woob bank 3.0
Warning: You must use the new woob backend

M  +1    -0    CHANGELOG
A  +79   -0    plugins/import/skrooge_import_backend/backends/org.kde.skrooge-import-backend-woob.desktop
A  +80   -0    plugins/import/skrooge_import_backend/backends/org.kde.skrooge-import-backend-woob_coming.desktop

https://invent.kde.org/office/skrooge/commit/5a0db502da77db50432ae06a558e67f7701d37f1
Comment 2 Stephane MANKOWSKI 2021-05-09 14:53:40 UTC
Hi,

If you don't want to wait the next release, you do that:
1- download this file https://invent.kde.org/office/skrooge/-/raw/5a0db502da77db50432ae06a558e67f7701d37f1/plugins/import/skrooge_import_backend/backends/org.kde.skrooge-import-backend-woob.desktop?inline=false
2- Save it in /usr/share/kservices5/
3- Launch Skrooge
4- Open settings and use wook instead of weboob

Regards.
Comment 3 Stephane MANKOWSKI 2021-05-16 16:21:02 UTC
Git commit 85703eaaa3d5bb79f1d462d6f9324a953ea062c8 by Stephane MANKOWSKI.
Committed on 16/05/2021 at 16:20.
Pushed by smankowski into branch 'master'.

import not working with woob bank 3.0

M  +3    -3    plugins/import/skrooge_import_backend/backends/org.kde.skrooge-import-backend-woob.desktop

https://invent.kde.org/office/skrooge/commit/85703eaaa3d5bb79f1d462d6f9324a953ea062c8