On Tue, 2011-07-19, at 22:01:08 (+0200), Martin Preuss wrote:
> On Dienstag 19 Juli 2011, Marc-Jano Knopp wrote:
> [...]
> > The command "chkacc" doesn't work:
> > 
> > ,----
> > 
> > | $ aqbanking-cli chkacc --rbank=37020500 --raccount=5151
> > | 3:2011/07/19 21-19-09:aqbanking-cli(17433):chkacc.c:  142: Indifferent
> > | result for remote account check
> > | $ echo $?
> > | 4
> > | $
> [...]
> 
> Well, here, it does work:
> 
> ------------------------------------------X8
> martin@gwenhywfar:/tmp$ aqbanking-cli chkacc --rbank=37020500 --raccount=5151
> 4:2011/07/19 21-51-20:aqbanking(25637):de.c:  116: Bank data for KtoBlzCheck 
> not found (-51), falling back to default
> martin@gwenhywfar:/tmp$ echo $?
> 0
> ------------------------------------------X8

Btw.: What does the above error message mean?


> [...]
> > I guess it's because none of the bankinfo plugins are linked against
> > libktoblz (package "libktoblzcheck1c2a"):
> [...]
> 
> That could very well be. For me it is:
> 
> ------------------------------------------X8
> 
> ldd /usr/lib/aqbanking/plugins/33/bankinfo/* | grep -i ktoblz
>       libktoblzcheck.so.1 => /usr/lib/libktoblzcheck.so.1 (0x00007f890c289000)
> ------------------------------------------X8

Ah, looks like that's the culprit. =)

But then again, I read somewhere that if aqbanking-cli cannot find
libktoblzcheck and/or ktoblzcheck, it will use its own database (which
might be out of date, but I checked a few more bank code / account
number combinations, and all of them failed).

Or was I only dreaming?


Interestingly enough, building the package myself by issuing

# apt-get source aqbanking-tools
# aptitude build-dep aqbanking-tools
$ debuild -us -uc -j4

seems to build (version 5.0.14 as opposed to my currently installed
5.0.10) plugins that are linked to libktoblzcheck:

-------- snip --------
$ ldd /tmp/libaqbanking-5.0.14/src/plugins/bankinfo/de/.libs/de.so | grep ktoblz
        libktoblzcheck.so.1 => /usr/lib/libktoblzcheck.so.1 (0x00007f8ee3154000)
-------- snip --------

But a mere

# aptitude install aqbanking-tools/unstable libaqbanking33-plugins/unstable

still gives me plugins that are not linked against libktoblzcheck.



> [...]
> > Bug #2
> > ======
> > 
> > The transfer option "--force-check" should make the transfer fail if
> > checking the bank code / account number combination fails:
> [...]
> 
> Hmm, looking at the code, it should fail if the remote account can't be 
> verified. Only a result of "Ok" should pass the test.
> 
> In fact, if ktoblzcheck finds an account number/bank code combination not to 
> be valid the tool fails at any rate, even when "--force-check" is omitted...
> 
> Only if "indifferent" is returned (e.g. meaning that the validity could not 
> be 
> verified, e.g. because the remote bank is not yet known to ktoblzcheck) the 
> check still passes in addition to the case where the combination actually is 
> positively valid. That's because "indifferent" doesn't necessarily mean that 
> the combination in fact *is* invalid...

Hm, I see. On the other side, this is a bit counter-intuitive. At least
I would expect some kind of interaction like "Could not verify bank
code / account number combination. Continue anyway? [Yn]".


Regards

  Marc-Jano



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to