Import module for MT940 import not found.

Norbert Plött norbert.ploett at nefkom.net
Sat Aug 25 16:27:56 EDT 2007


Hi folks,

I recently switched from SuSE Linux to Kubuntu 7.04. 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." 

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


More information about the gnucash-user mailing list