Issue #129: bean-report and custom directives (blais/beancount)

29 views
Skip to first unread message

Bruno Vernier

unread,
Jun 2, 2016, 11:31:13 PM6/2/16
to bean...@googlegroups.com
New issue 129: bean-report and custom directives
https://bitbucket.org/blais/beancount/issues/129/bean-report-and-custom-directives

Bruno Vernier:

bean-report beanfile [h]ledger barfs the following when fed custom directives:


"Traceback (most recent call last):
File "/usr/local/bin/bean-report", line 2, in <module>
from beancount.reports.report import main; main()
File "/usr/local/lib/python3.4/dist-packages/beancount/reports/report.py", line 250, in main
chosen_report.render(entries, errors, options_map, args.format, outfile)
File "/usr/local/lib/python3.4/dist-packages/beancount/reports/base.py", line 113, in render
result = render_method(entries, errors, options_map, outfile)
File "/usr/local/lib/python3.4/dist-packages/beancount/reports/convert_reports.py", line 139, in render_ledger
file.write(ledger_printer(entry))
File "/usr/local/lib/python3.4/dist-packages/beancount/reports/convert_reports.py", line 155, in __call__
method = getattr(self, obj.__class__.__name__)
AttributeError: 'LedgerPrinter' object has no attribute 'Custom'



Reply all
Reply to author
Forward
0 new messages