GnuCash
Contact   Instructions
Bug 796905 - GNUcash does not start after windows 10 update
Summary: GNUcash does not start after windows 10 update
Status: RESOLVED OBSOLETE
Alias: None
Product: GnuCash
Classification: Unclassified
Component: General (show other bugs)
Version: 3.3
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: general
QA Contact: general
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-10 06:05 EDT by tours
Modified: 2021-03-23 17:02 EDT (History)
3 users (show)

See Also:


Attachments
tracefile (5.45 KB, text/plain)
2018-10-10 06:05 EDT, tours
no flags Details
logfile with "--log gnc.gui=debug" (7.11 KB, text/plain)
2018-10-11 16:42 EDT, tours
no flags Details

Description tours 2018-10-10 06:05:14 EDT
Created attachment 373021 [details]
tracefile

After Windows 10 update version 1809 gnucash won't start anymore. 
It shows the loading screen for a split seconds and then it's gone. 

I've removed all appdata, registries, and reinstalled gnucash but no luck. 

After starting "gnucash --debug" I got the attached log, which does not contain an error but might give an idea on where it crashes. 

Thanks in advance.
Comment 1 John Ralls 2018-10-11 16:14:56 EDT
My VM just got the update and GnuCash starts up fine.

The last message it issues is in gnc_main_window_setup_window. To get some more detail, please try starting it again, this time with '--log gnc.gui=debug' instead of --debug.
Comment 2 tours 2018-10-11 16:42:44 EDT
Created attachment 373026 [details]
logfile with "--log gnc.gui=debug"

Hi John, thanks for the reply. I've attached the log. 

I just found something out. I'm using Windows 10 N version 1809. With every update a Media feature pack must be installed to make a lot of things work in the N version. I suspect gnucash relies on some feature in this Media feature pack. Microsoft pulled the 1809 update, including the Media feature pack for 1809. 
It was here: https://support.microsoft.com/en-ie/help/4134255/media-feature-pack-for-windows-10-n-october-2018

I will just wait until it's released again and see if gnucash will work again. I don't think there is anything wrong with gnucash. 

Not having the Media feature pack breaks a lot of things. I can also not tranfer files from my phone (galaxy s9) to my pc. 

If you have the option, do not use the N version of windows. 

Thanks a lot Microsoft
Comment 3 John Ralls 2018-10-11 20:44:37 EDT
According to https://www.itprotoday.com/windows-10/what-are-windows-10-n-and-kn-editions it's the EU's fault, not Microsoft's.

Anyway, the new trace shows that it's completing gnc_gui_init. The next step is starting Scheme. We have bug 796728 which I traced to a guile localization problem. What Region and Language do you have set in Settings>Time & Language>Region & Language?
Comment 4 tours 2018-10-12 02:53:50 EDT
My language was "English (Netherlands)" I live in the Netherlands (yes it's EU)

I changed it to "English (United Kingdom)" and now gnucash starts! 

Thanks a lot!

So nothing with the Media feature pack. Btw, indeed EU forced MS to create the N version, but MS also patched my OS to a version that was not well tested, then pulled it, and removed the Media feature pack for that version. Anyway I still like MS and EU both :)
Comment 5 John Ralls 2018-12-16 19:56:30 EST
OK, glad you got running. If you want to put your main Windows settings back you can set GnuCash's local separately, instructions at https://wiki.gnucash.org/wiki/Locale_Settings#GnuCash_3.0_or_newer.

Meanwhile I can reproduce the problem so I'll proceed to debug it.
Comment 6 John Ralls 2018-12-20 13:44:07 EST
The problem seems to be that Guile is intolerant of locales that POSIX doesn't recognize, of which en_NL is one. The problem is in creating "ports", Guile's basic IO subsystem.  The Guile folks inform me that Guile 2.2 has had the ports system completely rewritten so we're not likely to make much progress with this or bug 796728 until we can get the Windows AIO to use it.
Comment 7 John Ralls 2021-03-23 17:02:00 EDT
Just tested on 4.4 with Guile 2.2.7. Works fine with LANG=en_NL.

Note You need to log in before you can comment on or make changes to this bug.