Good to know!

Fava displays an error if the operating currency is not set, and my guess 
is, a translation for that that error message does not exist, which causes 
it to crash. If your error message is reproducible by removing those option 
lines, you might consider filing a bug here 
<https://github.com/beancount/fava/issues> to help out the Fava folks.

On Sunday, April 9, 2023 at 4:15:10 PM UTC-7 [email protected] wrote:

Thanks Red for the suggestion! I haven't tried switching languages, but 
adding the following two lines to the top resolved this:

```
option "operating_currency" "USD"

option "inferred_tolerance_default" "USD:0.01"

```


Hope this will also be helpful to others.

On Sunday, April 2, 2023 at 9:17:22 PM UTC-7 Red S wrote:

Also: welcome!

On Sunday, April 2, 2023 at 9:17:05 PM UTC-7 Red S wrote:

That seems to be related to translations. Grepping for that error in fava 
shows it originates in frontend/src/lib/validation.ts.

I have no personal experience with that error. You could try to see if it 
occurs with a different language setting, and if it doesn't, that sounds 
like a bug.

Hope this helps!


On Wednesday, March 22, 2023 at 9:22:08 PM UTC-7 [email protected] wrote:

Hello everyone,

I hope you are all doing well. I am new to Beancount and Fava, and I am 
excited to learn more about these tools and how they can help me with my 
accounting.

I have encountered an issue with Fava that I was hoping someone in the 
group could help me with. When I try to load my Beancount file in Fava, I 
receive an error message that says "validating object failed". However, 
when I run the `bean-check journal.beancount` command, it passes without 
any issues.

I was wondering if anyone has encountered this problem before and if you 
might have any suggestions on how to resolve it?

Thank you in advance for your help and support.

Kaida

-- 
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/c962921f-a1a5-43ac-bbf1-a7b68c4f6282n%40googlegroups.com.

Reply via email to