$ bean-identify config.py input/
**** input/History.csv
Traceback (most recent call last):
File "/usr/local/bin/bean-identify", line 4, in <module>
from beancount.ingest.identify import main; main()
File "/usr/local/lib/python3.7/site-packages/beancount/ingest/identify.py", line 104, in main
return scripts_utils.trampoline_to_ingest(sys.modules[__name__])
File "/usr/local/lib/python3.7/site-packages/beancount/ingest/scripts_utils.py", line 132, in trampoline_to_ingest
return run_import_script_and_ingest(parser)
File "/usr/local/lib/python3.7/site-packages/beancount/ingest/scripts_utils.py", line 202, in run_import_script_and_ingest
return ingest(importers_list, abs_downloads)
File "/usr/local/lib/python3.7/site-packages/beancount/ingest/scripts_utils.py", line 102, in ingest
args.command(args, parser, importers_list, args.downloads)
File "/usr/local/lib/python3.7/site-packages/beancount/ingest/identify.py", line 100, in run
return identify(importers_list, files_or_directories)
File "/usr/local/lib/python3.7/site-packages/beancount/ingest/identify.py", line 83, in identify
logfile=logfile):
File "/usr/local/lib/python3.7/site-packages/beancount/ingest/identify.py", line 60, in find_imports
file = cache.get_file(filename)
File "/usr/local/lib/python3.7/site-packages/beancount/ingest/cache.py", line 132, in get_file
"Path should be absolute in order to guarantee a single call.")
AssertionError: Path should be absolute in order to guarantee a single call.
$ bean-identify config.py $(pwd)/input/
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/20181017080205.GA29643%40herus.wzyboy.org.