-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not returning transactions #8
Comments
Thanks for your report. Here are some ways to debug the problem. DEBUG=node-cba-netbankThe debug information can be printed via DEBUG=node-cba-netbank cba-netbank download -a smart or if it's not installed globally, and you currently inside the project directory, then you can DEBUG=node-cba-netbank node src/cli.js download -a smart Which will download the transactions for account with Run test caseFirst, set the username/password in the environment variables: export NETBANK_USERNAME=12345678
export NETBANK_PASSWORD=YOUR_PASSWORD then, just run The content of
|
Hi, thanks for the helpful debugging instructions. I have looked at the last -response-body.html file. It doesn't have {"Transactions" in it. The file is complete (it has the final </html tag), and when I view it is has the spinners and says 'Please wait' in the transaction list. There are no error messages in the page. I am guessing that the page loads the Transactions data using ajax and this isn't being run. It worked great in previous version of node-cba-netbank - is there something that has changed in how this page is processed? |
having the same problem, got this from
|
Hi Craig, looks like you may need to mkdir a log folder so that the debug
info is saved into it. I had to do this as well.
…On Sun, 6 Aug 2017 at 5:15 pm, Craig McNamara ***@***.***> wrote:
having the same problem, got this from DEBUG=node-cba-netbank cba-netbank
download -a smart
(node:18562) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 7): Error: ENOENT: no such file or directory, open 'log/1502003489950-1-request.json'
(node:18562) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 8): Error: ENOENT: no such file or directory, open 'log/1502003489950-2-response.json'
(node:18562) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 9): Error: ENOENT: no such file or directory, open 'log/1502003489950-3-response-body.html'
node-cba-netbank parseTitle(): found title => 'Transactions' +780ms
Unhandled rejection Cannot find transactions in the resp
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMz25laTMrSMHJkH0oOfIgnJXA5ct3i3ks5sVWgkgaJpZM4ObT3p>
.
|
@dwdickens Have you found a solution to this issue yet? I've got the same issue. |
Me too. Account list working but transaction list not working |
Any updates on this? |
I found the issue is with the parser.parseTransactionPage function. |
Thanks @davidmcgregor that did the trick 👍 |
Hi, the script doesn't return any of the transactions. (The list of accounts works great.)
parseTransactions is rejected with the message 'Cannot find transactions in the resp'
I have had a look at the html file that is returned in the log folder. It doesn't have any of the transaction data within it, and if I open the static page in a browser it just shows the spinners.
Please let me know if I can help trouble shoot in any way
The text was updated successfully, but these errors were encountered: