Indeed it seems a length issue. Splitting the output in two and adding a 
balance account works. 

On Friday, November 29, 2019 at 11:16:38 AM UTC, dim wrote:
>
> Hi,
>
> I have some problems with ledger parsing its own equity report. Only in 
> this specific case, usually there's no problem.
>
> Commands:
>
>
> *ledger -f main.dat equity > equity.dat     /* create equity report*
>
> l*edger -f equity.dat bal      /* bal or reg doesn't matter, same error*
>  
> While parsing file "equity.dat", line *158*:
> Error: Assertion failed in 
> "/build/ledger-2L3TES/ledger-3.1.1+dfsg1/src/error.cc", line 
> 91:ledger::string ledger::source_context(const path&, istream_pos_type, 
> istream_pos_type, const string&): *len < 8192*
>
> $ ledger --version
> Ledger 3.1.1-20160111, the command-line accounting tool
>
> Line 158 is the last line, nothing special there. Is the file too long?
>
>
> BR
> Dimitri
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" 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/ledger-cli/d759aa65-d382-4fe1-9145-791151e613fd%40googlegroups.com.

Reply via email to