Re: [SOLVED] libboost_date_time.so problem building recent Ledger.
2014-02-19 3:46 GMT+01:00 Karl Fogel kfo...@red-bean.com: make[2]: *** No rule to make target `/usr/lib/libboost_date_time.so', needed by `libledger.so.3'. Stop. I'd think that doing sudo apt-get install libboost-date-time-dev would have been enough to solve this without downgrading your boost version. Sam -- --- 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. For more options, visit https://groups.google.com/groups/opt_out.
Reproducible bug on the next branch
The following file does not work with ledger on the next branch, while it works fine with master. Of course, this is not a real file, it is a reduced example coming from a multi-k lines ledger. % cat x.dat 2011-12-26 X A:B 30.00€ A:C:D % ledger -f x.dat --sort date bal While comparing if 0 is less than 2011/12/26: Error: Cannot compare an integer to a date Sam -- --- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: Reproducible bug on the next branch
2013/4/29 Craig Earls ender...@gmail.com What is your date format set to in .ledgerrc? I have removed the .ledgerrc for the purpose of this test. Using the date format I usually use, it gives the same thing: % ledger -f x.dat --sort date bal --date-format %Y-%m-%d While comparing if 0 is less than 2011/12/26: Error: Cannot compare an integer to a date -- --- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: Reproducible bug on the next branch
2013/4/29 Craig Earls ender...@gmail.com Thanks. Does it happen if there are two xacts in the file? You mean more than one? Sure, it comes from a multi-file transactions. -- --- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: Reproducible bug on the next branch
2013/4/29 Craig Earls ender...@gmail.com I haven't used master in a long time. What version is it showing? I think it might still be a 2.6 Nope. It gives me: (build from 20 minutes ago) % ledger --version Ledger 3.0.0-20120518, the command-line accounting tool Copyright (c) 2003-2012, John Wiegley. All rights reserved. This program is made available under the terms of the BSD Public License. See LICENSE file included with the distribution for details and disclaimer. -- --- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: Reconciling with EMACS
2012/10/20 thierry thierry.dauco...@free.fr - in reconciliation buffer, I press space to mark transaction. Line becomes bold in reconciliation buffer, and clear status ! is applied to transaction in ledger file. That doesn't work with custom date formats. I have --date-format %Y-%m-%d in my ~/.ledgerrc and it looks like it won't find the transaction when toggling state.
Why is the (@) price recorded as historical price?
Hi. Given the following test.dat ledger file: 2012-10-01 Buy bitcoins Assets:Bitcoins2 BTC @ $11 Assets:USD 2012-10-02 Sell bitcoins to a friend for a discount Assets:USD Assets:Bitcoins-1 BTC (@) $10 I am surprised by the result of ledger -f test.dat bal -V bitcoins: $10 Assets:Bitcoins Why does the bitcoin remaining in Assets:Bitcoins use the $10 price which is not supposed to be recorded as an historical price? Shouldn't it be valued at $11 (the latest historical price to date)? I'm using the current git version from the master branch. Sam