Version 2.18.* on macOS for Russian users

Anything and everything to do with DCP-o-matic.
hintoz
Posts: 4
Joined: Fri Jan 24, 2025 12:03 am

Version 2.18.* on macOS for Russian users

Post by hintoz »

If you get errors of this type on the Russian (possibly other languages other than English) version of macOS:

Code: Select all

../src/osx/menuitem_ox.cpp(51): assert "w×lsStockID (Getld())" failed in wxMenultem(): A non-stock menu item with an empty label?
../src/common/stockitem.cpp(219): assert ""Assert failure*' failed in w×GetStockLabel(): invalid stock item ID
To solve the problem temporarily, add to the file

Code: Select all

~/Library/Preferences/com.dcpomatic/2/2.18/config.xml
the string

Code: Select all

<Language>en_GB</Language>
and temporarily use English.

I have already sent the corrected Russian translation files for 2.18 to the developer.
If you are using other languages and experiencing the same problem, then please help the developers at the link.
carl
Site Admin
Posts: 2619
Joined: Thu Nov 14, 2013 2:53 pm

Re: Version 2.18.* on macOS for Russian users

Post by carl »

Do you think the translations are causing these crashes?
hintoz
Posts: 4
Joined: Fri Jan 24, 2025 12:03 am

Re: Version 2.18.* on macOS for Russian users

Post by hintoz »

carl wrote: Fri Jan 24, 2025 4:17 pm Do you think the translations are causing these crashes?
It seems to me that this is the problem. I've checked it many times, and with the line <Language>en_GB</Language> it runs 100% of the time. You sent me the test build 2957-ru — 39573a6, is it possible to make the same build, but only with the new language files that I sent today? Let's check this version.
carl
Site Admin
Posts: 2619
Joined: Thu Nov 14, 2013 2:53 pm

Re: Version 2.18.* on macOS for Russian users

Post by carl »

Here's a build with your updated translations:

https://dcpomatic.com/temp/main/bd3fd32 ... 10.10+.dmg
hintoz
Posts: 4
Joined: Fri Jan 24, 2025 12:03 am

Re: Version 2.18.* on macOS for Russian users

Post by hintoz »

Sorry, it also crashes.

But the solution from the topic saves.
mon
Posts: 2
Joined: Fri Jan 24, 2025 8:18 pm

Re: Version 2.18.* on macOS for Russian users

Post by mon »

:(
You do not have the required permissions to view the files attached to this post.
carl
Site Admin
Posts: 2619
Joined: Thu Nov 14, 2013 2:53 pm

Re: Version 2.18.* on macOS for Russian users

Post by carl »

It would be good if somebody seeing this problem could test

https://dcpomatic.com/temp/2957-ru/4ba7 ... 10.10+.dmg

Thanks!
mon
Posts: 2
Joined: Fri Jan 24, 2025 8:18 pm

Re: Version 2.18.* on macOS for Russian users

Post by mon »

carl wrote: Fri Jan 24, 2025 9:56 pm It would be good if somebody seeing this problem could test

https://dcpomatic.com/temp/2957-ru/4ba7 ... 10.10+.dmg

Thanks!
Thank you very much, everything works now!
carl
Site Admin
Posts: 2619
Joined: Thu Nov 14, 2013 2:53 pm

Re: Version 2.18.* on macOS for Russian users

Post by carl »

@hintoz I would be interested to here if this build works for you (there I removed all the menu shortcuts from the ru_RU translation).
hintoz
Posts: 4
Joined: Fri Jan 24, 2025 12:03 am

Re: Version 2.18.* on macOS for Russian users

Post by hintoz »

carl wrote: Sun Jan 26, 2025 1:28 am @hintoz I would be interested to here if this build works for you (there I removed all the menu shortcuts from the ru_RU translation).
This build also causes the same error and crashes. I also checked on my other Mac with macOS 13, I also get a crash.