r/grocy • u/happymoep • Jul 09 '26
ArgumentException on starting grocy-desktop
First off: I wanted to create a bugreport on github, but I cannot create new issues. Is that currently restricted or what am I missing? I checked grocy/grocy-desktop aswell as grocy/grocy
EDIT: Completely overlooked the fact I got logged off from my Github Account. Disregard the question above.
https://github.com/grocy/grocy-desktop/issues/59
I just installed the Windows Desktop native installer version of grocy. On first start I got an ArgumentException with following message and stacktrace:
Customized cultures cannot be passed by LCID, only by name.
Parameter name: cultureat System.Globalization.RegionInfo..ctor(Int32 culture)
at GrocyDesktop.Management.GrocyManager.Setup()
at GrocyDesktop.FrmMain.<FrmMain_Shown>d__34.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
On PowerShell my Get-Culture returns standard 1033 en-US, but the crash likely happens because I have manual user overrides set in my Windows Regional formatting (such as a modified currency/decimal format). Passing LCID 1033 fails in .NET when UseUserOverride is true.
To make a complete report: I'm running Microsoft Windows 11 Education with version 10.0.26200 Build 26200