Hi! I just downloaded and installed Picard on OSX 10.13.
I can’t seem to even open it for the first time, since every time I try to launch it, it appears in the dock for a split second then immediately quits.
Running a debug command returns the following:
“Traceback (most recent call last):
File “tagger.py”, line 19, in
File “picard/tagger.py”, line 974, in main
File “picard/tagger.py”, line 169, in init
File “picard/ui/theme.py”, line 164, in setup
File “picard/ui/theme.py”, line 66, in setup
File “picard/ui/theme.py”, line 151, in is_dark_theme
AttributeError: ‘NSCompositeAppearance’ object has no attribute ‘bestMatchFromAppearancesWithNames_’
[11255] Failed to execute script tagger”
Yup, seems to be a similar to the Windows issue with the theming support. More specifically we assumed the attribute would exist in previous OS X releases. I think I already have a fix for it.
If you’re launching it from the source code, you can apply the fix/clone the working branch.
If you’re not into that, wait until the fix is merged and a new build is released.
/Applications/MusicBrainz\ Picard.app/Contents/MacOS/picard-run -d
I: 17:31:02,407 config._backup_settings:274: Backing up config file to /Users/lantrix/.config/MusicBrainz/Picard-2.4.2.dev1.ini
Traceback (most recent call last):
File "tagger.py", line 19, in <module>
File "picard/tagger.py", line 974, in main
File "picard/tagger.py", line 169, in __init__
File "picard/ui/theme.py", line 168, in setup
File "picard/ui/theme.py", line 66, in setup
File "picard/ui/theme.py", line 159, in is_dark_theme
File "site-packages/objc/_lazyimport.py", line 181, in __getattr__
AttributeError: NSAppearanceNameDarkAqua
[2334] Failed to execute script tagger
The error is no longer
AttributeError: ‘NSCompositeAppearance’ object has no attribute
It’s now another “Dark Theme” component that is not in OSX 10.13
AttributeError: NSAppearanceNameDarkAqua
I was running the latest on Master yesterday before the release and this wasn’t a problem. Maybe one of the PRs before the release broke this again. I’ll see what I can find.
@lantrix Thanks a lot for testing. That it runs for you when launching from source is probably just because you don’t have pyobjc-core and pyobjc-framework-Cocoa installed, which would be needed for this.