You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "miniconda3/lib/python3.6/site-packages/beancount_import/webserver.py", line 493, in _handle_reconciler_loaded
loaded_reconciler = loaded_future.result()
File "miniconda3/lib/python3.6/concurrent/futures/_base.py", line 398, in result
return self.__get_result()
File "miniconda3/lib/python3.6/concurrent/futures/_base.py", line 357, in __get_result
raise self._exception
File "miniconda3/lib/python3.6/site-packages/beancount_import/thread_helpers.py", line 13, in wrapper
f.set_result(fn(*args, **kwargs))
File "miniconda3/lib/python3.6/site-packages/beancount_import/reconcile.py", line 396, in __init__
all_source_results = self._prepare_sources()
File "miniconda3/lib/python3.6/site-packages/beancount_import/reconcile.py", line 515, in _prepare_sources
source.prepare(self.editor, source_results)
File "miniconda3/lib/python3.6/site-packages/beancount_import/source/ofx.py", line 1394, in prepare
state.get_accounts_and_entries()
File "miniconda3/lib/python3.6/site-packages/beancount_import/source/ofx.py", line 1249, in get_accounts_and_entries
statement.get_entries(self)
File "miniconda3/lib/python3.6/site-packages/beancount_import/source/ofx.py", line 1043, in get_entries
total + fee_total + (units * unitprice))
AssertionError: 543.950
Should I use ignore_transaction_regexp to skip these? Fix the entries by hand? Or should the importer solve for UNITPRICE when it is zero? In this case, UNITPRICE should be 71.5817871
The text was updated successfully, but these errors were encountered:
A Vanguard OFX I'd like to import has entries where the UNITPRICE is 0 (which seems like a bug on their part):
Which results in errors like this:
Should I use
ignore_transaction_regexp
to skip these? Fix the entries by hand? Or should the importer solve for UNITPRICE when it is zero? In this case, UNITPRICE should be 71.5817871The text was updated successfully, but these errors were encountered: