Absturz HBCI-Einrichtung (war: [gnucash-de] gnucash-1.8.4)

Christian Stimming stimming at tuhh.de
Don Jun 5 14:39:47 CDT 2003


Moin,

probier doch mal folgendes: In deinem openhbci-0.9.11, änder in der 
Datei src/openhbci/api.cpp ab Zeile 1043 die Funktion API::mediumType, 
so daß sie wie folgt aussieht, d.h. der try{...} catch {...} Block kommt 
dazu:

MediumType API::mediumType(const string &mtype) {
   Pointer<MediumPlugin> tmp;

   try {
     tmp=_ensureMediumPlugin(mtype);
     return tmp.ref().mediumType();
   }
   catch (Error err) {
     fprintf(stderr,"API::mediumType: Caught error: %s\n",
	    err.errorString().c_str());
     return MediumTypeUnknown;
   }
}

Und wo wir schon mal dabei sind, füge doch bitte um die Zeile 1002 herum 
folgende beiden Ausgabebefehle ein:

   fprintf(stderr, "API::_ensureMediumPlugin: before _findMediumPlugin\n");
   tmp=_findMediumPlugin(mtype);
   fprintf(stderr, "API::_ensureMediumPlugin: after _findMediumPlugin\n");

Dann compilier openhbci nochmal neu, installier, und probier dann 
gnucash nochmal (erstmal ohne gdb), und schick die Ausgaben wieder 
hierher :-) --- danke vielmals.

Christian