[kmymoney4] [Bug 321649] No input form dialog appears when i try to add a new account in aqbanking

2017-05-23 Thread Ralf Habacker
https://bugs.kde.org/show_bug.cgi?id=321649

--- Comment #8 from Ralf Habacker  ---
Reported upstream with patch at
https://git.aqbanking.de/trac/aqbanking/ticket/292

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmymoney4] [Bug 321649] No input form dialog appears when i try to add a new account in aqbanking

2017-05-23 Thread Ralf Habacker
https://bugs.kde.org/show_bug.cgi?id=321649

Ralf Habacker  changed:

   What|Removed |Added

 CC||ralf.habac...@freenet.de

--- Comment #7 from Ralf Habacker  ---
Same issue here with 4.8.0 on Linux and Windows.

backtrace is 
#0  AB_SetupDialog_AddAccount (dlg=dlg@entry=0x5e63c60) at dlg_setup.c:894
#1  0x62e4a3b5 in AB_SetupDialog_HandleActivated (dlg=0x5e63c60,
sender=0x9ad56d0 "addAccountButton") at dlg_setup.c:1061
#2  0x62d8edc3 in GWEN_Dialog_EmitSignal (dlg=0x5e63c60,
t=GWEN_DialogEvent_TypeActivated, sender=0x9ad56d0 "addAccountButton") at
dialog.c:
#3  0x6f18180e in QT4_DialogBox::slotActivated (this=0x9ad4bf0) at
qt4dialogbox.cpp:117

Tracing the dialog creation in

int AB_SetupDialog_AddAccount(GWEN_DIALOG *dlg) {
  AB_SETUP_DIALOG *xdlg;
  AB_PROVIDER *pro;
  const char *s;
  const char *initialProvider=NULL;
  uint32_t flags;

  assert(dlg);
  xdlg=GWEN_INHERIT_GETDATA(GWEN_DIALOG, AB_SETUP_DIALOG, dlg);
  assert(xdlg);

  s=GWEN_I18N_GetCurrentLocale();
  if (s && *s) {
if (strstr(s, "de_"))
  initialProvider="aqhbci";
else
  initialProvider="aqofxconnect";
  }
  pro=AB_SelectBackend(xdlg->banking,
   initialProvider,
   I18N("Please select the online banking backend the new "
"account is to be created for."));
  if (pro==NULL) {
DBG_ERROR(0, "No provider selected.");
return GWEN_DialogEvent_ResultHandled;
  }

gives 

(gdb) p *pro
$9 = {INHERIT__list = 0x5de1968, _list1_element = 0x5de2450, banking =
0x53db618, name = 0x5dc99b8 "AQHBCI", escName = 0x5dc9aa0 "aqhbci",
  initFn = 0x705e0b30 , finiFn = 0x705e09d0
, updateJobFn = 0x705e0730 , addJobFn
  executeFn = 0x705de680 , resetQueueFn = 0x705e1650
, extendUserFn = 0x705de660 , updateFn =
0x705e11c0 , getNewUserDialogFn = 0x705de080 ,
getNewAccountDialogFn = 0x0, getEditAccountDialogFn = 0x705e0f80
, getUserTypeDialogFn = 0x705e10b0
, plugin = 0x0, usage = 1, flags = 27, isInit =
1}


  flags=AB_Provider_GetFlags(pro);
  if (flags & AB_PROVIDER_FLAGS_HAS_EDITACCOUNT_DIALOG) {  

here value 27 & 8 --> true

GWEN_DIALOG *dlg2;
int rv;

dlg2=AB_Provider_GetNewAccountDialog(pro);  

-> dlg2 is zero because getNewAccountDialogFn is zero as shown in 'p *pro'
above

if (dlg2==NULL) {
  DBG_ERROR(AQBANKING_LOGDOMAIN, "Could not create dialog");

--> this message has been printed

  return GWEN_DialogEvent_ResultHandled;
}

rv=GWEN_Gui_ExecDialog(dlg2, 0);
if (rv==0) {
  /* rejected */
  GWEN_Dialog_free(dlg2);
  return GWEN_DialogEvent_ResultHandled;
}

It looks to be a mismatch to check AB_PROVIDER_FLAGS_HAS_EDITACCOUNT_DIALOG and
then to use the address of GetNewAccountDialog().

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmymoney4] [Bug 321649] No input form dialog appears when i try to add a new account in aqbanking

2016-09-06 Thread Christian David via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=321649

--- Comment #6 from Christian David  ---
I have this issue from time to time. Usually it is caused by some missing
plugins or incorrect paths (there are many in aqbanking). Maybe the package was
defect.

-- 
You are receiving this mail because:
You are watching all bug changes.


[kmymoney4] [Bug 321649] No input form dialog appears when i try to add a new account in aqbanking

2016-08-28 Thread boris64 via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=321649

--- Comment #5 from boris64  ---
I have exactly the same problem. Did somebody find a way around this? Is
anybody using kmymoney with hbci and stuff?

-- 
You are receiving this mail because:
You are watching all bug changes.


[kmymoney4] [Bug 321649] No input form dialog appears when i try to add a new account in aqbanking

2016-08-22 Thread boris64 via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=321649

boris64  changed:

   What|Removed |Added

 CC||bugs@boris64.net

-- 
You are receiving this mail because:
You are watching all bug changes.