[kmymoney] [Bug 384051] No reset of hcbi account pin possible

2019-10-03 Thread Thomas Baumgart
https://bugs.kde.org/show_bug.cgi?id=384051

Thomas Baumgart  changed:

   What|Removed |Added

 Resolution|--- |UPSTREAM
 Status|REPORTED|RESOLVED

--- Comment #3 from Thomas Baumgart  ---
Hm, that might be the impression to the user, KMyMoney just tells Gwenhywfar
after a 60 second timeout to clear the cached password using

  GWEN_Gui_SetPasswordStatus(NULL, NULL, GWEN_Gui_PasswordStatus_Remove, 0);

The timer is started at the beginning and end of 

  int KBankingExt::executeQueue(AB_IMEXPORTER_CONTEXT *ctx)

but keeping the PIN is the sole activity of Gwenhywfar. Since the AqBanking
configuration dialog is called without the usage of the job queue (it's a
simple dialog) I am with Stefan and his comment #1.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 398982] Opening Balances in forecast are wrong

2019-10-03 Thread Thomas Baumgart
https://bugs.kde.org/show_bug.cgi?id=398982

--- Comment #6 from Thomas Baumgart  ---
Changing the sign breaks a testcase. Did you run 'make test'? BTW, I just
verified that the testcase is correct. Running 'make test' produces
'bin/report-03.csv' which shows the data.

The opening balance is constructed by 3 transactions

 - a withdrawal from the checking account at 14.00
 - a withdrawal from the credit card at 88.01
 - a withdrawal from the credit card at 133.22

Remember, that the balance of liabilities is shown with reverse sign in
reports.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 412570] New: appimage csv import not available

2019-10-03 Thread Jaka Kranjc
https://bugs.kde.org/show_bug.cgi?id=412570

Bug ID: 412570
   Summary: appimage csv import not available
   Product: kmymoney
   Version: git (master)
  Platform: Appimage
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: importer
  Assignee: kmymoney-devel@kde.org
  Reporter: s...@lynxlynx.info
  Target Milestone: ---

SUMMARY
I'm trying a stable appimage and in the settings, the csv importer plugin is
there; however it's not present in the file menu for actual importing.

STEPS TO REPRODUCE
1. Get a stable appimage and run it.
2. Check settings to see that CSV importer is there, enabled and configurable —
all by default
3. Check the File > Import submenu, where only account templates are listed.

OBSERVED RESULT
Not possible to run CSV import.

EXPECTED RESULT
Possible to run CSV import.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 412570] appimage csv import not available

2019-10-03 Thread Thomas Baumgart
https://bugs.kde.org/show_bug.cgi?id=412570

Thomas Baumgart  changed:

   What|Removed |Added

 Status|REPORTED|NEEDSINFO
 Resolution|--- |WAITINGFORINFO

--- Comment #1 from Thomas Baumgart  ---
I am unable to reproduce this with KMyMoney-5.0.80-ac52211-x86_64.AppImage nor
KMyMoney-5.0.7-cf73ac5-x86_64.AppImage. Both work as expected. Which one did
you try?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 412570] appimage csv import not available

2019-10-03 Thread Jaka Kranjc
https://bugs.kde.org/show_bug.cgi?id=412570

Jaka Kranjc  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |NOT A BUG
 Status|NEEDSINFO   |RESOLVED

--- Comment #2 from Jaka Kranjc  ---
It was KMyMoney-5.0.7-cfd038c-x86_64.AppImage ... however now that I reran it,
the menu is there. Eeeh.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 412570] appimage csv import not available

2019-10-03 Thread Jaka Kranjc
https://bugs.kde.org/show_bug.cgi?id=412570

Jaka Kranjc  changed:

   What|Removed |Added

 Resolution|NOT A BUG   |---
 Ever confirmed|0   |1
 Status|RESOLVED|REOPENED

--- Comment #3 from Jaka Kranjc  ---
Aha! It is indeed a dependency issue. It worked the second time and for you,
since I installed KMM via my package manager in the meanwhile, just to see if
it could cope with my CSVs. I uninstalled it after the successful appimage
rerun, thinking it was a heisenbug, but now it doesn't work again.

So something isn't packaged in the image and it only works if the library is
present on the system.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 412570] appimage csv import not available

2019-10-03 Thread Thomas Baumgart
https://bugs.kde.org/show_bug.cgi?id=412570

--- Comment #4 from Thomas Baumgart  ---
So I uninstalled KMyMoney (and AqBanking just in case) but I am still unable to
duplicate the problem: the menu is there. So where is the Heisenbug?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 412577] New: Optical Tan Methods not working / no dialogue shown for tan

2019-10-03 Thread Marvin Dickhaus
https://bugs.kde.org/show_bug.cgi?id=412577

Bug ID: 412577
   Summary: Optical Tan Methods not working / no dialogue shown
for tan
   Product: kmymoney
   Version: 5.0.7
  Platform: Compiled Sources
OS: Linux
Status: REPORTED
  Severity: major
  Priority: NOR
 Component: onlinebanking
  Assignee: kmymoney-devel@kde.org
  Reporter: account-...@marvindickhaus.de
  Target Milestone: ---

SUMMARY

I compiled the latest aqbanking

Versions:
 AqBanking-CLI: 5.99.38
 Gwenhywfar   : 4.99.20.0
 AqBanking: 5.99.38.0

and kmymoney 5.0.7. It seems like the optical TAN methods (see
https://www.aquamaniac.de/rdm/projects/aqbanking/wiki/ImplementTanMethods) are
not implemented?

When I try to connect to my account with comdirect Bank, (tan method photoTan)
I'm unable to retrieve any values where a TAN input is required.

aqhbci-tool4 getaccs lists a TAN so it looks like the account is working as far
as aqbanking is concerned.


HBCI: 0030 - TAN-Eingabe erforderlich. (S)
Dialog not aborted, assuming PIN is ok
3:2019/10/03 21-54-11:aqhbci(39619):provider_tan.c:  112: ChallengeHHD is
[0009696D6167652F706E670E8F89504E470D0A1A0A000D4948445200D600D6080600ADE37C2E0E564944415478DAED9DB16E145B16451D3874E00F7040E0F07D82030232C8F98527915A2224B54442404EEAD0129FE01489809080D0A10302C21AF
3:2019/10/03 21-54-11:aqhbci(39619):provider_tan.c:  120: Created challenge
HHUD is:
3:2019/10/03 21-54-11:aqhbci(39619):String size is 3740
3:2019/10/03 21-54-11:aqhbci(39619):: 00 09 69 6d 61 67 65 2f 70 6e 67 0e
8f 89 50 4e ..image/png...PN
3:2019/10/03 21-54-11:aqhbci(39619):0010: 47 0d 0a 1a 0a 00 00 00 0d 49 48 44
52 00 00 00 GIHDR...




STEPS TO REPRODUCE
1. Configure aqbanking with a HBCI bank that uses an optical TAN method
2. Try to list accounts
3. 

OBSERVED RESULT
Dialogue aborts unexpected

EXPECTED RESULT
TAN dialogue is displayed with the optical image.

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 412570] appimage csv import not available

2019-10-03 Thread Jaka Kranjc
https://bugs.kde.org/show_bug.cgi?id=412570

--- Comment #5 from Jaka Kranjc  ---
I get the same result. Manually installing libaquabanking drags these debs in:
libaqbanking-data libaqbanking35 libaqbanking35-plugins libaqebics0 libaqhbci24
libaqofxconnect7 libgwenhywfar-data libgwenhywfar60
  libktoblzcheck1v5

But that's not enough. You don't know which dependencies are connected to this?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 412570] appimage csv import not available

2019-10-03 Thread Jack
https://bugs.kde.org/show_bug.cgi?id=412570

--- Comment #6 from Jack  ---
What about running the appimage from command line to see if it throws any
errors?  Also, I believe there is a command line parameter to unpack the
appimage, and they you could try ldd on the main kmymoney executable.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 412570] appimage csv import not available

2019-10-03 Thread Jaka Kranjc
https://bugs.kde.org/show_bug.cgi?id=412570

--- Comment #7 from Jaka Kranjc  ---
I am running from cmd, but the log looked too noisy before. Here are the
relevant parts:

Located plugin "/tmp/.mount_KMyMon9Z2Qr4/usr/plugins/kmymoney/csvimporter.so"
Validity true
/.../
Loading "/tmp/.mount_KMyMon9Z2Qr4/usr/plugins/kmymoney/csvimporter.so"
kf5.kxmlgui: cannot find .rc file "csvimporter.rc" for component "csvimporter"
Plugins: csvimporter loaded

So it seems you were right in the sense that it's not a library problem.
Similar errors for some other plugins.

The rc is there, in
/tmp/.mount_KMyMon*/usr/share/kxmlgui5/csvimporter/csvimporter.rc, so why
doesn't it find it? Is this a Qt versioning thing? Mine is 5.11.1.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 412570] appimage csv import not available

2019-10-03 Thread Jaka Kranjc
https://bugs.kde.org/show_bug.cgi?id=412570

--- Comment #8 from Jaka Kranjc  ---
These are the places it's looking at here:

$ strace ./KMyMoney-5.0.7-cfd038c-x86_64.AppImage |& grep -i csvimporter.rc
stat("~/.local/share/kxmlgui5/csvimporter/csvimporter.rc", 0x7ffdf7608b00) = -1
ENOENT (No such file or directory)
stat("/usr/share/plasma/kxmlgui5/csvimporter/csvimporter.rc", 0x7ffdf7608b00) =
-1 ENOENT (No such file or directory)
stat("/usr/local/share/kxmlgui5/csvimporter/csvimporter.rc", 0x7ffdf7608b00) =
-1 ENOENT (No such file or directory)
stat("/usr/share/kxmlgui5/csvimporter/csvimporter.rc", 0x7ffdf7608b00) = -1
ENOENT (No such file or directory)
stat("/var/lib/snapd/desktop/kxmlgui5/csvimporter/csvimporter.rc",
0x7ffdf7608b00) = -1 ENOENT (No such file or directory)
stat("/~/.local/share/csvimporter.rc", 0x7ffdf7608b00) = -1 ENOENT (No such
file or directory)
stat("/usr/share/plasma/csvimporter.rc", 0x7ffdf7608b00) = -1 ENOENT (No such
file or directory)
stat("/usr/local/share/csvimporter.rc", 0x7ffdf7608b00) = -1 ENOENT (No such
file or directory)
stat("/usr/share/csvimporter.rc", 0x7ffdf7608b00) = -1 ENOENT (No such file or
directory)
stat("/var/lib/snapd/desktop/csvimporter.rc", 0x7ffdf7608b00) = -1 ENOENT (No
such file or directory)
stat("~/.local/share/csvimporter/csvimporter.rc", 0x7ffdf7608b00) = -1 ENOENT
(No such file or directory)
stat("/usr/share/plasma/csvimporter/csvimporter.rc", 0x7ffdf7608b00) = -1
ENOENT (No such file or directory)
stat("/usr/local/share/csvimporter/csvimporter.rc", 0x7ffdf7608b00) = -1 ENOENT
(No such file or directory)
stat("/usr/share/csvimporter/csvimporter.rc", 0x7ffdf7608b00) = -1 ENOENT (No
such file or directory)
stat("/var/lib/snapd/desktop/csvimporter/csvimporter.rc", 0x7ffdf7608b00) = -1
ENOENT (No such file or directory)
write(2, "kf5.kxmlgui: cannot find .rc fil"..., 79kf5.kxmlgui: cannot find .rc
file "csvimporter.rc" for component "csvimporter"

I don't know enough about appimages to say if anything is fishy about the
paths. Is there a non-root way to do chroots nowadays?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 412570] appimage csv import not available

2019-10-03 Thread Jack
https://bugs.kde.org/show_bug.cgi?id=412570

--- Comment #9 from Jack  ---
Not finding the rc file is not an error, just a notification, as the plugin
does get loaded.  I also know little about appimage packaging.

However, I uninstalled KMyMoney and I DO reproduce the issue.  I don't have
aqbanking installed, so that seems not related.  I do see an error from
gwenhywfar '401: plugin "dir" not found' and from aqbanking '405: No config
manager.'  but I get those with or without the system KMM package installed.

I used the --appimage-extract parameter when running the appimage, and then
tried ldd on several files in the unpacked version - but didn't find anything
it couldn't find.

Thomas - can you try also uninstalling gwenhywfar to see if it makes a
difference for you?

Jaka - I don't understand your question about chroot?  I do think chroot is
still restricted to root, but don't know why you would need it here.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 412570] appimage csv import not available

2019-10-03 Thread Thomas Baumgart
https://bugs.kde.org/show_bug.cgi?id=412570

--- Comment #10 from Thomas Baumgart  ---
I uninstalled Gwenhywfar and remove my csvimporterrc file. The csv import still
shows up in the menu.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 412577] Optical Tan Methods not working / no dialogue shown for tan

2019-10-03 Thread Thomas Baumgart
https://bugs.kde.org/show_bug.cgi?id=412577

Thomas Baumgart  changed:

   What|Removed |Added

 Resolution|--- |WAITINGFORINFO
 Status|REPORTED|NEEDSINFO

--- Comment #1 from Thomas Baumgart  ---
Did you use the 5.0.7 tar-ball? That is too old. Photo-tan was added after
5.0.7 and you need to use the sources from the 5.0 stable branch. No guarantee
that it works though (I don't have a photo-tan account).

Change history: https://cgit.kde.org/kmymoney.git/log/?h=5.0

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 412570] appimage csv import not available

2019-10-03 Thread Jack
https://bugs.kde.org/show_bug.cgi?id=412570

--- Comment #11 from Jack  ---
I just noticed I also get "Could not initialize KBanking online banking
interface" and the kbanking plugin seems to not have been loaded.  However I
don't know that is relevant.  All the import and exporter plugins claim to have
loaded, but none show up on the import or export menu.
I don't have any more time today, but would it help to use a debugger to trace
through the code that adds or doesn't add any of the importers to the menu?

-- 
You are receiving this mail because:
You are the assignee for the bug.