Closed eglia closed 2 years ago
I can't reproduce this. Could you share the importer that you are using, it seems to add some data that Fava has trouble serialising to JSON.
So while trying to create a minimal example, I noticed that all my importers contained this code for the entries:
beancount.core.data.new_metadata(file.name, id)
id
is not defined and I'm not sure where it came from, probably it was previously used as a variable. Since it's not defined as a variable, it refers to the builtin method id
, which is obviously nonsense in this context. However, neither bean-extract nor fava<1.23 seemed to care about it. I changed my code to
beancount.core.data.new_metadata(file.name, 1)
and importing is now working again.
Sorry for the noise.
After updating to fava 1.23.0 or 1.23.1, importing is broken for me. When pressing the
extract
button for any file, the following exception occurs:The importers work fine when using bean-extract and work fine using Fava 1.22.3.