https://bugs.winehq.org/show_bug.cgi?id=45786
Bug ID: 45786 Summary: "Can't find matching timezone information" - .NET program won't run Product: Wine Version: 3.15 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: guih.rox@gmail.com Distribution: ArchLinux
Created attachment 62245 --> https://bugs.winehq.org/attachment.cgi?id=62245 System.InvalidTimeZoneException: Exception of type 'System.InvalidTimeZoneException' was thrown.
I know this timezone message is mostly harmless, but the .NET program I was trying to run refused to open because it wasn't able to find my timezone. I also get a bunch of these timezone message on any program I try to run with Wine and it's kinda annoying. Here's my timezone information:
$ timedatectl status Local time: qui 2018-09-06 15:16:47 -03 Universal time: qui 2018-09-06 18:16:47 UTC RTC time: qui 2018-09-06 18:16:47 Time zone: America/Sao_Paulo (-03, -0300) System clock synchronized: yes NTP service: active RTC in local TZ: no
This tool I'm trying to run is called GTA: San Andreas Downgrader, here is the hash:
$ sha1sum sadowngrade1-3-1.exe c8a07ec161e2d4959c86949cc0961475590aee31 sadowngrade1-3-1.exe
Unfortunately, the tool itself doesn't work properly even if I set a "valid" timezone, but my point is that it won't even _run_ with my default timezone.
https://bugs.winehq.org/show_bug.cgi?id=45786
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox.xerox2000x@gmail.com
--- Comment #1 from Louis Lenders xerox.xerox2000x@gmail.com --- Hi,
is this program a free download?
If so, please add downloadlink. Thanks and regards.
https://bugs.winehq.org/show_bug.cgi?id=45786
--- Comment #2 from Guilherme Silva guih.rox@gmail.com --- Hello,
Yes, it's a free tool, but I wasn't able to find the "sadowngrade1-3-1.exe" binary to download separately, only inside a bundle of ~500MB. Fortunately, I found the most recent version of this SA downgrade tool (version 1.4.0). It's only 2MB and the timezone bug is still reproducible with it:
https://services.rockstarnexus.com/sadowngrade/latest.exe
The sha1sum of the file above is 170a53635c4854d54292d67f8e8f6beabd3cdeda
Thanks.
https://bugs.winehq.org/show_bug.cgi?id=45786
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|"Can't find matching |GTA downgrader (.NET |timezone information" - |program latest.exe) |.NET program won't run |crashes: "Can't find | |matching timezone | |information" | |("America/Sao_Paulo") Keywords| |download Ever confirmed|0 |1 Component|ntdll |-unknown Status|UNCONFIRMED |NEW URL| |https://services.rockstarne | |xus.com/sadowngrade/latest. | |exe
--- Comment #3 from Louis Lenders xerox.xerox2000x@gmail.com --- Hi,
I can confirm this bug:
TZ="America/Sao_Paulo" wine latest.exe
---> the program crashes
TZ="America/Manaus" wine latest.exe
----> Program starts
I don`t know much about time-zones, but there was a bug report about Brasilian time-zone problems, that might be related:
https://bugs.winehq.org/show_bug.cgi?id=32916
https://bugs.winehq.org/show_bug.cgi?id=45786
--- Comment #4 from Gijs Vermeulen gijsvrm@gmail.com --- (In reply to Louis Lenders from comment #3)
I think this is related: https://github.com/ValveSoftware/Proton/issues/944#issuecomment-417303447
There is a patch attached there that might work.
https://bugs.winehq.org/show_bug.cgi?id=45786
--- Comment #5 from Guilherme Silva guih.rox@gmail.com --- Thanks a lot, importing the .reg file fixed the issue for me! Any plans to add that patch in upstream?
https://bugs.winehq.org/show_bug.cgi?id=45786
--- Comment #6 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 62247 --> https://bugs.winehq.org/attachment.cgi?id=62247 patch
I think this is related: https://github.com/ValveSoftware/Proton/issues/944#issuecomment-417303447
There is a patch attached there that might work.
Yeah that patch works, I attach it here so it won`t get lost. Maybe send an email if the author could send it to wine-devel?
https://bugs.winehq.org/show_bug.cgi?id=45786
--- Comment #7 from Louis Lenders xerox.xerox2000x@gmail.com --- I`ve sent author of patch a mail with request to send it upstream.
https://bugs.winehq.org/show_bug.cgi?id=45786
zzzzzyzz@hacari.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zzzzzyzz@hacari.org
https://bugs.winehq.org/show_bug.cgi?id=45786
Rodrigo Saboya saboya@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |saboya@gmail.com
--- Comment #8 from Rodrigo Saboya saboya@gmail.com --- I'm the author of the patch
I actually searched for info on how to send patches to Wine, but honestly it seemed like an awful lot of work for something so simple. Apparently the patch has to be singed-off by someone prior to sending it to wine-devel, which I don't see how that would be possible since I would need to get in touch with someone from Wine in the first place.
If any dev is reading this, feel free to just take the patch and use it, I have no qualms about it.
https://bugs.winehq.org/show_bug.cgi?id=45786
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #9 from Zebediah Figura z.figura12@gmail.com --- The patch needs to be signed off by its submitter (i.e. yourself, ideally). It's a way of affirming that it meets the legal, technical, and quality requirements that the project has. It's not really unusual among open-source projects.
https://bugs.winehq.org/show_bug.cgi?id=45786
--- Comment #10 from Rodrigo Saboya saboya@gmail.com --- I've just submitted the patch. Hopefully I didn't mess anything up.
Also, while I'm fairly confident of the correctness of the solution, I think there might be some work to be done with additional dynamic DST data.
https://bugs.winehq.org/show_bug.cgi?id=45786
--- Comment #11 from Rodrigo Saboya saboya@gmail.com --- It's merged:
https://source.winehq.org/git/wine.git/commit/b29cdbd5f23548d9631e5c98ec923b...
https://bugs.winehq.org/show_bug.cgi?id=45786
Guilherme Silva guih.rox@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #12 from Guilherme Silva guih.rox@gmail.com --- Great! Thanks a lot, guys
https://bugs.winehq.org/show_bug.cgi?id=45786
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |b29cdbd5f23548d9631e5c98ec9 | |23b6d2d16a3f8
https://bugs.winehq.org/show_bug.cgi?id=45786
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #13 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.16.
https://bugs.winehq.org/show_bug.cgi?id=45786
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |3.0.x
https://bugs.winehq.org/show_bug.cgi?id=45786
Rodrigo Saboya saboya@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|saboya@gmail.com |
https://bugs.winehq.org/show_bug.cgi?id=45786
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.x |---
--- Comment #14 from Michael Stefaniuc mstefani@winehq.org --- Removing the 3.0.x milestone from bug fixes included in 3.0.4.