Trouble with date (win application)

Questions about Wine on Linux
Locked
sm-kons
Level 1
Level 1
Posts: 6
Joined: Fri Oct 05, 2018 3:03 am

Trouble with date (win application)

Post by sm-kons »

Good afternoon!
On Linux, Runtu 14 installed Wine version 1.8.
The Win-application starts, but there is a problem with displaying the date in one place in the program (the month is not displayed). The drop-down menu should display 12 items with months to select. Instead, there is emptiness
The developer of the program about the error responded as follows:
- "API is called Windows function. Wine does not handle it correctly; Apparently, the WinDi function GetDateFormat does not work correctly in WINE "
What could be the problem and how to solve it?
Attachments
date.png
date.png (3.12 KiB) Viewed 2177 times
User avatar
dimesio
Moderator
Moderator
Posts: 13204
Joined: Tue Mar 25, 2008 10:30 pm

Re: Trouble with date (win application)

Post by dimesio »

Start by upgrading Wine; 1.8 is over two years old and no longer supported. Use the WineHQ packages. https://wiki.winehq.org/Ubuntu
sm-kons
Level 1
Level 1
Posts: 6
Joined: Fri Oct 05, 2018 3:03 am

Re: Trouble with date (win application)

Post by sm-kons »

Thx. Today I will try to install this version
sm-kons
Level 1
Level 1
Posts: 6
Joined: Fri Oct 05, 2018 3:03 am

Re: Trouble with date (win application)

Post by sm-kons »

I completed the installation of WineHQ according to the instructions. Now some symbols are displayed in the drop-down list, instead of the months of the year.
Installed Winetricks and added all fonts - no effect
Attachments
dateWineHQ.png
dateWineHQ.png (3.01 KiB) Viewed 2149 times
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Trouble with date (win application)

Post by Bob Wya »

sm-kons wrote:Thx. Today I will try to install this version
There are 3 different Wine packages on the WineHQ Ubuntu webpage:
  • winehq-stable
  • winehq-devel
  • winehq-staging
Which WineHQ Wine package / version did you install?

Also, what is the output from:

Code: Select all

locale
Ta
Bob
sm-kons
Level 1
Level 1
Posts: 6
Joined: Fri Oct 05, 2018 3:03 am

Re: Trouble with date (win application)

Post by sm-kons »

I installed winehq-stable

locale output
Attachments
locale.png
locale.png (9.48 KiB) Viewed 2143 times
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Trouble with date (win application)

Post by Bob Wya »

@sm-kons

Please can you provide a Wine terminal log, with the following debug flags:

Code: Select all

export WINEDEBUG=+timestamp,+tid,+nls,+font
strace wine ... ~/wine-stable-3.0.3_nls_font_log.txt
(obviously replace the ellipse ... with something more useful!)
That should provide enough information to go on.

Probably best to post this on a >>> Pastebin-type site (i.e. don't use >>> Pastebin itself!)
The log may be quite large!

Does the application work if you override the locale for Wine, to something else? I.e.:

Code: Select all

LANG=en_US.utf8 wine ...
You might need to have American English enabled, as a global secondary locale.

Ta
Bob
sm-kons
Level 1
Level 1
Posts: 6
Joined: Fri Oct 05, 2018 3:03 am

Re: Trouble with date (win application)

Post by sm-kons »

I tried to enter LANG = en_US.utf8, the result is the same
What to do specifically did not understand about the log, can I explain in more detail?

I want to clarify the application in Russian, and the drop-down list should display the month in Russian. Now there are only a few characters, the same in all positions.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Trouble with date (win application)

Post by Bob Wya »

sm-kons wrote:...
What to do specifically did not understand about the log, can I explain in more detail?
...
See: WineHQ FAQ: 10.1.1 How can I get a debugging log (a.k.a. terminal output)?

Which covers both:
  • how to launch a Windows application, using Wine, on the commandline.
  • how to store a Wine terminal log form
Bob
sm-kons
Level 1
Level 1
Posts: 6
Joined: Fri Oct 05, 2018 3:03 am

Re: Trouble with date (win application)

Post by sm-kons »

Launched the application in this way:
WINEDEBUG=+timestamp,+tid,+nls,+font wine ... >> /home/user/logs/wine-stable-3.0.3_nls_font_log.txt 2>&1
I attach the log file in the archive https://www.pastefs.com/pid/79670
Locked