[Kmymoney-devel] [kmymoney4] [Bug 325472] Import log file uses Invalid file path

allan agander93 at gmail.com
Tue Oct 1 19:06:00 UTC 2013


https://bugs.kde.org/show_bug.cgi?id=325472

--- Comment #9 from allan <agander93 at gmail.com> ---
On Tue, 01 Oct 2013 16:44:17 +0000
Ralf Habacker <ralf.habacker at freenet.de> wrote:

> https://bugs.kde.org/show_bug.cgi?id=325472
> 
> --- Comment #8 from Ralf Habacker <ralf.habacker at freenet.de> ---
> > That sounds like the ofx transaction log
> no , ofxlog.txt is mentioned at the following places 
> 
> kmymoney/plugins/ofximport/ofxpartner.cpp:386:  if
> (homeDir.exists("ofxlog.txt")) {
> kmymoney/plugins/ofximport/ofxpartner.cpp:387:   
> d->m_fpTrace.setFileName(QString("%1/ofxlog.txt").arg(QDir::homePath()));
> kmymoney/plugins/ofximport/dialogs/kofxdirectconnectdlg.cpp:94:  if
> (homeDir.exists("ofxlog.txt")) {
> kmymoney/plugins/ofximport/dialogs/kofxdirectconnectdlg.cpp:95:   
> d->m_fpTrace.setFileName(QString("%1/ofxlog.txt").arg(QDir::homePath()));
> 
> while the file mentioned in this bug is used at
> 
> kmymoney/kmymoney.cpp:2308:  MyMoneyStatement::writeXMLFile(s,
> QString("/home/thb/kmm-statement-%1.txt").arg(d->m_statementXMLindex++));
> 
> and logs the content of KMymoneyStatement's.
> 

And then there's also "
bool MyMoneyStatementReader::import(const MyMoneyStatement& s, QStringList&
messages)
{
  //
  // For testing, save the statement to an XML file
  // (uncomment this line)
  //
  //MyMoneyStatement::writeXMLFile(s, "Imported.Xml");
"

Allan

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list