On Fri, 17 Mar 2006, Martin Preuss wrote:
Hi,
On Wednesday 15 March 2006 23:35, Tomas Pospisek's Mailing Lists wrote:
[...]
3:2006/03/15 21-47-06:aqyellownet(1236):dialog.c: 1676: Error on "tar xzf
/home/tpo/.banking/backends/aqyellownet/data/users/123456789/session-5/down
loads/MT940_123456789_R_200603131234567.012 -C
/home/tpo/.banking/backends/aqyellownet/data/users/123456789/session-5/down
loads/file-9": 2
[...]
Could you please just issue the command AqYellowNet uses, by hand? E.g.
tar
xzf
/home/tpo/.banking/backends/aqyellownet/data/users/123456789/session-5/downloads/MT940_123456789_R_200603131234567.012
-C
/home/tpo/.banking/backends/aqyellownet/data/users/123456789/session-5/downloads/file-9
(the YellowNet plugin does not remove these files).
Does that work?
No, it's not gzipped :) :
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors
$ file MT940_123456789_R_200603131234567.012
MT940_123456789_R_200603131234567.012: data
except for containing 0x01 and 0x0301 sequences it is quite readable
text-file.
[...]
I've grepped the sources for "xzf" (as in 'tar xzvf') and only
the binary blob src/plugins/backends/aqyellownet/plugin/libaqyellownet.so
seems to match. So my question is: can't you defer the handling of the
downloaded documents to an outside script (possibly feeding them back into
aqbanking once they are decoded)?
[...]
Hmm, sounds like a good idea, however, I would have to define a way (and
format) of getting the resulting file back into AqBanking (which is the
reason for the existence of the plugin to begin with).
:)
On a related note - allthough beeing bizzarre, the Yellownet XML documents
don't look too complicated either - so by deferring the decoding of the
received documents to outside of the binary blob you leave the door open
for a decoder for them.
[...]
I would rather like to have an importer plugin for AqBanking to import such
files... Maybe you could crack down the XML elements of the XML file and send
the result to me? I could then write a little plugin for AqBanking which
directly reads these files...
I can have a try. On a related note - and I do hope I get RFTM'ed - is it
possible to *directly* access those (whatever format) downloaded files
*without* going through an online connection to the bank. Something like
"import from filesystem" or the like?
*t
--
-----------------------------------------------------------
Tomas Pospisek
http://sourcepole.com - Linux & Open Source Solutions
-----------------------------------------------------------
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Aqbanking-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/aqbanking-devel