Closed kosli closed 1 year ago
Start by adding a print(raw_entry)
statement right above the line throwing the exception.
Does it look reasonable?
Thanks @Zburatorul I think i found the issue. The revolut importer does not return the meta when a balance entry is being returned https://github.com/tarioch/beancounttools/blob/5ae47a5884395451966619475a95c24b8ca56d00/src/tariochbctools/importers/revolut/importer.py#L80 I will close the issue here and try to fix the importer.
I have installed beancount-import and tested it by using the run.py from examples/data/fresh I would like to use the Importer from https://tariochbctools.readthedocs.io/en/latest/importers.html#revolut (https://github.com/tarioch/beancounttools/blob/master/src/tariochbctools/importers/revolut/importer.py)
So i adapted my _config.py by adding the following lines:
and the run.py too:
and I have added the Revolut-CHF-2022-11-16.csv file into importers.
When i run run.py i get the following output:
It looks to me like something with the filename recognition goes wrong, but I don't know how to debug or where to start looking for the error.
When I use the importer straight with bean-extract and the following config, it works fine.
Thanks for a hint in the right direction.