Package Details: gnucash-xbt 4.10-2

Git Clone URL: https://aur.archlinux.org/gnucash-xbt.git (read-only, click to copy)
Package Base: gnucash-xbt
Description: A personal and small-business financial-accounting application with Bitcoin support
Upstream URL: http://www.gnucash.org
Keywords: bitcoin finances gnucash
Licenses: GPL
Conflicts: gnucash, gnucash-devel
Provides: gnucash
Submitter: b3niup
Maintainer: b3niup
Last Packager: b3niup
Votes: 8
Popularity: 0.53
First Submitted: 2015-01-06 16:29 (UTC)
Last Updated: 2022-04-18 08:22 (UTC)

Latest Comments

b3niup commented on 2022-04-18 22:32 (UTC)

@almalmalm I've seen something similar with this syntax error when I still had some price entries for XBT. Probably it'd be possible and quite easy to manually remove them from xml to make it work if you wish to try it. Although I'm using sqlite backend since forever and it works perfectly fine for me so I guess your solution should be ok too :)

If you decide to manually edit xml file then PLEASE make a backup beforehand.

Best regards!

almalmalm commented on 2022-04-18 22:07 (UTC)

@b3niup... quick update. I saved the file as sqlite in gnucash-xbt, and opened it in vanilla gnucash... and it worked!

If I save it back to xml in vanilla and try to re-open, it fails just like before.

In any case, sqlite is working now (it seems the only practical difference is that with sqlite the modifications are automatically saved?). Thanks for the help!

almalmalm commented on 2022-04-18 21:46 (UTC)

Hi @b3niup, thanks for the quick reply. Running gnucash from the terminal doesn't reveal anything exceptional... only: Encontrado Finance::Quote versão 1.51.

If I run gnucash --debug, it produces a very long log /tmp/gnucash.trace, with mostly INFO lines. The only exceptions are:

* 18:17:30 ERROR <gnc.backend.xml> gnc_commodity* dom_tree_to_commodity_ref(xmlNodePtr, QofBook*): assertion 'ret != NULL' failed

and

* 18:17:30 WARN <gnc.backend> [GncXmlBackend::load()] Syntax error in Xml File /home/andre/Documentos/Financas/GnuCash/Andre.gnucash

I am using a xml database.

b3niup commented on 2022-04-18 08:49 (UTC) (edited on 2022-04-18 08:51 (UTC) by b3niup)

@almalmalm I've performed simple test and for me it worked as you've described until I removed all entries in Tools->"Price Database" for XBT. Then it opened in vanilla gnucash with all accounts and transactions. If you did that, don't see XBT entry in price database and still have this issue please let me know if you get any messages when running 'gnucash' from terminal and what kind of database are you using (xml, sqlite, mysql, other?).

Also please keep in mind that my gnucash-xbt build is based on latest release (4.10) but the vanilla version in Arch community repo is still one version behind (4.9). I don't think that's the case here but that's additional detail to have in mind while switching back.

almalmalm commented on 2022-04-18 01:13 (UTC)

@b3niup I have been using gnucash-xbt for a while, but would like to return using vanilla gnucash. I am recording the crypto transactions as FUND rather than currency. I removed all XBT accounts, and all XBT price conversions, but if I try to open the .gnucash file in vanilla gnucash, it shows no account or transaction.

Any suggestion on how to fix this?

ronald0 commented on 2018-09-24 09:06 (UTC)

Fixed, thank you @b3niup! :)

b3niup commented on 2018-09-24 08:14 (UTC)

@ronald0 done, it should build fine in 3.2-2 :)

ronald0 commented on 2018-09-24 01:07 (UTC)

/tmp/yaourt-tmp/aur-gnucash-xbt-minimal/src/gnucash-3.2/libgnucash/engine/Account.cpp: In function ‘void gnc_account_class_init(AccountClass*)’:

/tmp/yaourt-tmp/aur-gnucash-xbt-minimal/src/gnucash-3.2/libgnucash/engine/Account.cpp:575:59: error: ‘void g_type_class_add_private(gpointer, gsize)’ is deprecated [-Werror=deprecated-declarations]

 g_type_class_add_private(klass, sizeof(AccountPrivate));
                                                       ^

In file included from /usr/include/glib-2.0/gobject/gobject.h:24,

/usr/include/glib-2.0/gobject/gtype.h:1303:10: note: declared here

void g_type_class_add_private (gpointer g_class, ^~~~~~~~~~~~~~~~~~~~~~~~

/tmp/yaourt-tmp/aur-gnucash-xbt-minimal/src/gnucash-3.2/libgnucash/engine/Account.cpp:575:59: error: ‘void g_type_class_add_private(gpointer, gsize)’ is deprecated [-Werror=deprecated-declarations]

 g_type_class_add_private(klass, sizeof(AccountPrivate));
                                                       ^

In file included from /usr/include/glib-2.0/gobject/gobject.h:24, ... /usr/include/glib-2.0/gobject/gtype.h:1303:10: note: declared here

void g_type_class_add_private (gpointer g_class, ^~~~~~~~~~~~~~~~~~~~~~~~ ...

At global scope: cc1plus: error: unrecognized command line option ‘-Wno-deprecated-register’ [-Werror] cc1plus: all warnings being treated as errors make[2]: *** [libgnucash/engine/CMakeFiles/gncmod-engine.dir/build.make:69: libgnucash/engine/CMakeFiles/gncmod-engine.dir/Account.cpp.o] Error 1

make[2]: Waiting for unfinished jobs.... make[1]: [CMakeFiles/Makefile2:4310: libgnucash/engine/CMakeFiles/gncmod-engine.dir/all] Error 2 make: *** [Makefile:163: all] Error 2 ==> ERROR: A failure occurred in build().

b3niup commented on 2018-04-21 02:31 (UTC)

I've added minimal version of this gnucash build - without ofx/qfx import and aqbanking support - https://aur.archlinux.org/packages/gnucash-xbt-minimal/

b3niup commented on 2017-10-04 00:36 (UTC) (edited on 2018-02-10 16:04 (UTC) by b3niup)

@Plexcon unfortunately you need to rebuild webkitgtk2 (webkitgtk in AUR) to make it build again in your system both for old (2.6.17) and new (2.6.18) version.

Plexcon commented on 2017-09-18 15:28 (UTC)

/usr/lib/libwebkitgtk-1.0.so.0: undefined reference to `cairo_gl_surface_get_width' /usr/lib/libwebkitgtk-1.0.so.0: undefined reference to `cairo_gl_surface_get_height' /usr/lib/libwebkitgtk-1.0.so.0: undefined reference to `cairo_gl_device_set_thread_aware' /usr/lib/libwebkitgtk-1.0.so.0: undefined reference to `cairo_egl_device_create' /usr/lib/libwebkitgtk-1.0.so.0: undefined reference to `cairo_gl_surface_create_for_texture' /usr/lib/libwebkitgtk-1.0.so.0: undefined reference to `cairo_glx_device_create' collect2: error: ld returned 1 exit status make[4]: *** [Makefile:687: gnucash] Error 1 make[4]: se sale del directorio '/tmp/pamac-build-kantergos/gnucash-xbt/src/gnucash-2.6.17/src/bin' make[3]: *** [Makefile:787: all-recursive] Error 1 make[3]: se sale del directorio '/tmp/pamac-build-kantergos/gnucash-xbt/src/gnucash-2.6.17/src/bin' make[2]: *** [Makefile:550: all-recursive] Error 1 make[2]: se sale del directorio '/tmp/pamac-build-kantergos/gnucash-xbt/src/gnucash-2.6.17/src' make[1]: *** [Makefile:784: all-recursive] Error 1 make[1]: se sale del directorio '/tmp/pamac-build-kantergos/gnucash-xbt/src/gnucash-2.6.17' make: *** [Makefile:637: all] Error 2 ==> ERROR: Se produjo un fallo en build(). Cancelando...

b3niup commented on 2015-01-06 16:33 (UTC)

This version supports Bitcoin fractions up to microbitcoin - supporting satoshi needs much more patching, so feel free to submit patches if you really need satoshi support :)