Public bug reported:

Binary package hint: libaqbanking20-plugins-qt

This applies to both Ubuntu 8.04 and 8.10, (ever since Ubuntu shipped
aqconnect).

It worked in GnuCash 2.2.1 (aqbanking-3.99.6beta built from source).
It fails on gnucash-2.2.6 (libaqbanking20-3.5.1-1).
 
The problem:
It crashes while setting up an online banking account, following the 
instructions in "Setting up OFXDirectConnect in GnuCash 2" 
(http://wiki.gnucash.org/wiki/Setting_up_OFXDirectConnect_in_GnuCash_2).

I start the aqBanking wizard (with Tools-> Online Baking Setup),
I then "Start AqBanking Wizard",
I select the "Users" tab,
I bring up the dialog to create a "New" user,
I fill in all the data.  Note that as far as I can tell, it crashes before it 
even tries to log in, so you probably don't need a valid account to test this.

For example, in the "General" tab:
   User Settings
      User Name: anything
      User Id: (my DiscoverCard login id)
      Customer Id: (same as the User ID)
   Bank Settings
      Country: United States of America
      Bank Id: 7101
In the OFX tab:
   Bank Settings
      FID: 7101
      ORG: Discover Financial Services
      Broker Id: (leave blank)
   Server Options
      Supports Account List Download (SELECT)
      Supports Statement Download (SELECT)
      Force SSLv3 (SELECT)
      (Leave all others blank)
   Expert Settings (Leave alone)

Then press the "Get Accounts" button and it will crash with messages like this:
   aqbanking(14182):qbanking.cpp:  420: No Qt translation found for your 
language en
   gwen(14182):dbrw.c:  963: 
open(/home/user/.aqbanking/shared/qbanking/settings.conf, O_RDONLY): No such 
file or directory
   qt3_wizard(14182):qbcfgtabpageusers.cpp:  149: Selected backend: aqofxconnect
   qt3-wizard: buffer.c:987: GWEN_Buffer_AppendString: Assertion `buffer' 
failed.

For many months I've tried everything I could think of. I Googled every 
combination I could think of, I tried out various updates, I downloaded the 
source, compiled it myself, and even tried debugging it with GDB. The assertion 
failure seemed to happen when it tried to access a "user" field while 
attempting to construct the message to send to the banking site (from what I 
can remember).
 
Today I found a workaround.
 
Do not push the "Get Accounts" button while setting up a "New User". Instead, 
hit the "OK" button to finish user creation, then select that new User from the 
"Configuration" dialog, edit the user using the "Edit" button, switch back to 
the "OFX" tab you were on a moment ago, and now hit the "Get Accounts" button.
 
It looks like the "Get Accounts" button is ignoring the current entries in the 
"User Configuration" dialog, and only using the entries that have previously 
been saved out to the overall "Configuration" dialog.

** Affects: libaqbanking (Ubuntu)
     Importance: Undecided
         Status: New

-- 
GnuCash OFX account setup crashes with assertion failure
https://bugs.launchpad.net/bugs/351189
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to