On Thursday, February 26, 2026 at 8:46:12 AM UTC+10:30 
[email protected] wrote:

Hi, thanks for giving it a try! I am using a Mac myself so I tried 
reproducing your problem in a Ubuntu/Linux VM but it seems to be working 
fine. Are you sure that my.bean exists in your current working directory? 
TurboBean is always looking for files relative to the CWD. If it still 
doesn't work could you provide more details about your system, where 
my.bean, turbobean is located and what your CWD is?


Yep, pretty sure :-)

I've since tried it again and the problem is turbobean doesn't fully 
understand beancount's include syntax, so it fails to load my bean file. In 
an ideal world the error message would have been clearer (perhaps a line 
number where the error occurred?) but I realise this is version 0.2 of a 
personal project.

beancount allows globs in the include and turbobean doesn't, e.g.

include "archived/*.bean"

Admittedly a quick scan of beancount documentation doesn't seem to spell 
this out but loader_test.py has explicit tests to ensure it works 
(test_glob_relative, test_glob_relative_abs, test_glob_relative_mixed).

-- 
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 visit 
https://groups.google.com/d/msgid/beancount/77992721-669e-4cdf-bc2f-1e3553966a26n%40googlegroups.com.

Reply via email to