Hi folks,

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.

So here is the story: I recently switched from SuSE Linux to Kubuntu 7.04. 
(btw. I installed the 32bit edition although I have a Intel Core Duo 4300 CPU 
(64 bit).

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. 

There was actually an entry for MT940 import in the import menu after that, 
but when I actually did select a file then I always got a message 
box: "Import module for MT940 import not found." 

I made sure that MT940 support was actually configured and built into my 
version of AqBanking. Here is my configure command line:

$ /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*
-rw-r--r-- 1 root root  897 2006-11-10 
04:57 /usr/lib/aqbanking/plugins/16/imexporters/swift.la
lrwxrwxrwx 1 root root   14 2007-08-18 
21:17 /usr/lib/aqbanking/plugins/16/imexporters/swift.so -> swift.so.0.0.0
lrwxrwxrwx 1 root root   14 2007-08-18 
21:17 /usr/lib/aqbanking/plugins/16/imexporters/swift.so.0 -> swift.so.0.0.0
-rwxr-xr-x 1 root root 9940 2006-11-10 
04:58 /usr/lib/aqbanking/plugins/16/imexporters/swift.so.0.0.0
-rw-r--r-- 1 root root  406 2007-08-24 
22:59 /usr/lib/aqbanking/plugins/16/imexporters/swift.xml


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


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.
I found out that the best match for libaqbanking 2.2.3 should be gwenhywfar 
2.6.1 and got these sources, built and installed them. (The version that I 
found on my system was a little older). 
Did not help.

I looked into the sources and concluded that gwenhywfar has a sort of search 
path and inserted a print statement to display the paths that would be 
searched to find the swift plugin (which was in place all the time, in 
/usr/lib/aqbanking/plugins/16/imexporters/.
Here is the resulting console output:

3:2007/08/25 22-17-00:gwen(6049):plugin.c:  310: Searching 
in "/usr/lib/aqbanking/plugins/16/providers"...
3:2007/08/25 22-17-00:gwen(6049):plugin.c:  310: Searching 
in "/usr/lib/aqbanking/plugins/16/providers"...
3:2007/08/25 22-17-00:gwen(6049):plugin.c:  310: Searching 
in "/usr/lib/gwenhywfar/plugins/38/dbio"...
3:2007/08/25 22-17-00:gwen(6049):plugin.c:  321: 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

So it seems to me that gwenhywfar is not searching in the place where the 
plugin is actually located but I have no idea how the search path could be 
twisted or whether my analysis is correct. 

I think that I cannot get much further on my own and that it is time now to 
turn to the community. Anybody out there who can give me a clue what to try 
next.

Thanks for reading to this point and for any suggestions.


Bye


Norbert


-------------------------------------------------------------------------
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