Re: [GNC-dev] New OFX Requirements For USAA FSB

2021-02-12 Thread Martin Preuss
Bob,

Am 12.02.21 um 04:40 schrieb Bob White:
[...]
> Not being familiar with the gwenhywfar lib I haven't been able to see the 
> actual buffer with the content of the POST request.
[...]

You could increase the logelvel of libgwen to "debug", that should show the 
header sent (among many, many other things):

GWEN_LOGLEVEL=debug aqbanking-cli ...

However, you could also call the OFXDirectConnect backend with a account list 
request:

X8
aqbanking-cli --control=aqofxconnect listusers
X8

This shows the list of OFX users setup for AqBanking, the needed user id is at 
the end of the resulting line.

You can then request a list of accounts for that bank:

X8
GWEN_LOGLEVEL=debug aqbanking-cli --control=aqofxconnect getaccounts -u USERID
X8

This will produce a ton of logs on the console and possibly contain sensitive 
information not to post unfiltered...


Regards
Martin

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: [GNC-dev] New OFX Requirements For USAA FSB

2021-02-12 Thread Bob White via gnucash-devel

Martin,

Thanks!  Being able to see the header cleared things right up--there was a spurious 
"%0A" hanging off the end of the my 'serverAddr' in the user settings file, how 
it got there I do not know.

As it turns out, with a proper user config, the current master branches of 
gwenhywfar and aqbanking/aqbanking-cli are good to download from USAA's new OFX 
URL https://df3cx-services.1fsapi.com/casm/usaa/access.ofx.

For the list--when is the next release of GnuCash?

Regards,

Bob





On February 12, 2021 at 9:50 AM, Martin Preuss  wrote:

Bob,

Am 12.02.21 um 04:40 schrieb Bob White:
[...]
Not being familiar with the gwenhywfar lib I haven't been able to see the 
actual buffer with the content of the POST request.
[...]

You could increase the logelvel of libgwen to "debug", that should show the 
header sent (among many, many other things):

GWEN_LOGLEVEL=debug aqbanking-cli ...

However, you could also call the OFXDirectConnect backend with a account list 
request:

X8
aqbanking-cli --control=aqofxconnect listusers
X8

This shows the list of OFX users setup for AqBanking, the needed user id is at 
the end of the resulting line.

You can then request a list of accounts for that bank:

X8
GWEN_LOGLEVEL=debug aqbanking-cli --control=aqofxconnect getaccounts -u USERID
X8

This will produce a ton of logs on the console and possibly contain sensitive 
information not to post unfiltered...


Regards
Martin

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: [GNC-dev] [GNC] USAA FSB requires newer QWIN support

2021-02-12 Thread Bob White via gnucash-devel

I got new USAA OFX download working with GNC 4.4.1.

It's mainly a configuration task.

-- User config --
int uniqueId=""
char backendName="aqofxconnect"
char userName=""
char userId=""
char customerId=""
char country="us"
char bankCode="314074269"
int lastSessionId="0"

data {
  backend {
    char bankName="USAA Federal Savings Bank"
    char org="USAA Federal Savings Bank"
    char fid="67811"
    char 
serverAddr="https%3A%2F%2Fdf3cx-services.1fsapi.com%2Fcasm%2Fusaa%2Faccess.ofx"
    char appId="QMOFX"
    char appVer="2300"
    char headerVer="103"
    char clientUid=""
    int httpVMajor="0"
    int httpVMinor="0"
    char httpUserAgent="InetClntApp%2F3.0"
  } #backend
} #data
-

Notes:
  -- 'httpUserAgent' is currently not configurable through GNC v4.4.1, but it 
works when included in the file.  It has been added in newer AqBanking, look 
for support in next GNC release.
  -- 'CLIENTUID' can be found in OFXLog.txt generated by Quicken.  Signup for 
trial and cancel within 30 days no charge.
  -- 'your new USAA access id' can be found at https://www.usaa.com/accessid

You will need to disconnect accounts from within the AqBanking Wizard, download 
accounts with new user configuration, then reconnect accounts.  In my case, the 
new credit card account numbers in the accounts list are not a 100% match to 
the number found on your credit card.  There were enough common digits to know 
which was which, just be aware.  I was able to successfully download and update 
2 checking accounts, a savings account, and a credit card account.

I hope this helps.

Regards,

Bob

PS.  I did clone the AqBanking repo and build and install the latest libraries 
on the same machine I am running GNC.  I am not sure if the GNC used the 
libraries distributed with it or the ones I built so YMMV.
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: [GNC-dev] New OFX Requirements For USAA FSB

2021-02-12 Thread John Ralls
Bob,

The next GnuCash release is 6 weeks from Sunday. This has nothing to do with 
GnuCash code so that doesn't really matter except that it's the next regular 
opportunity to update the bundled AQBanking for flatpak, macOS, and Microsoft 
Windows. Once Martin releases a new AQBanking version with the changes we can 
generate new bundles on 4.4, we needn't wait for a release.

Regards,
John Ralls


> On Feb 12, 2021, at 10:46 AM, Bob White via gnucash-devel 
>  wrote:
> 
> Martin,
> 
> Thanks!  Being able to see the header cleared things right up--there was a 
> spurious "%0A" hanging off the end of the my 'serverAddr' in the user 
> settings file, how it got there I do not know.
> 
> As it turns out, with a proper user config, the current master branches of 
> gwenhywfar and aqbanking/aqbanking-cli are good to download from USAA's new 
> OFX URL https://df3cx-services.1fsapi.com/casm/usaa/access.ofx.
> 
> For the list--when is the next release of GnuCash?
> 
> Regards,
> 
> Bob
> 
> 
> 
> 
> 
> On February 12, 2021 at 9:50 AM, Martin Preuss  wrote:
> 
> Bob,
> 
> Am 12.02.21 um 04:40 schrieb Bob White:
> [...]
> Not being familiar with the gwenhywfar lib I haven't been able to see the 
> actual buffer with the content of the POST request.
> [...]
> 
> You could increase the logelvel of libgwen to "debug", that should show the 
> header sent (among many, many other things):
> 
> GWEN_LOGLEVEL=debug aqbanking-cli ...
> 
> However, you could also call the OFXDirectConnect backend with a account list 
> request:
> 
> X8
> aqbanking-cli --control=aqofxconnect listusers
> X8
> 
> This shows the list of OFX users setup for AqBanking, the needed user id is 
> at the end of the resulting line.
> 
> You can then request a list of accounts for that bank:
> 
> X8
> GWEN_LOGLEVEL=debug aqbanking-cli --control=aqofxconnect getaccounts -u USERID
> X8
> 
> This will produce a ton of logs on the console and possibly contain sensitive 
> information not to post unfiltered...
> 
> 
> Regards
> Martin
> 
> ___
> gnucash-devel mailing list
> gnucash-devel@gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


[GNC-dev] make dist (from a really old thread)

2021-02-12 Thread Stephen M. Butler
Sorry, but trying to pick up a project from where I left it in Nov 2019 
on this thread [GNC-dev] archive of GnuCash 
.  
Thought I had tried it and got it to work in 2019.


Today I cloned gnucash into the default folder ('gnucash'); cd into that 
folder; checked out v4.4; tried make dist; then tried ninja dist.  Got 
error messages.


git checkout 4.4
HEAD is now at 7dd39b092 Release GnuCash 4.4.

git describe
4.4

make dist
make: *** No rule to make target 'dist'.  Stop.

ninja dist
ninja: error: loading 'build.ninja': No such file or directory

So, after a checkout of a version, what steps are needed to generate the 
orig.tar file?


--Steve

 



--
Stephen M Butler, PMP, PSM
stephen.m.butle...@gmail.com
kg...@arrl.net
253-350-0166
---
GnuPG Fingerprint:  8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: [GNC-dev] make dist (from a really old thread)

2021-02-12 Thread John Ralls


> On Feb 12, 2021, at 4:34 PM, Stephen M. Butler  
> wrote:
> 
> Sorry, but trying to pick up a project from where I left it in Nov 2019 on 
> this thread [GNC-dev] archive of GnuCash 
> .
>   Thought I had tried it and got it to work in 2019.
> 
> Today I cloned gnucash into the default folder ('gnucash'); cd into that 
> folder; checked out v4.4; tried make dist; then tried ninja dist.  Got error 
> messages.
> 
> git checkout 4.4
> HEAD is now at 7dd39b092 Release GnuCash 4.4.
> 
> git describe
> 4.4
> 
> make dist
> make: *** No rule to make target 'dist'.  Stop.
> 
> ninja dist
> ninja: error: loading 'build.ninja': No such file or directory
> 
> So, after a checkout of a version, what steps are needed to generate the 
> orig.tar file?
> 

https://wiki.gnucash.org/wiki/Release_Process. You probably also need 
https://wiki.gnucash.org/wiki/Building; follow whatever links on that page are 
applicable to your OS. Read carefully so that you understand what you're 
reading, while this isn't rocket science it does take some brain power. You 
should also review that archive of GnuCash thread; you got a lot of 
hand-holding in it and it will go a lot faster if you don't have to ask every 
one of those questions again.

Note that there have been some changes in the build system: SWIG is now 
required even to build from a distribution tarball; in exchange it should work 
to build from a Github-generated one too.

Regards,
John Ralls



___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: [GNC-dev] New OFX Requirements For USAA FSB

2021-02-12 Thread Martin Preuss
Hi,

Am 13.02.21 um 00:07 schrieb John Ralls:
[...]
> The next GnuCash release is 6 weeks from Sunday. This has nothing to do with 
> GnuCash code so that doesn't really matter except that it's the next regular 
> opportunity to update the bundled AQBanking for flatpak, macOS, and Microsoft 
> Windows. Once Martin releases a new AQBanking version with the changes we can 
> generate new bundles on 4.4, we needn't wait for a release.
[...]

Okay, my releases are out now (Gwenhywfar 5.5.1 and AqBanking 6.2.6).


Regards
Martin
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: [GNC-dev] New OFX Requirements For USAA FSB

2021-02-12 Thread Derek Atkins

Thank you Martin!

-derek
Sent using my mobile device. Please excuse any typos.
On February 12, 2021 8:08:45 PM Martin Preuss  wrote:


Hi,

Am 13.02.21 um 00:07 schrieb John Ralls:
[...]
The next GnuCash release is 6 weeks from Sunday. This has nothing to do 
with GnuCash code so that doesn't really matter except that it's the next 
regular opportunity to update the bundled AQBanking for flatpak, macOS, and 
Microsoft Windows. Once Martin releases a new AQBanking version with the 
changes we can generate new bundles on 4.4, we needn't wait for a release.

[...]

Okay, my releases are out now (Gwenhywfar 5.5.1 and AqBanking 6.2.6).


Regards
Martin
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel