Bug 415519 - AppImage - aqbanking Update (All) Accounts not working
Summary: AppImage - aqbanking Update (All) Accounts not working
Status: REPORTED
Alias: None
Product: kmymoney
Classification: Applications
Component: onlinebanking (show other bugs)
Version: 5.0.7
Platform: ROSA RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Asira ishihara
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-24 09:47 UTC by jochen
Modified: 2023-10-31 02:01 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Import Message (15.54 KB, image/png)
2019-12-24 09:47 UTC, jochen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jochen 2019-12-24 09:47:40 UTC
Created attachment 124684 [details]
Import Message

SUMMARY
Importing transactions/account statements not working, not for single account, not for all accounts.

STEPS TO REPRODUCE
1. Menu: Account > Update all accounts...
2. 
3. 

OBSERVED RESULT
Immediately a window pops up reporting no transactions imported (attached). No prompt for HBCI/bank login, etc. No output on console either!

EXPECTED RESULT
Prompted for HBCI/bank login, tx imported

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: non-Plasma / Linux (x86_64) release 5.4.2-arch1-1
(available in About System)
KDE Plasma Version: n/a
KDE Frameworks Version: n/a 
Qt Version: qt5

ADDITIONAL INFORMATION
KMyMoney version (appimage): 5.0.7-05ff395
Comment 1 Thomas Baumgart 2019-12-24 12:51:38 UTC
Works using KMyMoney-5.0.7-3227834-x86_64.AppImage without problems (single and all accounts). Please update to a recent AppImage (yours is two months old) and re-check.
Comment 2 jochen 2019-12-24 19:47:29 UTC
Thank you for swift reply. Using KMyMoney-5.0.7-3227834-x86_64.AppImage does still not work for me. Pls note that I do not have a local aqbanking installation - just in case this matters. Upgrading/downloading accounts did work, downloading transaction/statements does not. Weird.
Comment 3 Thomas Baumgart 2019-12-25 07:08:43 UTC
I therefore removed my local installs of AqBanking, Gwenhywfar and KMyMoney before I ran the test. Since you can download the accounts from the bank, it seems that the plugin loads OK.

A few questions:
Please check the settings in the "edit account/online settings/download" tab. Does it help to change the default start date to 'Ask user'? What happens when you do so?

Which KMyMoney version did you setup the online banking with and when (before Sept 2019 or after)?

Did you try to unmap/map the account(s) already? If not, try one and see if that makes a difference.
Comment 4 jochen 2019-12-25 16:48:16 UTC
Again, thank you for looking into this and very swift reply - in particular on days like this: merry x-mas.

I tried now:
- Checked "edit account/online settings/download" tab: Already set to "ask user"
- Unmapped/remapped accounts: no change
- Deleted .aqbanking and setup aqbanking again (in KMyMoney)
-- User got created
-- Accounts got downloaded
-- TX still not loading/unchanged
- Started from scratch, i.e. created new kmy-file
- Added just one account (as prompted during setup process)
- Mapped account
- Unchanged, still same behvior, i.e. TX not pulled from bank

What puzzles me most: There is no logging at all on console when trying to download transactions. 

Initially my setup was created on <5.0.3 - 5.0.3 was working fine until 2FA kicked in. That version is on running as docker image, which I was hoping to get rid of by using appimage. Worse comes to worst I will build a new docker image with 5.0.7 version. I just thought I raise a bug since it might affect others as well.
Comment 5 Thomas Baumgart 2019-12-26 07:57:33 UTC
That is really weird as things work for me just perfectly. Do you see any output on the console when running the update after starting the AppImage with the following command:

AQHBCI_LOGLEVEL=debug ./KMyMoney-5.0.7-3227834-x86_64.AppImage
Comment 6 jochen 2019-12-26 12:51:11 UTC
Yes, it is a strange issue. I do not mind if the ticket gets closed without solution. Might be a one off issue, dedicated to my installation. Although there is nothing I can think of what could be that special.

Using AQHBCI_LOGLEVEL=debug ./KMyMoney-5.0.7-3227834-x86_64.AppImage does not change anything. Console stay empty when trying to update - whether for single account or all. Of course, other log messages are logged to console.

Given how fast the window with the message ("no transactions imported"; as attached) appears, I am not prompted for HBCI/bank login and nothing logged to console, it almost appears to me like that's a dead menu/button. But given it is working for you, this cannot be true.
Comment 7 heiner 2019-12-29 16:37:22 UTC
I have exactly the same behaviour :(
Debug log just says nothing when I click to update.
just before it's complaining about 

banking_compat.c:   58: Invalid account id for alias "A000003"

KMyMoney version is 5.0.7 and libaqbanking 5.99.43beta-2
Comment 8 Jack 2019-12-29 17:55:52 UTC
(In reply to heiner73 from comment #7)
Why did you remove appimage from the platform?  Are you saying you have this problem with either a distro installed or self-compiled version?
Comment 9 heiner 2019-12-29 18:26:21 UTC
oh sorry: I used the ubuntu package and didn't try the AppImage because it was exactly the same behaviour.

However I tried now the current AppImage ab30728 and it's exactly the same. No log when I click to update the account...
Comment 10 Jack 2019-12-29 19:00:36 UTC
Thanks.  The fact that you observe the same behavior with the Ubuntu package means the problem is unlikely to be related to the AppImage itself or how it is packaged.  Also, confirming with today's appimage suggests it is not due to some bug which has been fixed already.
Comment 11 Thomas Baumgart 2019-12-30 07:59:39 UTC
Are you coming from an older version of AqBanking? Did you follow instructions on https://www.aquamaniac.de/rdm/projects/aqbanking/wiki/AqBanking6 ? Does re-mapping (unmap/map) the account help? I suggest that, because the error message should not appear as a result of starting the update.
Comment 12 Thomas Baumgart 2019-12-30 08:50:19 UTC
And https://www.aquamaniac.de/rdm/projects/aqbanking/wiki/PSD2 is also important.
Comment 13 jochen 2019-12-30 18:54:21 UTC
Not sure whether this helps: I build gwenhywfar, aqbanking and kmymoney in (archlinux) docker image. All three fresh from git/master. Getting now same behaviour (#41518 & this ticket) than using appimage. Reverted back to previous docker build (kmymoney 5.0.3). At least shortcuts working again.
Comment 14 jochen 2019-12-30 18:55:22 UTC
Forgot to mention: I was starting with a new .aqbanking profile, did not migrate.
Comment 15 heiner 2020-02-23 16:56:32 UTC
(In reply to Thomas Baumgart from comment #12)
> And https://www.aquamaniac.de/rdm/projects/aqbanking/wiki/PSD2 is also
> important.

Just for completeness: above link was the solution for me. 
Because the page is in german only here a short summary:
1. open configuration dialog of AqBanking
2. edit user
3. under special actions click the "get bank info" and "get system ID"
4. select the correct TAN-method
5. get list of accounts

then it should work...
Comment 16 Jack 2023-10-31 02:01:32 UTC
ralamsyah573@gmail.com - what are you trying to accomplish here?  This is the second bug report you have changed this evening, without clear purpose.  Has someone hijacked your bugzilla account?