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

Falk Pauser paule.p at gmx.de
Don Jun 5 17:28:32 CDT 2003


> Hihi, "remote debugging"...

sieht so aus :)

> // Zeile 1043 und folgende
> MediumType API::mediumType(const string &mtype) {
>    Pointer<MediumPlugin> tmp;
> 
>    try {
>      tmp=_ensureMediumPlugin(mtype);
>      return tmp.ref().mediumType();
>    }
>    catch (Error err) {
>      std::cerr << "API::mediumType: Caught error: " <<
>      err.errorString()
> 	<< std::endl;
>      return MediumTypeUnknown;
>    }
> }

und

> // und um Zeile 1002 herum

was meinst du damit? bei mir siehts jetzt so aus:
-----------------------------------------------------------------------
std::cerr << "API::_ensureMediumPlugin: before _findMediumPlugin\n)";
tmp=_findMediumPlugin(mtype);
std::cerr << "API::_ensureMediumPlugin: after _findMediumPlugin\n)";


Pointer<Medium> API::mediumFromConfig(SimpleConfig &cfg,
                      cfgPtr group){
  Pointer<MediumPlugin> tmp;
  bla
  bla
-----------------------------------------------------------------------

bist du sicher, dass das schliessende ")" in den std:cerr-aufrufen
korrekt ist? (hatte es im zweiten anlauf mal weggelassen - gab aber
trotzdem fehler)

 
>    std::cerr << "API::_ensureMediumPlugin: before
>    _findMediumPlugin\n"); tmp=_findMediumPlugin(mtype);
>    std::cerr << "API::_ensureMediumPlugin: after
>    _findMediumPlugin\n");

gibt fehler beim kompilieren:
-----------------------------------------------------------------------
api.cpp:1002: syntax error before `<'
api.cpp:1003: ANSI C++ forbids declaration `tmp' with no type
api.cpp:1003: `mtype' was not declared in this scope
api.cpp:1003: implicit declaration of function `int
HBCI::_findMediumPlugin(...)                                            
                                                                       
' api.cpp:1004: syntax error before `<'
api.cpp:1007: `Medium' was not declared in this scope
api.cpp:1007: syntax error before `::'
api.cpp:1011: syntax error before `;'
api.cpp:1013: ANSI C++ forbids declaration `mtype' with no type
api.cpp:1013: conflicting types for `int HBCI::mtype'
api.cpp:1010: previous declaration as `class string HBCI::mtype'
api.cpp:1013: `cfg' was not declared in this scope
api.cpp:1013: `group' was not declared in this scope
api.cpp:1014: parse error before `if'
api.cpp:1021: ANSI C++ forbids declaration `tmp' with no type
api.cpp:1021: redefinition of `int HBCI::tmp'
api.cpp:1003: `int HBCI::tmp' previously defined here
api.cpp:1021: `mtype' was not declared in this scope
api.cpp:1021: implicit declaration of function `int
HBCI::_ensureMediumPlugin(..                                            
                                                                       
.)' api.cpp:1022: parse error before `return'
api.cpp:1026: syntax error before `::'
api.cpp:1032: ANSI C++ forbids declaration `tmp' with no type
api.cpp:1032: `m' was not declared in this scope
api.cpp:1033: parse error before `if'
api.cpp:1045: syntax error before `::'
api.cpp:1059: `Medium' was not declared in this scope
api.cpp:1059: syntax error before `::'
api.cpp:1063: ANSI C++ forbids declaration `tmp' with no type
api.cpp:1063: redefinition of `int tmp'
api.cpp:1032: `int tmp' previously defined here
api.cpp:1063: `mtype' was not declared in this scope
api.cpp:1064: parse error before `return'
api.cpp:1068: `Medium' was not declared in this scope
api.cpp:1068: syntax error before `::'
api.cpp:1084: ANSI C++ forbids declaration `tmp' with no type
api.cpp:1084: redefinition of `int tmp'
api.cpp:1063: `int tmp' previously defined here
api.cpp:1084: `mtype' was not declared in this scope
api.cpp:1085: parse error before `return'
api.cpp:1089: `User' was not declared in this scope
api.cpp:1089: syntax error before `::'
api.cpp:1099: `Customer' was not declared in this scope
api.cpp:1099: syntax error before `::'
api.cpp:1106: `Bank' was not declared in this scope
api.cpp:1106: syntax error before `::'
api.cpp:1114: syntax error before `.'
api.cpp:1120: syntax error before `::'
api.cpp:1125: syntax error before `!='
api.cpp:1125: syntax error before `++'
api.cpp:1135: `Account' was not declared in this scope
api.cpp:1136: syntax error before `::'
api.cpp:1143: `Pointer' was not declared in this scope
api.cpp:1143: `OutboxJob' was not declared in this scope
api.cpp:1143: template argument 1 is invalid
api.cpp:1143: template argument 1 is invalid
api.cpp:1143: template argument 2 is invalid
api.cpp:1143: parse error before `>'
api.cpp:1148: syntax error before `::'
api.cpp:1153: syntax error before `::'
api.cpp:1158: syntax error before `::'
api.cpp:1163: syntax error before `::'
api.cpp:1169: `MediumPluginList' was not declared in this scope
api.cpp:1169: syntax error before `::'
api.cpp:1171: `Pointer' was not declared in this scope
api.cpp:1171: `MediumPlugin' was not declared in this scope
api.cpp:1171: template argument 1 is invalid
api.cpp:1171: template argument 1 is invalid
api.cpp:1171: template argument 2 is invalid
api.cpp:1171: parse error before `>'
api.cpp:1181: ANSI C++ forbids declaration `pl' with no type
api.cpp:1181: parse error before `('
api.cpp:1184: syntax error before `!='
api.cpp:1184: syntax error before `++'
make[4]: *** [api.lo] Fehler 1
make[4]: Verlassen des Verzeichnisses Verzeichnis
»/home/fisons/downloads/office                                          
                                                                        
 /openhbci-0.9.11/src/openhbci« make[3]: *** [all-recursive] Fehler 1
make[3]: Verlassen des Verzeichnisses Verzeichnis
»/home/fisons/downloads/office                                          
                                                                        
 /openhbci-0.9.11/src/openhbci« make[2]: *** [all-recursive] Fehler 1
make[2]: Verlassen des Verzeichnisses Verzeichnis
»/home/fisons/downloads/office                                          
                                                                        
 /openhbci-0.9.11/src« make[1]: *** [all-recursive] Fehler 1
make[1]: Verlassen des Verzeichnisses Verzeichnis
»/home/fisons/downloads/office                                          
                                                                        
 /openhbci-0.9.11« make: *** [all] Fehler 2
fisons:~/downloads/office/openhbci-0.9.11$ 

-----------------------------------------------------------------------

gruss,
falk