-
Notifications
You must be signed in to change notification settings - Fork 41
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
Quackle isn't usable on macOS Mojave #101
Comments
Did you download 1.0.4? From where (i.e., from the GitHub release page, quackle.org, or somewhere else)? Can you provide a screenshot of your Settings pane? Which lexicon(s) have you been trying to use? FWIW the problem isn't Mojave generally (assuming you're using 1.0.4). I developed and released 1.0.4 from a Mojave system, and testing it today with the latest Mojave updates, everything still works for me. |
I had downloaded quackle-1.0.4-macos.dmg from quackle.org. Attached you find the requested screenshot: This is a screenshot when I have clicked 'Edit...' in the Lexicon row of the Settings screen. The button 'Build lexicon database...' crashes the program immediately. And finally an ls -lR of /Applications/Quackle.app of my freshly installed version: Of course I could try to ramp up a development environment for Quackle to set some breakpoints. But it's weird that a fresh install isn't functional. It's an 2012 27" iMac with 8 GB RAM, with German language and keyboard, up-to-date updates. Is it correct that a German wordlist and/or localization can only be added by recompiling the whole program? |
Perchance does your user login on your system have non-ASCII characters in it? In looking at your GitHub username, I'm thinking maybe yes. I've been thinking about this, and I think I finally have tracked down how this might fail...
If I'm right, then you can probably work around the problem by disabling App Translocation, which you should be able to do by clearing the quarantine attribute on the Quackle bundle.
I think I finally know how to fix this. |
Lieber Martin,
ich verstehe nur Bahnhof.
Bis Leipzig (Hbf) lasse ich es dabei.
Gruß Christoph
Am Sa., 4. Jan. 2020 um 01:38 Uhr schrieb John Fultz <
[email protected]>:
… Perchance does your user login on your system have non-ASCII characters in
it (in looking at your GitHub username, I'm thinking maybe yes). I've been
thinking about this, and I think I finally have tracked down how this might
fail...
- If you have App Translocation in effect, the app bundle essentially
runs from a directory that has your username in it
- Quackle's code for getting that user directory is not correctly
preserving the encoding when getting the path from Cocoa calls and storing
it in a QString.
If I'm right, then you can probably work around the problem by disabling
App Translocation, which you should be able to do by clearing the
quarantine attribute on the Quackle bundle.
xattr -dr com.apple.quarantine /Applications/Quackle.app
I think I finally know how to fix this.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#101?email_source=notifications&email_token=AN5AA5RGQD5LGVAYWMXRDGTQ37LBXA5CNFSM4JTA3ZC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEICMWKA#issuecomment-570739496>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AN5AA5WMMOBLC75KJBF5B5DQ37LBXANCNFSM4JTA3ZCQ>
.
|
Hi John, |
Well, that suggests that I could hard-code the absolute path But nonetheless, I do think there's an encoding problem. It's apparently not affecting you, but it could affect others, and I should fix that, too. |
My Catalina computer being the more powerful one, I installed Qt 5.9.8 (open source) on it, and the program built fine, using the same source tree as in November. I was able to start the program inside Xcode 11.3. The Debug executable also worked without Xcode running. I was able to play an ods5 (which is apparently my default) as well as a csw19 game. The program even worked when having been moved to my /Application folder, using the same settings as from Xcode (I suppose, the settings are kept inside the application bundle). That essentially means that I have a running Quackle instance, but that doesn't help with debugging this issue. |
I downloaded the .dmg this morning from quackle.org, installed Quackle into Applications, and upon double-clicking, the application started.
I cannot
A dialog 'Quackle cannot load its lexicon files.' appears.
When I want to add a new lexicon under 'Settings', it allows me to find a one-uppercase-word-per-row text file, but the 'Word count' remains at 0. Umlaut characters are not an issue. But the Alphabet might be, since the dropdown is empty.
It appears that Quackle is unable to find its data directory, but then, it shouldn't even start.
I would prefer to view the current data directory and set it if Quackle has self-configured it wrong.
Could it be that "Quackle.app/Contents/data" in settings.cpp is missing a 'Resources'?
With the available data, it is hard for me to guess how to proceed.
The text was updated successfully, but these errors were encountered: