On 06/01/2022 18:18, 'Liam Hupfer' via Beancount wrote:
Hi Beancounters,

I’m attempting to write a Venmo importer based on Red Street’s importer framework, and I’ve run into an issue with Venmo CSV’s that contain emoji characters. |bean-identify| results in a decoding error raised from |cache.py| in v2’s |ingest|. I checked GitHub and it appears there was a PR in April <https://github.com/beancount/beancount/pull/646> that may fix this. Unfortunately, there hasn’t been a Beancount 2 release since March. I attempted |pip uninstall beancount; pip install 'git+https://github.com/beancount/beancount.git@v2'|, as well as |pip uninstall beancount; pip install 'https://github.com/beancount/beancount/archive/refs/heads/v2.zip'| but I get the same issue. Am I doing something wrong with the pip installation of the v2 branch? Or is this still an issue?


It seems that your importer is trying to read the CSV in some charmap encoding (I suspect cp1252) and that fails. Are you sure you are using the right encoding? Most likely the CSV is in UTF8 (or some other Unicode capable encoding that can represent Emojis, AFAIK no charmap encoding can do that).

This does not seem related to the bug solved by PR #646.

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/ac72a3f6-55fa-f503-9a83-b978d5119c30%40grinta.net.

Reply via email to