On 02/09/2022 16:52, Bruce Berkowicz wrote:
Hello, I have just begun attempting to use beancount (v2). I have written an importer. bean-extract works (thankfully) but bean-identify (and bean-file) throw an error that I cannot figure out.

    logfile.write('Importer:    {}\n'.format(importer.name() if importer else '-'))
TypeError: 'str' object is not callable

The Beancount Importer interface requires name() to be a method returning a string. Your importer defines name as a (class or instance) attribute of type str.

When I run

python3 -m beancount.scripts.deps

there is no output.

This is unusual but unrelated to the problem above.

Cheers,
Dan

--
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/9e88e9c1-d226-4482-c946-ceae14404039%40grinta.net.

Reply via email to