Version 2.6.3 won't save when there are open Reports

Roger rmisko11 at gmail.com
Fri Aug 15 11:56:33 EDT 2014


I 'purged' or 'completely removed' anything with related to gnucash and 
performed that neat 'find' command (I need to read the man more often 
:)) with the following results:

~/Downloads/gnucash-2.6.3$ find /usr /var -name \*gnc\* -o -name \*gnucash\*
/usr/share/app-install/desktop/gnucash:gnucash.desktop
/usr/share/app-install/icons/gnucash-icon.svg
/usr/share/doc/octave3.2-htmldoc/interpreter/doc_002dlogncdf.html
/usr/share/kde4/apps/krita/templates/design/.source/Designcinema16_10_2484x1200_96dpiRGB_8bit_.kra
/usr/share/kde4/apps/krita/templates/design/.source/Designcinema2.39_1_2484x1040_96dpiRGB_8bit_.kra
/usr/share/kde4/apps/krita/templates/design/Designcinema16_10_2484x1200_96dpiRGB_8bit_.desktop
/usr/share/kde4/apps/krita/templates/design/Designcinema2.39_1_2484x1040_96dpiRGB_8bit_.desktop
/usr/share/gnucash
/usr/share/josm/images/aligncircle.png
/usr/share/mime/application/x-gnucash.xml
/usr/share/octave/3.8.1/m/statistics/distributions/logncdf.m
/usr/share/octave/3.2.4/m/statistics/distributions/logncdf.m
/usr/local/etc/gnucash
/usr/local/share/doc/gnucash
/usr/local/share/gnucash
/usr/local/share/gnucash/guile-modules/gnucash
/usr/local/share/locale/da/LC_MESSAGES/gnucash.mo
/usr/local/share/locale/es_NI/LC_MESSAGES/gnucash.mo
/usr/local/share/locale/ja/LC_MESSAGES/gnucash.mo
/usr/local/share/locale/hu/LC_MESSAGES/gnucash.mo
/usr/local/share/locale/ro/LC_MESSAGES/gnucash.mo
/usr/local/share/locale/ar/LC_MESSAGES/gnucash.mo
/usr/local/share/locale/en_GB/LC_MESSAGES/gnucash.mo
/usr/local/share/locale/tr/LC_MESSAGES/gnucash.mo
/usr/local/share/locale/sv/LC_MESSAGES/gnucash.mo
/usr/local/share/locale/es/LC_MESSAGES/gnucash.mo
/usr/local/share/locale/nl/LC_MESSAGES/gnucash.mo
/usr/local/share/locale/fa/LC_MESSAGES/gnucash.mo
/usr/local/share/locale/lv/LC_MESSAGES/gnucash.mo
/usr/local/share/locale/nb/LC_MESSAGES/gnucash.mo
/usr/local/share/locale/he/LC_MESSAGES/gnucash.mo
/usr/local/share/locale/vi/LC_MESSAGES/gnucash.mo
/usr/local/share/locale/pl/LC_MESSAGES/gnucash.mo
/usr/local/share/locale/uk/LC_MESSAGES/gnucash.mo
/usr/local/share/locale/ca/LC_MESSAGES/gnucash.mo
/usr/local/share/locale/el/LC_MESSAGES/gnucash.mo
/usr/local/share/locale/it/LC_MESSAGES/gnucash.mo
/usr/local/share/locale/zh_CN/LC_MESSAGES/gnucash.mo
/usr/local/share/locale/ta/LC_MESSAGES/gnucash.mo
/usr/local/share/locale/bg/LC_MESSAGES/gnucash.mo
/usr/local/share/locale/sk/LC_MESSAGES/gnucash.mo
/usr/local/share/locale/rw/LC_MESSAGES/gnucash.mo
/usr/local/share/locale/fr/LC_MESSAGES/gnucash.mo
/usr/local/share/locale/de/LC_MESSAGES/gnucash.mo
/usr/local/share/locale/cs/LC_MESSAGES/gnucash.mo
/usr/local/share/locale/lt/LC_MESSAGES/gnucash.mo
/usr/local/share/locale/zh_TW/LC_MESSAGES/gnucash.mo
/usr/local/share/locale/pt/LC_MESSAGES/gnucash.mo
/usr/local/share/locale/ko/LC_MESSAGES/gnucash.mo
/usr/local/share/locale/ne/LC_MESSAGES/gnucash.mo
/usr/local/share/locale/fi/LC_MESSAGES/gnucash.mo
/usr/local/share/locale/eu/LC_MESSAGES/gnucash.mo
/usr/local/share/locale/ru/LC_MESSAGES/gnucash.mo
/usr/local/share/locale/pt_BR/LC_MESSAGES/gnucash.mo
/usr/local/include/gnucash
/usr/local/lib/gnucash
/usr/local/bin/share/applications/gnucash.desktop
/usr/local/bin/share/icons/hicolor/128x128/apps/gnucash-icon.png
/usr/local/bin/share/icons/hicolor/48x48/apps/gnucash-icon.png
/usr/local/bin/share/icons/hicolor/16x16/apps/gnucash-icon.png
/usr/local/bin/share/icons/hicolor/scalable/apps/gnucash-icon.svg
/usr/local/bin/share/icons/hicolor/24x24/apps/gnucash-icon.png
/usr/local/bin/share/icons/hicolor/96x96/apps/gnucash-icon.png
/usr/local/bin/share/icons/hicolor/64x64/apps/gnucash-icon.png
/usr/local/bin/share/icons/hicolor/256x256/apps/gnucash-icon.png
/usr/local/bin/share/icons/hicolor/22x22/apps/gnucash-icon.png
/usr/local/bin/share/icons/hicolor/32x32/apps/gnucash-icon.png
/usr/local/bin/gnucash
/usr/local/bin/lib/libgnc-gnome.so // Deleted all these
/usr/local/bin/lib/libgnc-core-utils.la
/usr/local/bin/lib/libgnc-module.so.0.0.0
/usr/local/bin/lib/libgnc-qof.so.1.0.4
/usr/local/bin/lib/libgnc-core-utils.so.0
/usr/local/bin/lib/libgnc-core-utils.so
/usr/local/bin/lib/libgnc-business-ledger.la
/usr/local/bin/lib/libgnc-core-utils.so.0.0.0
/usr/local/bin/lib/libgnc-qof.la
/usr/local/bin/lib/libgnc-gnome.so.0.0.0
/usr/local/bin/lib/libgnc-qof.so
/usr/local/bin/lib/libgnc-backend-xml-utils.so
/usr/local/bin/lib/libgnc-module.so
/usr/local/bin/lib/libgnc-gnome.so.0
/usr/local/bin/lib/libgnc-module.so.0
/usr/local/bin/lib/libgnc-qof.so.1
/usr/local/bin/lib/libgnc-backend-xml-utils.so.0.0.0
/usr/local/bin/lib/libgnc-business-ledger.so
/usr/local/bin/lib/libgnc-module.la
/usr/local/bin/lib/libgnc-business-ledger.so.0.0.0
/usr/local/bin/lib/libgnc-backend-xml-utils.la
/usr/local/bin/lib/libgnc-gnome.la
/usr/local/bin/lib/libgnc-business-ledger.so.0
/usr/local/bin/lib/libgnc-backend-xml-utils.so.0
/usr/local/bin/lib/libgnc-backend-sql.so
/usr/local/bin/lib/libgnc-backend-sql.so.0.0.0
/usr/local/bin/lib/libgnc-backend-sql.so.0
/usr/local/bin/lib/libgnc-backend-sql.la
/usr/local/libexec/gnucash
/usr/src/linux-headers-3.13.0-29-generic/include/config/dgnc.h
/usr/src/linux-headers-3.13.0-29/drivers/staging/dgnc
find: `/var/log/samba/cores': Permission denied
find: `/var/log/speech-dispatcher': Permission denied
find: `/var/tmp/kdecache-kdm': Permission denied
find: `/var/tmp/kdecache-root': Permission denied
find: `/var/tmp/kdecache-lightdm': Permission denied
find: `/var/spool/rsyslog': Permission denied
find: `/var/spool/cron/atjobs': Permission denied
find: `/var/spool/cron/crontabs': Permission denied
find: `/var/spool/cron/atspool': Permission denied
find: `/var/spool/cups': Permission denied
find: `/var/spool/incron': Permission denied
find: `/var/spool/mqueue': Permission denied
find: `/var/spool/mqueue-client': Permission denied
find: `/var/spool/asterisk': Permission denied
find: `/var/lib/postgresql/9.1/main': Permission denied
find: `/var/lib/postgresql/9.3/main': Permission denied
find: `/var/lib/sendmail': Permission denied
find: `/var/lib/ntop': Permission denied
find: `/var/lib/bitlbee': Permission denied
find: `/var/lib/polkit-1': Permission denied
find: `/var/lib/lightdm': Permission denied
find: `/var/lib/udisks2': Permission denied
find: `/var/lib/sudo': Permission denied
find: `/var/lib/tor': Permission denied
find: `/var/lib/samba/winbindd_privileged': Permission denied
/var/cache/apt/archives/gnucash-common_1%3a2.6.3-1~getdeb4~trusty_all.deb
/var/cache/apt/archives/gnucash_1%3a2.6.3-1~getdeb4~trusty_amd64.deb
/var/cache/apt/archives/python-gnucash_1%3a2.6.3-1~getdeb4~trusty_amd64.deb
/var/cache/apt/archives/gnucash-dbg_1%3a2.6.3-1~getdeb4~trusty_amd64.deb
/var/cache/apt/archives/gnucash-docs_2.6.1-1_all.deb
find: `/var/cache/lightdm/dmrc': Permission denied
find: `/var/cache/system-tools-backends/backup': Permission denied
find: `/var/cache/ldconfig': Permission denied


I deleted all the libgnc stuff, reinstalled, and rebooted and this seems 
to have gotten rid of the memory violation error.  H


/usr/local/bin$ gnucash
Found Finance::Quote version 1.18
Note: Exited cleanly after just opening and closing

/usr/local/bin$ gnucash
Found Finance::Quote version 1.18
No bp log location saved, using default.
[000:000] Cpu: 6.23.6, x2, 2670Mhz, 3918MB
[000:000] Computer model: Not available
[000:000] Browser XEmbed support present: 1
[000:000] Browser toolkit is Gtk2.
[000:000] Using Gtk2 toolkit
[000:000] Warning(optionsfile.cc:47): Load: Could not open file, err=2
[000:000] No bp log location saved, using default.
[000:001] Cpu: 6.23.6, x2, 2670Mhz, 3918MB
[000:001] Computer model: Not available
[000:001] Browser XEmbed support present: 1
[000:001] Browser toolkit is Gtk2.
[000:001] Using Gtk2 toolkit
No bp log location saved, using default.
[000:000] Cpu: 6.23.6, x2, 2670Mhz, 3918MB
[000:000] Computer model: Not available
[000:629] Warning(optionsfile.cc:47): Load: Could not open file, err=2
[000:629] No bp log location saved, using default.
[000:630] Cpu: 6.23.6, x2, 2670Mhz, 3918MB
[000:630] Computer model: Not available
java version "1.7.0_55"
OpenJDK Runtime Environment (IcedTea 2.4.7) (7u55-2.4.7-1ubuntu1)
OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)
Backtrace:
In ice-9/boot-9.scm:
  157: 7 [catch #t #<catch-closure 28433c0> ...]
In unknown file:
    ?: 6 [apply-smob/1 #<catch-closure 28433c0>]
    ?: 5 [call-with-input-string "gnc:report-serialize" ...]
In ice-9/boot-9.scm:
2320: 4 [save-module-excursion #<procedure 3b75900 at 
ice-9/eval-string.scm:65:9 ()>]
In ice-9/eval-string.scm:
   44: 3 [read-and-eval #<input: string 3b74340> #:lang ...]
   37: 2 [lp gnc:report-serialize]
In ice-9/eval.scm:
  393: 1 [eval #<memoized gnc:report-serialize> ()]
In unknown file:
    ?: 0 [memoize-variable-access! # #]

ERROR: In procedure memoize-variable-access!:
ERROR: Unbound variable: gnc:report-serialize




*******************************************************************************
~$ gdb gnucash
GNU gdb (Ubuntu 7.7-0ubuntu3.1) 7.7
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from gnucash...(no debugging symbols found)...done.
(gdb) run  – Just open and close
Starting program: /usr/bin/gnucash
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffdd38c700 (LWP 4182)]
[New Thread 0x7fffdcb8b700 (LWP 4183)]
[New Thread 0x7fffb9a9d700 (LWP 4189)]
Found Finance::Quote version 1.18
[New Thread 0x7fffb929c700 (LWP 4192)]
[Thread 0x7fffb929c700 (LWP 4192) exited]
[Thread 0x7fffdcb8b700 (LWP 4183) exited]
[Thread 0x7fffb9a9d700 (LWP 4189) exited]
[Thread 0x7fffdd38c700 (LWP 4182) exited]
[Inferior 1 (process 4177) exited normally]
(gdb) run  – Open, Open Report and Close
Starting program: /usr/bin/gnucash
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffdd38c700 (LWP 4196)]
[New Thread 0x7fffdc960700 (LWP 4197)]
[New Thread 0x7fffb9a9d700 (LWP 4202)]
Found Finance::Quote version 1.18
[New Thread 0x7fffb91f0700 (LWP 4205)]
[Thread 0x7fffb91f0700 (LWP 4205) exited]
[New Thread 0x7fffb91f0700 (LWP 4206)]
[New Thread 0x7fffb3fff700 (LWP 4207)]
No bp log location saved, using default.
[000:000] Cpu: 6.23.6, x2, 2670Mhz, 3918MB
[000:000] Computer model: Not available
[000:000] Browser XEmbed support present: 1
[000:000] Browser toolkit is Gtk2.
[000:007] Using Gtk2 toolkit
[000:007] Warning(optionsfile.cc:47): Load: Could not open file, err=2
[000:007] No bp log location saved, using default.
[000:008] Cpu: 6.23.6, x2, 2670Mhz, 3918MB
[000:008] Computer model: Not available
[000:008] Browser XEmbed support present: 1
[000:008] Browser toolkit is Gtk2.
[000:008] Using Gtk2 toolkit
No bp log location saved, using default.
[000:000] Cpu: 6.23.6, x2, 2670Mhz, 3918MB
[000:000] Computer model: Not available
[New Thread 0x7fffb1eaa700 (LWP 4210)]
[New Thread 0x7fffb16a9700 (LWP 4212)]
[New Thread 0x7fffb0ea8700 (LWP 4215)]
[000:119] Warning(optionsfile.cc:47): Load: Could not open file, err=2
[000:119] No bp log location saved, using default.
[000:120] Cpu: 6.23.6, x2, 2670Mhz, 3918MB
[000:120] Computer model: Not available
java version "1.7.0_55"
OpenJDK Runtime Environment (IcedTea 2.4.7) (7u55-2.4.7-1ubuntu1)
OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)
[New Thread 0x7fff6792f700 (LWP 4245)]
[New Thread 0x7fff6712e700 (LWP 4246)]
[New Thread 0x7fff65ebf700 (LWP 4247)]
Backtrace:
In ice-9/boot-9.scm:
  157: 7 [catch #t #<catch-closure bff3c0> ...]
In unknown file:
    ?: 6 [apply-smob/1 #<catch-closure bff3c0>]
    ?: 5 [call-with-input-string "gnc:report-serialize" ...]
In ice-9/boot-9.scm:
2320: 4 [save-module-excursion #<procedure 2464270 at 
ice-9/eval-string.scm:65:9 ()>]
In ice-9/eval-string.scm:
   44: 3 [read-and-eval #<input: string 243a410> #:lang ...]
   37: 2 [lp gnc:report-serialize]
In ice-9/eval.scm:
  393: 1 [eval #<memoized gnc:report-serialize> ()]
In unknown file:
    ?: 0 [memoize-variable-access! # #]

ERROR: In procedure memoize-variable-access!:
ERROR: Unbound variable: gnc:report-serialize
[Thread 0x7fffb3fff700 (LWP 4207) exited]
[Thread 0x7fff65ebf700 (LWP 4247) exited]
[Thread 0x7fff6712e700 (LWP 4246) exited]
[Thread 0x7fff6792f700 (LWP 4245) exited]
[Thread 0x7fffb0ea8700 (LWP 4215) exited]
[Thread 0x7fffb16a9700 (LWP 4212) exited]
[Thread 0x7fffb1eaa700 (LWP 4210) exited]
[Thread 0x7fffb91f0700 (LWP 4206) exited]
[Thread 0x7fffb9a9d700 (LWP 4202) exited]
[Thread 0x7fffdc960700 (LWP 4197) exited]
[Thread 0x7fffdd38c700 (LWP 4196) exited]
[Inferior 1 (process 4194) exited with code 01]
(gdb)


Although we've fixed on problem there is still the problem with the 
reports.  Is there anything else I should delete?

Roger

On 14-08-15 10:30 AM, Derek Atkins wrote:
> I still think you've got remnants of an old gnucash installation here.
>
> How about this:
>
> * remove all gnucash packages from the package manager
> * find /usr /var -name \*gnc\* -o -name \*gnucash\*
>
> See if that find gives you anything at all?
>
> -derek



More information about the gnucash-user mailing list