Re: Strange sorting when using --market and multiple currencies
> "VA" == Viraj Alankar writes: VA> Hm, strange it gives me a segmentation fault: VA> ledger -f ledger.ledger --price-db prices.db -Y -V -c --period-sort ' VA> (display_amount)' -b "2023" register ^expenses VA> Segmentation fault Using this same options with my own data, I didn't not see a segmentation fault. I'd like to get to the bottom of that! VA> ledger --version VA> Ledger 3.2.1-20200518, the command-line accounting tool VA> Perhaps I should try a newer version? This is installed from VA> conda-forge. If you can, it would be helpful. Also, is there a small example you'd be willing to send me directly, that exhibits the crash? John -- --- 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 ledger-cli+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ledger-cli/m27cuex9lk.fsf%40newartisans.com.
Re: Strange sorting when using --market and multiple currencies
Hm, strange it gives me a segmentation fault: ledger -f ledger.ledger --price-db prices.db -Y -V -c --period-sort '(display_amount)' -b "2023" register ^expenses Segmentation fault ledger --version Ledger 3.2.1-20200518, the command-line accounting tool Perhaps I should try a newer version? This is installed from conda-forge. On Fri, Apr 14, 2023 at 5:52 PM John Wiegley wrote: > > "VA" == Viraj Alankar writes: > > VA> I'm trying to understand why sorting by amount doesn't seem to work > VA> right when using multiple currencies and --market: > > VA> ledger -f ledger.ledger --price-db prices.db -Y -V -c --period-sort ' > VA> (amount)' -b "2023" register ^expenses > > Please try sorting by the `display_amount`. > > John > -- --- 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 ledger-cli+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ledger-cli/CAM502dNhSuoF8GsChDGNb%3DG1ydoU0QyLYGtR6ZnWaSBFM9a_AQ%40mail.gmail.com.
Re: Strange sorting when using --market and multiple currencies
> "VA" == Viraj Alankar writes: VA> I'm trying to understand why sorting by amount doesn't seem to work VA> right when using multiple currencies and --market: VA> ledger -f ledger.ledger --price-db prices.db -Y -V -c --period-sort ' VA> (amount)' -b "2023" register ^expenses Please try sorting by the `display_amount`. John -- --- 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 ledger-cli+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ledger-cli/m21qkmmpf0.fsf%40newartisans.com.
Strange sorting when using --market and multiple currencies
Hi, I'm trying to understand why sorting by amount doesn't seem to work right when using multiple currencies and --market: ledger -f ledger.ledger --price-db prices.db -Y -V -c --period-sort '(amount)' -b "2023" register ^expenses ... Expenses:Blah1 $7225.12 $22613.89 Expenses:Blah2$10888.14 $33502.03 Expenses:Blah3$9.29 $33511.32 Expenses:Blah4 $47.30 $33558.62 ... ledger -f ledger.ledger --price-db prices.db -Y -c --period-sort '(amount)' -b "2023" register ^expenses Expenses:Blah1 $7225.12 $22580.11 30.00 CHF Expenses:Blah2 $10888.14 $33468.25 30.00 CHF Expenses:Blah3 8.25 CHF $33468.25 38.25 CHF Expenses:Blah4 42.00 CHF $33468.25 80.25 CHF It seems to be sorting the currencies separately regardless of using --market. Is there a way to sort by the converted market value? Thanks, Viraj. -- --- 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 ledger-cli+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ledger-cli/8e986f6c-b4cc-48bf-962e-c35a921aa6e7n%40googlegroups.com.