Package Details: gnucash-xbt 5.5-1

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.000000
First Submitted: 2015-01-06 16:29 (UTC)
Last Updated: 2023-12-19 21:59 (UTC)

Dependencies (17)

Required by (1)

Sources (2)

Latest Comments

1 2 Next › Last »

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().