Summary: | AqBanking crash while Setting up American Express Account | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | matt |
Component: | onlinebanking | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED WORKSFORME | ||
Severity: | crash | CC: | KDE |
Priority: | NOR | ||
Version: | 5.0.8 | ||
Target Milestone: | --- | ||
Platform: | Kubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | attachment-31155-0.html |
Description
matt
2021-11-18 21:24:29 UTC
Even though you experience this problem when using KMyMoney as the application, the crash is caused by the AqBanking/Gwenhywfar libraries underneath. The setup wizard is simply called by KMyMoney and does its thing. So I am sorry to say that this looks more like an upstream (Gwenhywfar) problem. Which version of AqBanking / Gwenhywfar do you use? When starting KMyMoney from a console, you can see something like the following (among other output): Loading "/usr/lib64/qt5/plugins/kmymoney/kbanking.so" "Plugins: kbanking loaded, build with (5.7.4stable-0/6.4.0.0stable), run with (5.7.4.0/6.4.0.0)" 7:2021-11-19 08:45:13:aqbanking started Possible workaround: did you try to use the 'ofximporter' instead of 'kbanking' when setting up the mapping of the account? This contains an independent implementation of the OFX access. (In reply to Thomas Baumgart from comment #1) > Even though you experience this problem when using KMyMoney as the > application, the crash is caused by the AqBanking/Gwenhywfar libraries > underneath. The setup wizard is simply called by KMyMoney and does its > thing. So I am sorry to say that this looks more like an upstream > (Gwenhywfar) problem. > > Which version of AqBanking / Gwenhywfar do you use? When starting KMyMoney > from a console, you can see something like the following (among other > output): > > Loading "/usr/lib64/qt5/plugins/kmymoney/kbanking.so" > "Plugins: kbanking loaded, build with (5.7.4stable-0/6.4.0.0stable), run > with (5.7.4.0/6.4.0.0)" > 7:2021-11-19 08:45:13:aqbanking started > > Possible workaround: did you try to use the 'ofximporter' instead of > 'kbanking' when setting up the mapping of the account? This contains an > independent implementation of the OFX access. Thank you for the input. I have to admit I am not that familiar with the libraries/deps for KMyMoney. I just started using it. How would I use ofximporter instead of kbanking? I just used what Kubuntu installed from the apt repo. That said, I don't see any messages about aqbanking, but do see a message about ofximporter. Here's what I get when starting kmymoney from the cli: $ kmymoney WebConnect: Try to connect to WebConnect server WebConnect: Connect to server failed WebConnect: Starting server failed. Try to remove stale socket. WebConnect: Running in server mode Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/forecastview.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/kcm_checkprinting.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/icalendarexporter.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/qifexporter.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/csvimporter.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/reconciliationreport.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/xmlstorage.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/csvexporter.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/kcm_reportsview.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/reportsview.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/onlinejoboutboxview.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/qifimporter.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/kcm_csvimporter.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/checkprinting.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/sqlstorage.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/konlinetasks_sepa.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/kcm_xmlstorage.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/gncimporter.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/kcm_qif.so" Validity false Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/ofximporter.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/budgetview.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/kbanking.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/kcm_forecastview.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/kcm_icalendarexporter.so" Validity true Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/budgetview.so" Plugins: budgetview loaded Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/checkprinting.so" Plugins: checkprinting loaded Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/csvexporter.so" Plugins: csvexporter loaded Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/csvimporter.so" Plugins: csvimporter loaded Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/forecastview.so" Plugins: forecastview loaded Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/gncimporter.so" Plugins: gncimporter loaded Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/icalendarexporter.so" Plugins: icalendarexporter loaded Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/kbanking.so" "Plugins: kbanking loaded, build with (5.1.3stable-0/6.0.1.0stable), run with (5.1.3.0/6.0.1.0)" Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/ofximporter.so" Plugins: ofximporter loaded Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/onlinejoboutboxview.so" Plugins: onlinejoboutboxview loaded Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/qifexporter.so" Plugins: qifexporter loaded Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/qifimporter.so" Plugins: qifimporter loaded Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/reconciliationreport.so" Plugins: reconciliation report loaded Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/reportsview.so" Plugins: reportsview loaded Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/sqlstorage.so" Plugins: sqlstorage loaded Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/xmlstorage.so" Plugins: xmlstorage loaded reading file start parsing file startDocument reading securities endDocument Cost center model created with items 0 Payees model created with items 0 Later, when I do Settings -> Configure aqBanking and walk through the process of setting up my Amex card: 3:2021/11/19 08-06-17:gwen(3112732):pathmanager.c: 83: Path "aqhbci/xmldatadir" already exists 3:2021/11/19 08-06-17:gwen(3112732):dialog.c: 666: Widget [hbciInitChipcardRadio] not found ... 3:2021/11/19 08-07-10:(null)(3112732):dlg_newuser.c: 965: Doit 3:2021/11/19 08-07-10:(null)(3112732):dlg_newuser.c: 970: Creating user 3:2021/11/19 08-07-10:(null)(3112732):dlg_newuser.c: 1001: Adding user 3:2021/11/19 08-07-10:(null)(3112732):dlg_newuser.c: 1018: Locking user 3:2021/11/19 08-07-10:(null)(3112732):cppgui.cpp: 141: CppGuiLinker::OpenDialog 4:2021/11/19 08-07-10:gwen(3112732):syncio_tls.c: 137: No checkCertFn set, using GWEN_GUI 3:2021/11/19 08-07-10:(null)(3112732):dlg_newuser.c: 1055: Unlocking user 3:2021/11/19 08-07-21:(null)(3112732):dlg_newuser.c: 1358: Activated: wiz_getaccounts_button 3:2021/11/19 08-07-21:(null)(3112732):cppgui.cpp: 141: CppGuiLinker::OpenDialog 3:2021/11/19 08-07-21:aqofxconnect(3112732):n_header.c: 41: Invalid header version "102", using "220" instead. 3:2021/11/19 08-07-53:gwen(3112732):dialog.c: 695: Widget [storePasswordCheck] not found qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 5675, resource id: 35741766, major code: 40 (TranslateCoords), minor code: 0 4:2021/11/19 08-07-53:gwen(3112732):syncio_tls.c: 137: No checkCertFn set, using GWEN_GUI kmymoney: buffer.c:275: GWEN_Buffer_GetUsedBytes: Assertion `bf' failed. KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = kmymoney path = /usr/bin pid = 3112732 KCrash: Arguments: /usr/bin/kmymoney KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi from kdeinit sock_file=/run/user/1000/kdeinit5__0 <and drkonqi takes over> Honestly I'm not sure how to use AqBanking outside of KMyMoney. Thank you for your help. Matt Apparently I didn't have aqbanking-tools or gwenhywfer-tools installed. After installing them I get an additional messare or two before the crash: 3:2021/11/19 08-17-07:(null)(3115388):dlg_newuser.c: 965: Doit 3:2021/11/19 08-17-07:(null)(3115388):dlg_newuser.c: 970: Creating user 3:2021/11/19 08-17-07:(null)(3115388):dlg_newuser.c: 1001: Adding user 3:2021/11/19 08-17-07:(null)(3115388):dlg_newuser.c: 1018: Locking user 3:2021/11/19 08-17-07:(null)(3115388):cppgui.cpp: 141: CppGuiLinker::OpenDialog 4:2021/11/19 08-17-07:gwen(3115388):syncio_tls.c: 137: No checkCertFn set, using GWEN_GUI 3:2021/11/19 08-17-07:(null)(3115388):dlg_newuser.c: 1055: Unlocking user 3:2021/11/19 08-17-08:(null)(3115388):dlg_newuser.c: 1358: Activated: wiz_getaccounts_button 3:2021/11/19 08-17-08:(null)(3115388):cppgui.cpp: 141: CppGuiLinker::OpenDialog 3:2021/11/19 08-17-08:aqofxconnect(3115388):n_header.c: 41: Invalid header version "102", using "220" instead. 3:2021/11/19 08-17-12:gwen(3115388):dialog.c: 695: Widget [storePasswordCheck] not found 4:2021/11/19 08-17-12:gwen(3115388):syncio_tls.c: 137: No checkCertFn set, using GWEN_GUI kmymoney: buffer.c:275: GWEN_Buffer_GetUsedBytes: Assertion `bf' failed. KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = kmymoney path = /usr/bin pid = 3115388 KCrash: Arguments: /usr/bin/kmymoney KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi from kdeinit sock_file=/run/user/1000/kdeinit5__0 It doesn't seem helpful to me, but I wanted to share it in case it is helpful to someone who knows what they're looking at. Created attachment 143735 [details] attachment-31155-0.html I think AmEx stopped supporting OFX direct connect 2 or 3 years ago, at least the way KMM supports it. I stopped using that card so I haven't tried it in a while but I will try mapping it later today. *----* *Brendan Coupe* On Fri, Nov 19, 2021 at 6:21 AM bugzilla_noreply--- via KMyMoney-devel < kmymoney-devel@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=445721 > > --- Comment #3 from matt@eisgr.com --- > Apparently I didn't have aqbanking-tools or gwenhywfer-tools installed. > After > installing them I get an additional messare or two before the crash: > > 3:2021/11/19 08-17-07:(null)(3115388):dlg_newuser.c: 965: Doit > 3:2021/11/19 08-17-07:(null)(3115388):dlg_newuser.c: 970: Creating user > 3:2021/11/19 08-17-07:(null)(3115388):dlg_newuser.c: 1001: Adding user > 3:2021/11/19 08-17-07:(null)(3115388):dlg_newuser.c: 1018: Locking user > 3:2021/11/19 08-17-07:(null)(3115388):cppgui.cpp: 141: > CppGuiLinker::OpenDialog > 4:2021/11/19 08-17-07:gwen(3115388):syncio_tls.c: 137: No checkCertFn set, > using GWEN_GUI > 3:2021/11/19 08-17-07:(null)(3115388):dlg_newuser.c: 1055: Unlocking user > 3:2021/11/19 08-17-08:(null)(3115388):dlg_newuser.c: 1358: Activated: > wiz_getaccounts_button > 3:2021/11/19 08-17-08:(null)(3115388):cppgui.cpp: 141: > CppGuiLinker::OpenDialog > 3:2021/11/19 08-17-08:aqofxconnect(3115388):n_header.c: 41: Invalid > header > version "102", using "220" instead. > 3:2021/11/19 08-17-12:gwen(3115388):dialog.c: 695: Widget > [storePasswordCheck] > not found > 4:2021/11/19 08-17-12:gwen(3115388):syncio_tls.c: 137: No checkCertFn set, > using GWEN_GUI > kmymoney: buffer.c:275: GWEN_Buffer_GetUsedBytes: Assertion `bf' failed. > KCrash: crashing... crashRecursionCounter = 2 > KCrash: Application Name = kmymoney path = /usr/bin pid = 3115388 > KCrash: Arguments: /usr/bin/kmymoney > KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi from > kdeinit > sock_file=/run/user/1000/kdeinit5__0 > > It doesn't seem helpful to me, but I wanted to share it in case it is > helpful > to someone who knows what they're looking at. > > -- > You are receiving this mail because: > You are the assignee for the bug. I just tried mapping AmEx. There are 3 options, kbanking, ofximporter & woob. I picked ofximporter. Everything went fine, I used Quicken 2019 and header version 103. When I try to download transactions, I get an internal server error. I assume I would neot get any transactions but can't be sure since the newest one is 3 years old. KMM does not crash at any point int he process. I'm on the latest compiled version from the 5.1 branch. I have to admit, that the naming is a bit weird. Here's the information I was asking for about the AqBanking/Gwenhywfar versions you are using: Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/kbanking.so" "Plugins: kbanking loaded, build with (5.1.3stable-0/6.0.1.0stable), run with (5.1.3.0/6.0.1.0)" Looking at your KMyMoney version, that combination is rather old and the problem you encounter may already been fixed. To be able to select the alternative OFX implementation you need to unmap the account first. The method selection is the first thing that is asked for in the mapping process and you cannot change it afterwards. You may want to try a stable AppImage version. See https://kmymoney.org/appimage for more details on how to install and run it. (In reply to Brendan from comment #5) > I just tried mapping AmEx. There are 3 options, kbanking, ofximporter & > woob. I picked ofximporter. > > Everything went fine, I used Quicken 2019 and header version 103. > > When I try to download transactions, I get an internal server error. I > assume I would neot get any transactions but can't be sure since the newest > one is 3 years old. > > KMM does not crash at any point int he process. I'm on the latest compiled > version from the 5.1 branch. Thank you. Did you compile yourself? If not, where did you get your packages from? Do you have any suggestions for someone running Kubuntu 20.04.3? Thank you! Matt (In reply to Thomas Baumgart from comment #6) > I have to admit, that the naming is a bit weird. Here's the information I > was asking for about the AqBanking/Gwenhywfar versions you are using: > > Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/kbanking.so" > "Plugins: kbanking loaded, build with (5.1.3stable-0/6.0.1.0stable), run > with (5.1.3.0/6.0.1.0)" > > Looking at your KMyMoney version, that combination is rather old and the > problem you encounter may already been fixed. > > To be able to select the alternative OFX implementation you need to unmap > the account first. The method selection is the first thing that is asked for > in the mapping process and you cannot change it afterwards. > > You may want to try a stable AppImage version. See > https://kmymoney.org/appimage for more details on how to install and run it. Thank you for this link. I didn't know the AppImage version existed. I apparently just setup a connection to Amex... now to see if it worked, or if I needed to have that account setup first? I'm such a n00b to KMyMoney. I appreciate your help. Key takeaway: the AppImage latest did not crash. I compile from source every week or two. I have scripts to manage everything but the dependency issues, which you only have to figure out once. Let me know if you want to try my scripts and I will send you link to them. 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 mark the bug 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! This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now 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 Thank you for helping us make KDE software even better for everyone! |