Difference between revisions of "Windows"

From GnuCash
Jump to: navigation, search
m (None)
(Running gnucash via WSL2)
 
(98 intermediate revisions by 12 users not shown)
Line 1: Line 1:
== kid carrier ==
+
= [[GnuCash]] on Microsoft Windows =
  
You have not too long ago had a infant, and congrats are in get! These days you happen to be itching to get away from the home, reach your piste or perhaps go on trip. Among the simplest ways to carry your child whilst both your hands no cost is to use a kid carrier. Here's how you can go shopping.
+
This page collects various notes about running [[GnuCash]] on Microsoft Windows.
  
 +
=== Q: Which Windows versions are supported? ===
 +
;Answer: The [{{URL:www}}/download.phtml download page] shows, which Windows version is officially supported by which GnuCash version.
 +
:;Note: ''Windows 3/95/98/Me'' and ''Windows NT3.5/4.0'' have never been supported.
  
 +
=== Q: Where is the binary installer? ===
 +
'''A:''' The latest versions can be downloaded from the [{{{{URL:www}}}}/download.phtml download] page on the GnuCash website. Anyone who cares about their data should use the '''released version''' found there.
 +
:People looking to test new features - at the risk of running into extra bugs - could try a '''test version''':
 +
:* As it is not so easy to build GnuCash under Windows, a daily build of the [{{URL:Build:Win}} stable branch] is made available as well to '''test''' bugfixes.
 +
:* To closely follow development on the ''future branch'', which contains new features - and bugs - there are the [[#Q:_Are_there_nightly_builds.3F|nightly builds]]. Expect data loss if you try these though!
  
The basic principles of Youngster Service providers
+
=== Q: Is it possible to compile GnuCash on Windows? ===
 +
'''A:''' Yes. It's cumbersome, but possible. See the instructions in [[Building_on_Windows| Building on Windows]].
  
 +
=== Q: Are there nightly builds? ===
 +
'''A:''' We run nightly builds for the '''stable''' (former <q>maint</q>) and after implmenting its first feature the '''future''' (former <q>master</q>) branch, but it's configured so that it runs only if changes have been pushed since the last build and only if the build is successful; they do fail from time to time. You can find the last 6-12 month's worth of builds at
 +
{{BuildURL}}/builds/win32/
 +
or, more specifically, for [{{URL:Build:Win}}?C=M;O=D stable], on demand for [{{URL:Build:Win|future}}?C=M;O=D future], and [{{URL:Build:Win|build-logs}}?C=M;O=D logs for all builds].
  
 +
The product of the nightly builds is a Windows installer that will ''replace your existing GnuCash installation''. The future branch ''really is unstable'': Be sure to have suitable backups and don't use it for your "production" books.
  
Your first selection for a baby can be an baby provider. This is the easy, frameless load up that snuggles baby right in front people. The majority of holds an infant and a few newborn items with a total pounds up to 25 or perhaps 25 weight. Infant service providers are generally incredibly convenient pertaining to around-town make use of as well as airline travel.
+
=== Q: Anything else? ===
 +
To avoid making the installer file even bigger, some functionality is not available without further downloads and installations of software.
  
 +
==== Preferences in GnuCash 2.6 and more recent ====
 +
gconf has been replaced with another preferences system. On Windows you
 +
will find the preferences directly in the Windows Registry under the
 +
registry key
 +
  HKEY_CURRENT_USER/software/GSettings/org/gnucash/
  
 +
==== Pdf name for invoices ====
  
A kid service provider normally carries a framework and is also meant to have a greater little one at the rear of anyone. To train on a kid service provider, a young child have to be effective at sitting up with out help. The smallest little one right for a young child carrier is around 16 pounds., that typically means a young child concerning Six as well as 8-10 several weeks old. If doubtful about your child's readiness, check with your physician before venturing out. The largest little one proper for you to experience in the provider is around Forty five lbs., with some versions helping higher bodyweight to match equipment, also.
+
This name is controlled by two hidden preferences:
 +
* pdf-export/filename-format
 +
* pdf-export/filename-date-format
  
 +
Both of them will reside in the registry under
 +
HKEY_CURRENT_USER/software/GSettings/org/gnucash/dialogs/general/report
  
 +
These won't be there by default (only values that deviate from the default
 +
value will be effectively in the registry). To change it you will first
 +
have to create a sub key named '''pdf-export''.
  
Child providers are a fantastic choice for vacation, backpacking and employ around town. Since the extra fat and also motion of your respective youngster may cause you to definitely get rid of your balance, kid providers are not suitable for walking about loose rock and roll, rising, snowboarding, inline skating, cycling or another high-speed routines.
+
Under this key you can create two string type keys named '''filename-format'''
 +
and '''filename-date-format'''.
  
 +
This is the definition of these two string keys:
 +
;filename-format
 +
:This setting chooses the file name for PDF export. This is a sprintf(3) string with three arguments: "%1$s" is the report name such as "Invoice". "%2$s" is the number of the report, which for an invoice report is the invoice number. "%3$s" is the date of the report, formatted according to the filename-date-format setting. (Note: Any characters that are not allowed in filenames, such as '/', will be replaced with underscores '_' in the resulting file name.)<br/>The default value is %1$s-%2$s-%3$s
  
 +
;filename-date-format
 +
:This setting chooses the way dates are used in the filename of PDF export. Possible values for this setting are "locale" to use the system locale setting, "ce" for Continental Europe style dates, "iso" for ISO 8601 standard dates , "uk" for United Kingdom style dates, and "us" for United States style dates.
  
Assess Characteristics
+
==== Finance::Quote ====
 +
For the retrieval of [[Online Quotes]], you will need to install [{{URL:wp}}Perl Perl] and Finance::Quote (F::Q). See [[Online_Quotes#Installing_Perl_on_Windows|Installing Perl on Windows]].
  
 +
== GnuCash via Windows Subsystem for Linux 2 ==
  
 +
For the adventurous user, it is also possible to install and use GnuCash via the Windows Subsystem for Linux 2 (WSL2 in short). The following notes were taken from a message to the gnucash-devel mailing list by user Sherlock:
  
 +
=== Install WSL as Administrator ===
  
 +
<syntaxhighlight lang="sh">
 +
wsl —install
 +
</syntaxhighlight>
  
The majority of youngster providers talk about basic characteristics such as variable make and waist shoulder straps, variable youngster utilize, any foldout kickstand and an outside shape. Match is key. Megan Nelson, REI Dallas stock professional, provides this advice: "The suit is just like any book bag, besides the weight trips higher. Nevertheless, the weight actually is not much of the problem in the event the child provider fits you correct.Inch
 
  
 +
=== Option 1 - Install distributed GnuCash ===
  
 +
<syntaxhighlight lang="sh">
 +
sudo apt -y update
 +
sudo apt -y upgrade
 +
sudo apt -y install python3-gi python3-gi-cairo gir1.2-gtk-3.0
 +
sudo apt -y install adwaita-icon-theme-full
 +
sudo apt -y install gnucash
  
Below are a few with the factors to think about:
+
sudo apt -y install make gcc
 +
sudo gnc-fq-update
 +
</syntaxhighlight>
  
  
 +
=== Option 2 - Install flatpack GnuCash ===
  
Suspensions system: This is actually the key to parental convenience. Nearly all youngster companies characteristic an easy-to-adjust steps headgear, just <span class="plainlinks">[http://www.thepiggybackrider.com/ <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;/*CITATION*/">kid carrier</span>]</span> like the types present in numerous backpacks. A kid carrier's flexibleness is actually calculated with the core array (shown within the Specifications loss in REI.net product or service webpages). Learn more about how precisely in order to calculate the upper body dimension. Upper body modifications are quite obvious: Should you be about the tall aspect, proceed the actual suspensions setting up higher for the back (as well as, a high level smaller grownup, proceed that with a lower environment). A few types come with a set suspension, that restrictions flexibility, but offer weight personal savings.
+
<syntaxhighlight lang="sh">
 +
sudo apt -y install flatpak
 +
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
 +
sudo flatpak install --system flathub org.gnucash.GnuCash
 +
</syntaxhighlight>
  
  
 +
=== Option 3 - Set up build environment and build gnucash yourself ===
  
Kickstand: This particular bar provides a secure platform with regard to packing and also unloading your son or daughter. Nearly all may be personally lengthy along with rolled away for the launching position with a straightforward pull. Additional types feature a fixed-position kickstand (that saves a certain amount of bodyweight) or even a spring-loaded kickstand (that expands along with retracts automatically-a nice characteristic). These problems complete the identical aim, therefore personal desire is the deciding aspect right here.
+
Prepare the build environment:
  
 +
<syntaxhighlight lang="sh">
 +
sudo sed -i "s/^# deb-src/deb-src/" /etc/apt/sources.list
 +
sudo apt -y update
 +
sudo apt -y upgrade
 +
sudo apt -y build-dep gnucash
 +
sudo apt -y install git
 +
sudo apt -y install p7zip-full
 +
sudo apt install at-spi2-core
  
 +
mkdir -p ~/Documents/gnucash/source
 +
mkdir -p ~/Documents/gnucash/build
  
Body: Since noted previously, frameless service providers are meant only for babies and also products amassing around 40 lbs .. roughly. Most youngster carriers feature a body involving tubular metal. A number of designs make use of an light weight aluminum continue to be regarding help, similar to those utilized in internal-frame backpacks, and may even provide a daypack alternative.
+
git clone https://github.com/Gnucash/gnucash.git ~/Documents/gnucash/source
  
 +
cd ~/Documents/gnucash/source
 +
git checkout 5.4
 +
</syntaxhighlight>
  
  
Accessories: If you are considering by using a child carrier very rarely, you will possibly not want to consider each of the features with the elegant types. Nevertheless, if you're going to go off-road or perhaps carry lots of equipment, contemplate versions while using subsequent extras:
+
Build instructions:
  
 +
<syntaxhighlight lang="sh">
 +
cd ~/Documents/gnucash/build
 +
cmake -DCMAKE_INSTALL_PREFIX=/opt/gnucash ~/Documents/gnucash/source
 +
make
 +
sudo make install
  
 +
sudo /opt/gnucash/bin/gnc-fq-update
 +
</syntaxhighlight>
  
Gear-storage capability, which includes completely removable nappy bags as well as day time provides
+
= Notes =
 +
== Error messages, Trace file ==
 +
In the GnuCash application, all error messages are redirected to a ''trace file''. There will be one trace file for each time GnuCash is run. For a user named "myname" these files are located in the folder
 +
* <tt>c:\Documents and Settings\myname\Local Settings\Temp</tt> (Windows XP) or
 +
* <tt>C:\Users\myname\AppData\Local\Temp</tt> (Windows Vista/7).
 +
They are named
 +
* <tt>gnucash.trace.ABCDEF</tt> (GnuCash 2.2.9 and older) or
 +
* <tt>gnucash.trace.ABCDEF.log</tt> (GnuCash 2.4.0 and newer)
 +
where the ABCDEF part is changed randomly on each start of gnucash. See also [[Tracefile]].
  
A lot more flexibleness choices for a better match
+
If you experience crashes or unexpected behavior, check the latest of these files (or the one created when the problem started) and add all interesting-looking lines of that file to your error reports, at least the lines with the keywords <tt>WARN</tt>ing and <tt>CRIT</tt>ical warning.
  
Diaper-changing sleeping pad
+
See also [[Windows Debugging]].
  
Hydration-system match ups
+
== Determining the locale ==
 +
When asked for the locale, take a look at the Regional Settings in your Control Panel and report the values found for "Standard and Formats", "Location" and "Language for non-Unicode programs".
  
Completely removable rain/sun cover (often offered separately)
+
Also, use [{{BugURL}}/show_bug.cgi?id=450353 this  bug's] [{{BugURL}}/attachment.cgi?id=90557 attachment] to determine the locale as used internally by gettext.
  
Easily-removed irritate netting (typically marketed independently)
+
= Problems, issues, comments =
 +
For any problem that occurs now, you should add a new section below.
  
Match the kid Company for you
+
== Issues with older versions of GnuCash ==
  
 +
In an effort to keep the information somewhat manageable this page will only gather issues with the current stable version of GnuCash. For historical reference, the older issues will be moved to [[Windows/Old Issues|a separate page]].
  
 +
If you experience issues with an older version of GnuCash, the first advice is normally to try again with the current stable version. There may however be situations where you need to revive an older version and in that case the information kept on the [[Windows/Old Issues|older issues page]] may be useful.
  
Very first, change the child company to suit an individual. This is actually the key to your ease and comfort. When making your current initial adjustments, utilize textbooks to be able to pounds the rest instead of your youngster.
+
In addition, if you experience any of the older issues in the current stable release of GnuCash, please [[Bugzilla|file a bug report]] or ask about it on the [[Mailing Lists|user mailing list]].
  
 +
== Known issues ==
 +
Here is a list of the most often mentioned Windows issues. If you experience this problem, please check the respective bugzilla reports for potential workarounds.
 +
* {{BugURL}}/show_bug.cgi?id=466512 Win32: Wrong permissions for .gnucash directory (was: Win32 GnuCash 2.2.1 Fails to Start/Install)
 +
* {{BugURL}}/show_bug.cgi?id=645273#c40 Reports features do not work
  
 +
== Windows 7 64-bit - GnuCash fails to run ==
  
 +
This is with GnuCash 2.4.3:
  
 +
Starting GnuCash shows the splash screen and the tip of the day for a brief instant and then it disappears.  To fix the problem, I did:
  
Change the particular insides technique to match your upper body, in order that the hipbelt rests on your cool bone fragments (not really the waist) and also the shoulder straps sleep on your own shoulder blades.
+
# Right-click on the GnuCash icon and select 'Run as Administrator'
 +
# GnuCash starts up as expected
 +
# Close GnuCash
  
Tighten your hipbelt consequently approximately 80% from the pounds is on your body.
+
After doing the above once, I can start GnuCash normally and it starts up properly.
  
Tighten up the particular connectors and so the kid service provider is stabilized along with the outstanding 20% or so from the fat is actually on the shoulders.
+
Hopefully this helps someone. --[[User:Sketch|Sketch]] 05:05, 7 March 2011 (UTC)
  
Alter your breast bone band across the upper body so it won't hinder the inhaling.
+
== Font problems ==
  
Match a child Company in your Little one
+
After upgrading to 2.2.1, people have reported font-related issues:
  
 +
* The tick/check mark in the Reconcile window may look like a "nondescript squiggle"
 +
* Register windows may open with all transactions scrolled out of sight (upwards)
 +
* Languages other than English show characters as a box of four zeros "0 0 0 0".
  
 +
The reason appears to be that GnuCash is now referring to Windows to determine what fonts to use,
 +
and in both these cases is using the one specified for "Message Box", which defaults to Tahoma 8.
  
Prior to putting your son or daughter in the provider, modify the height with the little one seats. Make sure the children's straps tend to be relaxed and also the kickstand is actually entirely expanded.
+
Changing to Tahoma 10 fixed both of these for me.
  
 +
The procedure on WinXP is:
 +
# Start -> Control panel or My Computer -> Control panel
 +
# Appearance and Themes -> Display (or, if using the "Classic View", Display)
 +
# Appearance
 +
# Advanced
 +
# Select "Message Box" from the drop-down
 +
# Change as required (e.g. set to Tacoma 10 point)
 +
# OK
 +
# Apply
  
 +
[[User:Fred|Fred]] 10:30, 22 August 2007 (EDT)
 +
:Is this still necessary when using GnuCash 2.2.2? [[User:Andi5|andi5]]
  
Today placed your kids inside service provider, and make sure her or his toes come through the leg opportunities.
+
I ([[User:piyo|piyo]]) confirmed that the above procedure is necessary for viewing Japanese on Windows XP with GnuCash 2.2.3 (2008-01-08):
 +
* Confirmed that working fonts are '''Arial UI Unicode''', '''FixSys''', '''System''', '''Tahoma''' (including 8!), '''Terminal'''. Also for Japanese, '''MS P Gothic''', '''MS P Mincho''', '''MS UI Gothic''', '''MS Gothic''', '''MS Mincho fonts''' are working.
 +
* Confirmed that non-working fonts are '''Lucida Sans Unicode''' and '''Microsoft Sans Serif'''.
 +
--[[User:Piyo|Piyo]] 23:23, 5 February 2008 (EST)
  
Belt as well as tighten up just about all straps, including the hipbelt, shoulder straps, lower leg strap alterations along with sternum tie. Note: Its not all little one companies have all of such strap options.
+
== Program hangs constantly ==
  
Make tighter the side compression setting shoulder straps, when offered.
+
(GnuCash 2.4)
  
Examine to make sure the newborn's band match easily over her or his shoulder muscles which the shin bone band are snug.
+
According to [{{BugURL}}/show_bug.cgi?id=677829 this bug report] GnuCash can become unstable with some themes. The original reporter didn't remember which themes caused issues, but had no problems when using the "Unity" theme.
  
Advice on By using a Child Service provider
+
--[[User:GJanssens|GJanssens]] 18 October 2013
  
 +
== Gnucash fails to start with Failed to contact configuration server ==
  
 +
(GnuCash 2.4)
  
Raising an entertained child service provider is comparable to hoisting huge bookbag (notice each of our pack-hoisting video for recommendations). The initial few instances you are doing therefore, have someone help you wear it the rear. The actual actions: Pick up the kid provider by the leading deals with, slip on the particular shoulder straps as well as buckle the actual hipbelt. Any time treatment of provider, ease the band as well as unbuckle the actual hipbelt. Snagging the manage behind your face, bring your service provider around in your top, along with keep the 2nd deal with that may help you arranged the child carrier on the floor.
+
Copied from [{{BugURL}}/show_bug.cgi?id=708989 this bug report]:
  
 +
I installed GnuCash on Windows 7 and at one point I received the following error message
  
 +
  Failed to contact configuration server; some possible causes are that you need
 +
  to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a
 +
  system crash. See https://projects-old.gnome.org/gconf/ for information.
 +
  (Details -  1: IOR file
 +
  'C:\Users\Username\AppData\Local\Temp\gconfd-Username/lock/ior' not opened
 +
  successfully, no gconfd located: No such file or directory 2: IOR file
 +
  'C:\Users\Username\AppData\Local\Temp\gconfd-Username/lock/ior' not opened
 +
  successfully, no gconfd located: No such file or directory)
  
Several extra ideas:
+
I do not know what caused this error message.
  
 +
Uninstalling GnuCash, removing an empty gnucash folder in C:\Program Files
 +
(x86)\, and reinstalling Gnucash does not restore GnuCash. I.e., same error
 +
message was produced.
  
 +
Cleaning up the windows registry did not help either.
  
Never leave your child alone as he or she actually is within the little one company.
+
What did work was to remove the folder
 +
C:\Users\Username\AppData\Local\Temp\gconfd-Username/   
 +
which did not contain the subdirectory + file lock/ior that is mentioned in the
 +
error message.
  
Youngsters have a tendency to drift off inside child providers; sometimes look at your little one's position and comfort.
+
The folder AppData is hidden (for Windows 7) and needs to be explicitly typed
 +
in the folder browser.
  
Little one carriers are not sufficiently secure for use like a easy chair, nor should they be put on elevated surfaces say for example a counter, kitchen table as well as your bed.
+
And also note that 'Username' should be replaced with your real username in the path (it's in there two times).
  
Don't use a young child provider if your body or even nails are damaged.
+
--[[User:GJanssens|GJanssens]] 18 October 2013
 
+
== Windows 11: GnuCash installer quits without doing anything ==
Make certain your kids is protected from your weather.
+
When launching <code>gnucash-setup.exe</code> Windows 10 and Windows 11 usually complain that GnuCash is from an unknown developer and will put up a scary dialog but if you accept the risk it will run the installer after the usual User Authorization Escalation dialog. We've had a [https://bugs.gnucash.org/show_bug.cgi?id=799299 report] that Windows 11 might silently fail to do anything. If that happens to you right-click on <code>gnucash-setup.exe</code> and select Properties from the context menu, then click Unblock and Save. You should be able to launch the installer normally.
 
 
Think about putting on a cap so that your child cannot pick up hair
 

Latest revision as of 11:00, 28 September 2024

GnuCash on Microsoft Windows

This page collects various notes about running GnuCash on Microsoft Windows.

Q: Which Windows versions are supported?

Answer
The download page shows, which Windows version is officially supported by which GnuCash version.
Note
Windows 3/95/98/Me and Windows NT3.5/4.0 have never been supported.

Q: Where is the binary installer?

A: The latest versions can be downloaded from the [{{{{URL:www}}}}/download.phtml download] page on the GnuCash website. Anyone who cares about their data should use the released version found there.

People looking to test new features - at the risk of running into extra bugs - could try a test version:
  • As it is not so easy to build GnuCash under Windows, a daily build of the stable branch is made available as well to test bugfixes.
  • To closely follow development on the future branch, which contains new features - and bugs - there are the nightly builds. Expect data loss if you try these though!

Q: Is it possible to compile GnuCash on Windows?

A: Yes. It's cumbersome, but possible. See the instructions in Building on Windows.

Q: Are there nightly builds?

A: We run nightly builds for the stable (former maint) and after implmenting its first feature the future (former master) branch, but it's configured so that it runs only if changes have been pushed since the last build and only if the build is successful; they do fail from time to time. You can find the last 6-12 month's worth of builds at

https://code.gnucash.org/builds/win32/

or, more specifically, for stable, on demand for future, and logs for all builds.

The product of the nightly builds is a Windows installer that will replace your existing GnuCash installation. The future branch really is unstable: Be sure to have suitable backups and don't use it for your "production" books.

Q: Anything else?

To avoid making the installer file even bigger, some functionality is not available without further downloads and installations of software.

Preferences in GnuCash 2.6 and more recent

gconf has been replaced with another preferences system. On Windows you will find the preferences directly in the Windows Registry under the registry key

 HKEY_CURRENT_USER/software/GSettings/org/gnucash/

Pdf name for invoices

This name is controlled by two hidden preferences:

  • pdf-export/filename-format
  • pdf-export/filename-date-format

Both of them will reside in the registry under HKEY_CURRENT_USER/software/GSettings/org/gnucash/dialogs/general/report

These won't be there by default (only values that deviate from the default value will be effectively in the registry). To change it you will first have to create a sub key named 'pdf-export.

Under this key you can create two string type keys named filename-format and filename-date-format.

This is the definition of these two string keys:

filename-format
This setting chooses the file name for PDF export. This is a sprintf(3) string with three arguments: "%1$s" is the report name such as "Invoice". "%2$s" is the number of the report, which for an invoice report is the invoice number. "%3$s" is the date of the report, formatted according to the filename-date-format setting. (Note: Any characters that are not allowed in filenames, such as '/', will be replaced with underscores '_' in the resulting file name.)
The default value is %1$s-%2$s-%3$s
filename-date-format
This setting chooses the way dates are used in the filename of PDF export. Possible values for this setting are "locale" to use the system locale setting, "ce" for Continental Europe style dates, "iso" for ISO 8601 standard dates , "uk" for United Kingdom style dates, and "us" for United States style dates.

Finance::Quote

For the retrieval of Online Quotes, you will need to install Perl and Finance::Quote (F::Q). See Installing Perl on Windows.

GnuCash via Windows Subsystem for Linux 2

For the adventurous user, it is also possible to install and use GnuCash via the Windows Subsystem for Linux 2 (WSL2 in short). The following notes were taken from a message to the gnucash-devel mailing list by user Sherlock:

Install WSL as Administrator

wsl —install


Option 1 - Install distributed GnuCash

sudo apt -y update
sudo apt -y upgrade
sudo apt -y install python3-gi python3-gi-cairo gir1.2-gtk-3.0
sudo apt -y install adwaita-icon-theme-full
sudo apt -y install gnucash

sudo apt -y install make gcc
sudo gnc-fq-update


Option 2 - Install flatpack GnuCash

sudo apt -y install flatpak
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
sudo flatpak install --system flathub org.gnucash.GnuCash


Option 3 - Set up build environment and build gnucash yourself

Prepare the build environment:

sudo sed -i "s/^# deb-src/deb-src/" /etc/apt/sources.list
sudo apt -y update
sudo apt -y upgrade
sudo apt -y build-dep gnucash
sudo apt -y install git
sudo apt -y install p7zip-full
sudo apt install at-spi2-core

mkdir -p ~/Documents/gnucash/source
mkdir -p ~/Documents/gnucash/build

git clone https://github.com/Gnucash/gnucash.git ~/Documents/gnucash/source

cd ~/Documents/gnucash/source
git checkout 5.4


Build instructions:

cd ~/Documents/gnucash/build
cmake -DCMAKE_INSTALL_PREFIX=/opt/gnucash ~/Documents/gnucash/source
make
sudo make install

sudo /opt/gnucash/bin/gnc-fq-update

Notes

Error messages, Trace file

In the GnuCash application, all error messages are redirected to a trace file. There will be one trace file for each time GnuCash is run. For a user named "myname" these files are located in the folder

  • c:\Documents and Settings\myname\Local Settings\Temp (Windows XP) or
  • C:\Users\myname\AppData\Local\Temp (Windows Vista/7).

They are named

  • gnucash.trace.ABCDEF (GnuCash 2.2.9 and older) or
  • gnucash.trace.ABCDEF.log (GnuCash 2.4.0 and newer)

where the ABCDEF part is changed randomly on each start of gnucash. See also Tracefile.

If you experience crashes or unexpected behavior, check the latest of these files (or the one created when the problem started) and add all interesting-looking lines of that file to your error reports, at least the lines with the keywords WARNing and CRITical warning.

See also Windows Debugging.

Determining the locale

When asked for the locale, take a look at the Regional Settings in your Control Panel and report the values found for "Standard and Formats", "Location" and "Language for non-Unicode programs".

Also, use this bug's attachment to determine the locale as used internally by gettext.

Problems, issues, comments

For any problem that occurs now, you should add a new section below.

Issues with older versions of GnuCash

In an effort to keep the information somewhat manageable this page will only gather issues with the current stable version of GnuCash. For historical reference, the older issues will be moved to a separate page.

If you experience issues with an older version of GnuCash, the first advice is normally to try again with the current stable version. There may however be situations where you need to revive an older version and in that case the information kept on the older issues page may be useful.

In addition, if you experience any of the older issues in the current stable release of GnuCash, please file a bug report or ask about it on the user mailing list.

Known issues

Here is a list of the most often mentioned Windows issues. If you experience this problem, please check the respective bugzilla reports for potential workarounds.

Windows 7 64-bit - GnuCash fails to run

This is with GnuCash 2.4.3:

Starting GnuCash shows the splash screen and the tip of the day for a brief instant and then it disappears. To fix the problem, I did:

  1. Right-click on the GnuCash icon and select 'Run as Administrator'
  2. GnuCash starts up as expected
  3. Close GnuCash

After doing the above once, I can start GnuCash normally and it starts up properly.

Hopefully this helps someone. --Sketch 05:05, 7 March 2011 (UTC)

Font problems

After upgrading to 2.2.1, people have reported font-related issues:

  • The tick/check mark in the Reconcile window may look like a "nondescript squiggle"
  • Register windows may open with all transactions scrolled out of sight (upwards)
  • Languages other than English show characters as a box of four zeros "0 0 0 0".

The reason appears to be that GnuCash is now referring to Windows to determine what fonts to use, and in both these cases is using the one specified for "Message Box", which defaults to Tahoma 8.

Changing to Tahoma 10 fixed both of these for me.

The procedure on WinXP is:

  1. Start -> Control panel or My Computer -> Control panel
  2. Appearance and Themes -> Display (or, if using the "Classic View", Display)
  3. Appearance
  4. Advanced
  5. Select "Message Box" from the drop-down
  6. Change as required (e.g. set to Tacoma 10 point)
  7. OK
  8. Apply

Fred 10:30, 22 August 2007 (EDT)

Is this still necessary when using GnuCash 2.2.2? andi5

I (piyo) confirmed that the above procedure is necessary for viewing Japanese on Windows XP with GnuCash 2.2.3 (2008-01-08):

  • Confirmed that working fonts are Arial UI Unicode, FixSys, System, Tahoma (including 8!), Terminal. Also for Japanese, MS P Gothic, MS P Mincho, MS UI Gothic, MS Gothic, MS Mincho fonts are working.
  • Confirmed that non-working fonts are Lucida Sans Unicode and Microsoft Sans Serif.

--Piyo 23:23, 5 February 2008 (EST)

Program hangs constantly

(GnuCash 2.4)

According to this bug report GnuCash can become unstable with some themes. The original reporter didn't remember which themes caused issues, but had no problems when using the "Unity" theme.

--GJanssens 18 October 2013

Gnucash fails to start with Failed to contact configuration server

(GnuCash 2.4)

Copied from this bug report:

I installed GnuCash on Windows 7 and at one point I received the following error message

 Failed to contact configuration server; some possible causes are that you need
 to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a
 system crash. See https://projects-old.gnome.org/gconf/ for information.
 (Details -  1: IOR file
 'C:\Users\Username\AppData\Local\Temp\gconfd-Username/lock/ior' not opened
 successfully, no gconfd located: No such file or directory 2: IOR file
 'C:\Users\Username\AppData\Local\Temp\gconfd-Username/lock/ior' not opened
 successfully, no gconfd located: No such file or directory)

I do not know what caused this error message.

Uninstalling GnuCash, removing an empty gnucash folder in C:\Program Files (x86)\, and reinstalling Gnucash does not restore GnuCash. I.e., same error message was produced.

Cleaning up the windows registry did not help either.

What did work was to remove the folder C:\Users\Username\AppData\Local\Temp\gconfd-Username/ which did not contain the subdirectory + file lock/ior that is mentioned in the error message.

The folder AppData is hidden (for Windows 7) and needs to be explicitly typed in the folder browser.

And also note that 'Username' should be replaced with your real username in the path (it's in there two times).

--GJanssens 18 October 2013

Windows 11: GnuCash installer quits without doing anything

When launching gnucash-setup.exe Windows 10 and Windows 11 usually complain that GnuCash is from an unknown developer and will put up a scary dialog but if you accept the risk it will run the installer after the usual User Authorization Escalation dialog. We've had a report that Windows 11 might silently fail to do anything. If that happens to you right-click on gnucash-setup.exe and select Properties from the context menu, then click Unblock and Save. You should be able to launch the installer normally.