Am Samstag, 1. September 2007 22:30 schrieb Norbert Plött:
> this is a question I first posted to  the gnucash-user, but I was
> redirected here. It appears to be an interaction problem between GnuCash
> and AqBanking and I hope someone from here can help me.

Sure.

> I soon found out that MT940 import support is not built into gnucash in the
> ubuntu distribution. I also found the page
> http://wiki.gnucash.org/wiki/Debian and followed the instructions. To be
> more precise I got gnucash-2.0.2 and libaqbanking-2.2.3 and built and
> installed the packages as described.

Ok.

> $ /home/nploett/gnucash/libaqbanking-2.2.3/./configure
> --build=i486-linux-gnu --prefix=/usr --includedir=${prefix}/include
> --mandir=${prefix}/share/man --infodir=${prefix}/share/info
> --sysconfdir=/etc --localstatedir=/var
> --libexecdir=${prefix}/lib/libaqbanking --disable-maintainer-mode
> --disable-dependency-tracking --srcdir=. --disable-static
> --with-backends=aqhbci aqdtaus aqgeldkarte
> aqofxconnect --with-frontends=cbanking g2banking qbanking kbanking
>
> Also, the MT940 plugin files can be found at
>
> [EMAIL PROTECTED]:~$ ls -l1 /usr/lib/aqbanking/plugins/16/imexporters/swift*
> -rwxr-xr-x 1 root root 9940 2006-11-10
> 04:58 /usr/lib/aqbanking/plugins/16/imexporters/swift.so.0.0.0
>
> In order to gather more information I started gnucash from the command
> line, and got to see the following output:
>
> 3:2007/08/25 22-17-00:gwen(6049):plugin.c:  320: Plugin "swift" not found.
> 3:2007/08/25 22-17-00:aqbanking(6049):swift.c:   45: GWEN DBIO plugin
> "SWIFT" not available
> 3:2007/08/25 22-17-00:aqbanking(6049):banking.c: 4517: Error in plugin
> [/usr/lib/aqbanking/plugins/16/imexporters]: No im/exporter created

I'm sorry, but there are actually two different modules, both named "swift", 
which have to be loaded correctly. The first one is the "imexporters" plugin 
of aqbanking, named swift, which you correctly checked for installation. The 
second one is the "dbio" plugin installed in gwenhywfar's directory, which is 
what this error message is about.

On my system, these are:
/usr/lib/aqbanking/plugins/16/imexporters/swift.so
/usr/lib/gwenhywfar/plugins/38/dbio/swift.so
The confusing part here is that the *aqbanking* package will install both 
swift.so modules. One is installed into lib/aqbanking (compiled in 
src/plugins/imexporters/swift), the other one is installed by the aqbanking 
package but into the lib/gwenhywfar directory (compiled in 
src/plugins/parsers/swift), so that libgwenhywfar knows about even more file 
formats.

You need to check where this dbio-plugin was installed into.

> So I learned more about the infrastructure which provides the plugins for
> gnucash and learned that there is a gwenhywfar library and that
> libaqbanking depends on it and that the versions must be in agreement. This
> was not mentioned on the webpage, by the way.

Correct. I mentioned this already on many webpages, but not all of them. 

Regards,

Christian

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Aqbanking-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/aqbanking-devel

Reply via email to