Re: GnuCash 2.7.4 Released

2018-02-08 Thread John Ralls


> On Feb 8, 2018, at 3:18 PM, Klaus Dahlke  wrote:
> 
> John,
> thanks for that, I am almost there.
> I did:
> 
> cmake -G Ninja -D CMAKE_INSTALL_PREFIX=/mnt/rd/gnucash_dev -D WITH_SQL=ON -D 
> WITH_AQBANKING=ON -D WITH_GNUCASH=ON ..
> 
> which run through without issue.
> 
> But then when running 'ninja' an error occures at:
> 
> [785/905] Generating 
> ../../../lib64/gnucash/scm/ccache/2.2/qif-import/qif-import.go
> FAILED: lib64/gnucash/scm/ccache/2.2/qif-import/qif-import.go 
> cd /mnt/rd/gnucash-2.7.4/build/gnucash/import-export/qif-imp && 
> /usr/bin/cmake -E env 
> LD_LIBRARY_PATH=/mnt/rd/gnucash-2.7.4/build/lib64:/mnt/rd/gnucash-2.7.4/build/lib64/gnucash:
>  GNC_UNINSTALLED=YES GNC_BUILDDIR=/mnt/rd/gnucash-2.7.4/build 
> GUILE_LOAD_PATH=/mnt/rd/gnucash-2.7.4/gnucash/import-export/qif-imp 
> GUILE_LOAD_COMPILED_PATH=/mnt/rd/gnucash-2.7.4/build/lib64/gnucash/scm/ccache/2.2
>  
> GNC_MODULE_PATH=/mnt/rd/gnucash-2.7.4/build/lib64:/mnt/rd/gnucash-2.7.4/build/lib64/gnucash:
>  /usr/bin/guile -e '(@@ (guild) main)' -s /usr/bin/guild compile -o 
> /mnt/rd/gnucash-2.7.4/build/lib64/gnucash/scm/ccache/2.2/qif-import/qif-import.go
>  /mnt/rd/gnucash-2.7.4/gnucash/import-export/qif-imp/qif-import.scm
> Backtrace:
> In scripts/compile.scm:
>   251:26 19 (_ _)
> In system/base/target.scm:
> 57:6 18 (with-target _ _)
> In system/base/compile.scm:
>152:6 17 (compile-file _ #:output-file _ #:from _ #:to _ #:env _ …)
> 43:4 16 (call-once _)
> In ice-9/boot-9.scm:
>841:4 15 (with-throw-handler _ _ _)
> In system/base/compile.scm:
>59:11 14 (_)
>   155:11 13 (_ #)
>   235:18 12 (read-and-compile # #:from _ # …)
>   183:32 11 (compile-fold (#) …)
> In ice-9/boot-9.scm:
>   2312:4 10 (save-module-excursion #)
> In language/scheme/compile-tree-il.scm:
>31:15  9 (_)
> In ice-9/psyntax.scm:
>  1235:36  8 (expand-top-sequence ((use-modules (gnucash #))) _ _ #f …)
>  1182:24  7 (parse _ (("placeholder" placeholder)) ((top) #(# # …)) …)
>   285:10  6 (parse _ (("placeholder" placeholder)) (()) _ c (# #) #)
> In ice-9/boot-9.scm:
>  3365:20  5 (process-use-modules _)
>   222:17  4 (map1 (((gnucash app-utils
>  3366:31  3 (_ ((gnucash app-utils)))
>   2791:6  2 (resolve-interface _ #:select _ #:hide _ #:prefix _ # _ …)
> In unknown file:
>   1 (scm-error misc-error #f "~A ~S" ("no code for modu…" …) …)
> In ice-9/boot-9.scm:
>   752:25  0 (dispatch-exception _ _ _)
> 
> ice-9/boot-9.scm:752:25: In procedure dispatch-exception:
> no code for module (gnucash app-utils)
> 
> 
> I have guile-1.8, guile-2.0 and guile-2,2 on the system, but idoesn't seems 
> that there is a switch for teh guile version for cmake

Klaus,

That usually means that guile is finding the wrong libgncmod-apputils.so. If 
you have an installed /usr/bin/gnucash and associated libraries you need to 
hide them somehow so that when guile tries to dlopen libgncmod-apputils.so it 
gets the one you’ve just built. If it’s just a libgncmod-apputils.so from a 
previous ninja install then it’s easier, just delete it.

Regards,
John Ralls

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Future allocated money, aka Envelope Budgeting

2018-02-08 Thread Wm via gnucash-devel

On 07/02/2018 09:45, Alen Siljak wrote:

He he

Thanks a lot for the tips. I'm in touch with Sebastien in order to
polish the ledger export script. It is available either directly
(pc-export has been renamed to export.py) or through piecash cli
("piecash ledger" is the command if I remember well).
Hopefully over the weekend I'll have some more time to play around with
the whole process:

gnucash -> sqlite db -> piecash export -> ledger data -> ledger or
beancount -> fava or custom web interface


beancount has a sort of sql of its own.  I'll say no more since I 
suggested the idea *after* my sql balance sheet, etc appeared here and ...


in  general many people are more casual about how exactly you store your 
plain text accounting data and consider an almost readable format (XML) 
or open db (all available gnc backends) as good as.



I did not notice if asset allocation is available through Fava. Either
way, I need to investigate that into more detail and see if I can get
something similar to the view I already created in Gnucash Portfolio.
I'm hoping it would be easier to contribute to an existing project than
write and maintain the whole thing from scratch.
I'll be interested to see how you get on.  I'm not sure how far you want 
to go with the portfolio ideas.



There is also another Python export script at
https://github.com/MatzeB/pygnucash. I hope to combine the wisdom from
both of these.


I had to re-write a bit of that IIRC so you are probably better working 
with Sebastien.



Is anyone aware of how close Beancount is to Ledger in terms of
functionality?


they are diverging rather than converging, beancount is more actively 
developed in functionality terms.  perhaps more to the point, beancount 
is (almost) all python so appears to fit with 
http://portfolio.alensiljak.tk/ better in a family sense.


the reason I chose ledger is that it is less strict than beancount and 
suits my approach of blackboxing p2p transactions, doing asset 
allocation a few times a year, etc.  I am not keeping anything in 
ledger, I write a new file every time and just use ledger as a reporting 
/ analysis tool.



Also, apologies if this is spamming the devel list. Let me know if
discussing related projects is/not ok for this list.


I think we are almost done, I can't see the portfolio issue producing 
many more postings.


for lists / newsgroups both of these are active

gmane.comp.finance.ledger.general
gmane.comp.finance.beancount

including contributions from devs, very frequent in the case of beancount

--
Wm

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel