jwilk / mbank-cli

command line interface to mBank online banking system
https://jwilk.net/software/mbank-cli
MIT License
40 stars 8 forks source link

history: API error #18

Closed jwilk closed 14 years ago

jwilk commented 15 years ago

Issue reported by taisu@o2.pl at Google Code:

I could say its better but the problem still exists I mean it shows historry account but just from the first Example -

./mbank-cli history --range 2009-06-17 2009-06-01 --all-accounts

Command show history account just from 17-06-2009 - doesn't show anything from the other days. Output

Oops, API error! [History2]

Am I missing smth or its a bug?

jwilk commented 15 years ago

--range 2009-06-17 2009-06-01 is obviously not a valid range, you must have mistyped that command line. I have just commited more fixes to the history parser. Please check the bleeding-edge version: http://mbank-cli.googlecode.com/hg/mbank-cli

jwilk commented 15 years ago

Comment submitted by taisu@o2.pl at Google Code:

You're right i mystyped that command because I thought its wrong, BUT try type it

./mbank-cli history --range 2009-06-01 2009-06-17 --all-accounts

and you'll get api error. If I write

./mbank-cli history --range 2009-06-17 2009-06-01 --all-accounts

I get - and that's ok...

No or invalid time range selected
jwilk commented 15 years ago

Does the error still occur with the most recent version?

jwilk commented 15 years ago

Comment submitted by taisu@o2.pl at Google Code:

Unfortunately its sill ocurr :-( I copied source (as you wrote from) http://mbank-cli.googlecode.com/hg/mbank-cli There's no change I tried to use

./mbank-cli history "mBIZNES Konto" --from 2009-06-01 --to 2009-06-17

with no luck :-(( I'm getting some operetions from 17th June, and nothing more :-(

jwilk commented 15 years ago

Comment submitted by taisu@o2.pl at Google Code:

I think I bumped on smth... the error ocurrs whenever there's some PRZELEW ZEWNĘTRZNY WYCHODZĄCY -xxx zl or OPŁATA PRZELEW ZEW.DOWOL.BIEŻĄ­CY -1 zl... I'm preety sure of it. For example between 2009-06-16 and 2009-06-18 I didn't make any transfer and there was no error from api...

jwilk commented 15 years ago

Please do as follows:

jwilk commented 15 years ago

Comment submitted by marcin.gryszkalis at Google Code:

I'm experiencing same problem (already sent example via email). I don't know if it's related but I also get

Oops, API error! [History1]

for date range where no opeartions are found (the message is Brak operacji dla wybranych kryteriów wyświetlania.)

jwilk commented 15 years ago

Marcin: please always report what version of mbank-cli you are using. None of us have extrasensory abilities. I belive that the issue with Brak operacji dla wybranych kryteriów wyświetlania. has been already fixed. (See the link in comment 1.)

jwilk commented 15 years ago

Sorry folks, my fault, I have forgotten to push my changes to the server. Could you check the bleeding-edge version now?

jwilk commented 15 years ago

Comment submitted by marcin.gryszkalis at Google Code:

I'm using latest version checked out from mercurial. Update shows no changes though:

% hg update
0 files updated, 0 files merged, 0 files removed, 0 files unresolved

% hg log mbank-cli
changeset:   123:3eb143951151
user:        Jakub Wilk <jwilk@jwilk.net>
date:        Thu Jun 18 17:59:55 2009 +0200
summary:     list: more sensitive parsing.
jwilk commented 15 years ago

Marcin: please do hg pull -u.

jwilk commented 15 years ago

Comment submitted by taisu@o2.pl at Google Code:

It works now :-) No error occured :-) Great

jwilk commented 15 years ago

Comment submitted by marcin.gryszkalis at Google Code:

Works here too, thanks :)