-
Notifications
You must be signed in to change notification settings - Fork 278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
macOS "can't set default encoding to wxFONTENCODING_DEFAULT" assert #420
Comments
Please read this and follow the advice therein. Please also indicate where you got Poedit from. If you have the latest official build and if this happens, then something very specific to your system is going on. It would help if you actually described your system to help identify what that something might be. E.g. your language, locale, font etc. settings are highly relevant. |
I've updated my question with more details. I got my locale in my shell and did not know how to get font or wxFONTENCODING_DEFAULT settings in my shell to update my question with them. Help me how to get them. |
Thanks. Unfortunately running with Persian as the primary language doesn't seem to be the cause — I tried. As for the rest: Poedit is a macOS native GUI application, so your shell settings are entirely irrelevant, so is whatever you installed with Homebrew or your shell settings. Of course root access is not required, that's a strange question (but then, so is running the application from shell at all). This merely demonstrates that something in your user settings is triggering this. Login into a Guest account and you'll probably see everything working. Did you previously use Poedit? Did you configure any settings in it, such as custom fonts? |
Thanks for your reply. No, I downloaded Poedit about a year ago and it did not work (the same problem) and I didn't try to solve it. Now, I tried version 2.0.3, 1.8.12 from the main website and HomeBrew version 2.0.2 with no sucess. And when I could run the program with root access I didn't change any settings.
In my main user account:
|
sudo, paths, language, logging off are irrelevant. No need for you waste time second-guessing the code or me. What you established as relevant is the fonts you have — and it's no coincidence that the assert message talks about fonts. The fonts (or likely, a single font) is clearly what triggers it, per your report, and seems necessary to reproducing it. Can you please attach that font (or fonts, if you don't want to waste anymore time tracking the problematic one down)? That should be enough for me to reproduce… and thus fix. Thanks! |
This is the content of my
And this is the compressed file of those fonts: fonts.zip Thanks. |
@hamid914 I'm again asking you to read and follow the guidelines I asked you to read in my very first comment on this issue. In particular, please don't mix obviously unrelated things into a single issue: you're just making a giant unmanageable mess of it. I'm deleting your previous comment to restore some sanity to this issue. You probably corrupted permissions or files with your haphazard use of |
I can't reproduce this with neither 2.0.3 nor 2.0.4, with Persian locale, so either it's gone or there's something else required to trigger it. Are you still seeing it in 2.0.4 (the library in which this font-handling code is was updated since then)? |
Assuming fixed, then. |
I got Poedit-2.0.3 on macOS Sierra 10.12.6. and it crashes after running. This error is shown when I run the program from the Application folder:
I run the program from the terminal and the result is:
I tried to install Poedit from HomeBrew repository:
but the result is the same.
There are two installed language on my macOS:
In my
~/.zshrc
there are two lines about locale:I have installed wxwidgets with HomeBrew:
But the results is the same yet.
I tried to run the program as root:
But no luck. Then with root user and program's executable file:
It "runs" now, but is it the only official way to run Poedit?!
The text was updated successfully, but these errors were encountered: