I have very similar issue, reported with skrooge:
https://bugs.kde.org/show_bug.cgi?id=255133

Root cause is wrong format of date in my bank's ofx file:

Sample dates:
          <DTSTART>201009099.9</DTSTART>

          <DTEND>201009099.9.</DTEND>

libofx code does not seems to be well written for such cases - from
lib/ofx_utilities.cpp:

    if(ofxdate.size()>8) {
    /* if exact time is specified */
exact_time_specified = true;
      time.tm_hour=atoi(ofxdate.substr(8,2).c_str());
      time.tm_min=atoi(ofxdate.substr(10,2).c_str());
      time.tm_sec=atoi(ofxdate.substr(12,2).c_str());
    }

As a workaround, will fix this dates by hand...

** Bug watch added: KDE Bug Tracking System #255133
   http://bugs.kde.org/show_bug.cgi?id=255133

-- 
libofx crashes on OFX import in gnucash
https://bugs.launchpad.net/bugs/661809
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to