I've discovered what was causing the error to happen with certain OFX
files.  An empty tag that should contain a date seem to be the cause.

For example, this <LEDGERBAL> entry works fine:
<LEDGERBAL>
        <BALAMT>2518.57
        <DTASOF>20101016085012[-7:MST]
</LEDGERBAL>

While this one causes the out_of_range crash:
<LEDGERBAL>
        <BALAMT>2518.57
        <DTASOF />
</LEDGERBAL>

removing the DTASOF line altogether works fine, too..

-- 
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to