SQLite async exception with bean-price

44 views
Skip to first unread message

Alen Šiljak

unread,
May 25, 2025, 7:55:27 AM5/25/25
to Beancount
Hi! Is there a workaround for the async issue with caching, when using bean-price with a custom price source? 
With the cli, it is possible to use `--no-cache` but I've created a custom price source and this is popping up. The issue is registered at https://github.com/beancount/beanprice/issues/91 but no resolution so far. I've seen other price sources, like pricehist, not having this issue, so there must be a way.
I've removed all async code from my price source but that was not the cause.
Thanks for any hints!

Alen Šiljak

unread,
May 25, 2025, 9:45:40 AM5/25/25
to Beancount
Martin, thanks for the quick reply to the issue! I've replaced shelve with diskcache and using my custom price source now spits out the results without errors. PR pending.
Reply all
Reply to author
Forward
0 new messages