Re: building on cygwin

2014-07-09 Thread Anton Vodonosov
/On Saturday, 11 August 2012 21:03:34 UTC+1, Anton Vodonosov wrote:blockquote style=margin: 0; margin-left: 0.8ex; border-left: 1px #ccc solid; padding-left: 1ex;I've just cloned the gitub ledger repo.br /br /Running ./acprep udpate on cygwin results in:br /br /$ ./acprep updatebr /acprep: INFO: Invoking

Re: building on cygwin

2014-07-09 Thread Anton Vodonosov
/On Saturday, 11 August 2012 21:03:34 UTC+1, Anton Vodonosov wrote:blockquote style=margin: 0; margin-left: 0.8ex; border-left: 1px #ccc solid; padding-left: 1ex;I've just cloned the gitub ledger repo.br /br /Running ./acprep udpate on cygwin results in:br /br /$ ./acprep updatebr /acprep: INFO: Invoking

Re: building on cygwin

2014-05-27 Thread Anton Vodonosov
Thanks, it may be useful for me in the future. To make your recipe more reproducible, could you specify exact version (git revision)of your ledger source code? Or even better, commit it into your fork of ledger-cli on github,so that anyone can just clone it. Best regards,- Anton 27.05.2014, 22:29,

Re: building cl-ledger

2013-04-11 Thread Anton Vodonosov
On Thursday, April 11, 2013 2:09:40 AM UTC+3, Craig Earls wrote: Is the C++ version significantly different in terms of features? I personally don't know full picture. So far I found that cl-ledger doesn't support metainfo tags, and also has some limitations when parsing journal files:

Re: building cl-ledger

2013-04-10 Thread Anton Vodonosov
Hi Christopher, thanks for the response. 11.04.2013, 02:09, Christopher Browne cbbro...@gmail.com: Thanks for poking at it; I suspect it may be of some value to take a peek at the patches I put in last year, I did so, but there still enough references to old local-time API remain:

Re: building cl-ledger

2013-04-07 Thread Anton Vodonosov
On Sunday, April 7, 2013 7:49:49 PM UTC+3, John Wiegley wrote: Anton Vodonosov avodo...@yandex.ru writes: Some info for people who want to use Common Lisp version of ledger: https://gist.github.com/avodonosov/5327432 Hi Anton, Would you like to take over as maintainer of cl-ledger

building cl-ledger

2013-04-06 Thread Anton Vodonosov
Hello. Some info for people who want to use Common Lisp version of ledger: https://gist.github.com/avodonosov/5327432 Best regards, - Anton -- --- You received this message because you are subscribed to the Google Groups Ledger group. To unsubscribe from this group and stop receiving emails

Re: Building with Cygwin, revisited

2013-03-01 Thread Anton Vodonosov
Thanks for this post. I finally managed to build leger on cygwin (previously on this list I reported compilation error due to undefined function setenv, but I think it was caused either by old cygwin, or by mingw present in my path). Now that I can build ledger, I hope I will be to customize

Re: currency exchange and balance

2013-02-14 Thread Anton Vodonosov
On Tuesday, February 12, 2013 10:05:44 PM UTC+3, Max Erickson wrote: If you specify an exchange rate for the initial entry, Ledger will at least keep track of the change in value (so something like BYR 1200 @ $0.10). Then a register report will have entries for your adjustments. I don't no

Re: currency exchange and balance

2013-02-12 Thread Anton Vodonosov
On Tuesday, February 12, 2013 5:34:32 PM UTC+3, Max Erickson wrote: The $4 is the 50 BYR left in the account, at the last seen exchange rate of 12. Max, thanks for the reply. I understan how it works. The problem is that it doesn't balance when I convert commodities to USD. If I don't

Re: currency exchange and balance

2013-02-12 Thread Anton Vodonosov
Max, thanks for the reply. I understan how it works. The problem is that it doesn't balance when I convert commodities to USD. If I don't convert commodities, it doesn't balance too: $100 BYR 1250 Assets:Wallet BYR -2400 Equity:Opening Balances

Re: currency exchange and balance

2013-02-12 Thread Anton Vodonosov
Let me show what balance I would like to get: $104.17 Assets:Wallet $15.83 Equity:Capital Losses $-120.00 Equity:Opening Balances --- $0.00 The algorithm to get such balance. As we are converting everythign

currency exchange and balance

2013-02-10 Thread Anton Vodonosov
Hi. I have a problem which I isolated into a small test case. The journal below deals with two currencies, USD and BYR. P 2012/08/10 01:18:00 $ BYR 10.00 2012/08/01 * Opening Balance Assets:Wallet BYR 1200 Equity:Opening Balances 2012/09/01 Assets:Wallet $50

Re: building on cygwin

2012-08-12 Thread Anton Vodonosov
After changing #ifndef WIN32 to #if 0 at the quotes.cc, line 65 the compilation proceeded until: [ 15%] Building CXX object src/CMakeFiles/libledger.dir/times.cc.o /cygdrive/c/Users/anton/projects/ledger/src/times.cc: In member function 'T ledg er::unnamed::temporal_io_tT, InputFacetType,

Re: tourbles with 2.6

2012-08-11 Thread Anton Vodonosov
Yes, the expression is parsed without errors. But ledger -f buh2.dat --price-db prices.db -T (1$)*(O/P(1$,[2012-08-11])) balance still prints each commodity separately. What am I doing wrong (my goal is to convert all commodities everything to USD).

Re: ledger 2.6.1 on windows: problem opening GnuCash file

2012-07-16 Thread Anton Vodonosov
Maybe it depends on the GnuCach version? Mine is 2.4.8. Built from svn r21471 on 2011-10-21.

Re: reflecting only Credit of an account in report

2012-07-12 Thread Anton Vodonosov
John Wiegley: You can use the --dc report in 3.x to separate credits from debits. Is there any alternative for 2.6?

Re: ledger 2.6.1 on windows: problem opening GnuCash file

2012-05-26 Thread Anton Vodonosov
среда, 23 мая 2012 г., 20:26:39 UTC+3 пользователь Peter Ross написал: Have you un-gziped the gnucash data file, by default, IIRC it is stored gzipped and ledger only understands the text format. Pete Yes, ungzipped, it's an XML file.

ledger 2.6.1 on windows: problem opening GnuCash file

2012-05-22 Thread Anton Vodonosov
Hello. According to the ledger 2.6 manual it is able to query gnucash files. But still, i am not able to use ledger-cli 2.6.1 (the binary for windows available from the download section) to query a gnucash file ledger -f buh-export.gnucash bal [Error: Please specify ledger file using -f or