gnucash doesn't start
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnucash (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Neither gnucash from snap or apt starts on Ubuntu 23.10, it only show the dock icon but doesn't show the app window and to close it, the process must be killed.
$ gnucash --debug
;;; note: source file /usr/share/
;;; newer than compiled /usr/lib/
;;; note: source file /usr/share/
;;; newer than compiled /usr/lib/
;;; note: auto-compilation is enabled, set GUILE_AUTO_
;;; or pass the --no-auto-compile argument to disable.
;;; compiling /usr/share/
;;; compiling /usr/share/
;;; it seems /usr/share/
;;; is part of the compiler; skipping auto-compilation
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; In procedure variable-ref: variable is unbound: #<variable 706600dfdce0 value: #<undefined>>
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; In procedure variable-ref: variable is unbound: #<variable 706600dfdce0 value: #<undefined>>
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; In procedure variable-ref: variable is unbound: #<variable 706600dfdce0 value: #<undefined>>
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; In procedure variable-ref: variable is unbound: #<variable 706600dfdce0 value: #<undefined>>
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language bytecode
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language bytecode
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language bytecode
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language scheme
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language scheme
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language scheme
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language scheme
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language scheme
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language scheme
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language scheme
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language scheme
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language scheme
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language scheme
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language scheme
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language scheme
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language scheme
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language scheme
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language scheme
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language scheme
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language scheme
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language scheme
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language scheme
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language scheme
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language scheme
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language scheme
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language scheme
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language scheme
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language scheme
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language scheme
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language scheme
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language scheme
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language scheme
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language tree-il
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language tree-il
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language tree-il
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language tree-il
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language tree-il
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language tree-il
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language tree-il
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language tree-il
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language tree-il
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language tree-il
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language tree-il
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language tree-il
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language tree-il
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language tree-il
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language tree-il
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language tree-il
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language tree-il
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no such language tree-il
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; no code for module (language tree-il compile-cps)
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; No variable named compile-cps in #<interface (language tree-il compile-cps) 7065f3a0db40>
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; No variable named compile-cps in #<interface (language tree-il compile-cps) 7065f3a0db40>
;;; compiling /usr/share/
;;; WARNING: compilation of /usr/share/
;;; No variable named compile-cps in #<interface (language tree-il compile-cps) 7065f3a0db40>
ProblemType: Bug
DistroRelease: Ubuntu 23.10
Package: gnucash (not installed)
ProcVersionSign
Uname: Linux 6.5.0-26-generic x86_64
ApportVersion: 2.27.0-0ubuntu5
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Mon Mar 25 21:33:49 2024
InstallationDate: Installed on 2024-03-22 (3 days ago)
InstallationMedia: Ubuntu 23.10.1 "Mantic Minotaur" - Release amd64 (20231016.1)
SourcePackage: gnucash
UpgradeStatus: No upgrade log present (probably fresh install)
I found a fix for this that at least works for me.
;;; note: source file /usr/share/ guile/3. 0/ice-9/ eval.scm x86_64- linux-gnu/ guile/3. 0/ccache/ ice-9/eval. go
;;; newer than compiled /usr/lib/
stat /usr/share/ guile/3. 0/ice-9/ eval.scm x86_64- linux-gnu/ guile/3. 0/ccache/ ice-9/eval. go
and
stat /usr/lib/
showed that eval.scm was one second newer than eval.go. I’m not sure why. This didn’t happen on my last installation of mantic. But using
touch -m --date="…"
to set the modification dates of all the .scm files in /usr/share/guile/ to 2 seconds earlier stops the attempted compilation process and lets GnuCash start normally.