Picard not Launching in OSX 10.13.6


#1

Hi…

When i try to launch Picard on my Macbook Pro, it doesn’t launch. Neither on the install disk nor moving it to the Applications folder. (I did this as suggested on another post).

As suggested somewhere on the docs, I try to run picard from the command line using the -d option to get a better idea of what’s happening. I do this by going to /Applications/MusicBrainz Picard.app/Contents/MacOS and executing ./picard -d
This is what i get:

D: 18:16:52,550 tagger.init:202: Starting Picard from ‘/Applications/MusicBrainz Picard.app/Contents/MacOS/picard/tagger.pyc’
D: 18:16:52,551 tagger.init:204: Platform: Darwin-17.7.0-x86_64-i386-64bit CPython 3.7.2
D: 18:16:52,551 tagger.init:205: Versions: Picard 2.1.3, Python 3.7.2, PyQt 5.10.1, Qt 5.10.1, Mutagen 1.42.0, Discid discid 1.1.1, libdiscid 0.6.2, astrcmp Python, SSL Secure Transport, macOS High Sierra (10.13)
D: 18:16:52,551 tagger.init:206: Configuration file path: ‘/Users/susoo/.config/MusicBrainz/Picard.ini’
D: 18:16:52,551 tagger.init:208: User directory: ‘/Users/susoo/Library/Preferences/MusicBrainz/Picard’
D: 18:16:52,552 i18n.setup_gettext:63: No module named ‘Foundation’
D: 18:16:52,553 i18n.setup_gettext:71: Using locale ‘’
D: 18:16:52,554 i18n.setup_gettext:73: Loading gettext translation, localedir=’/Applications/MusicBrainz Picard.app/Contents/MacOS/locale’
D: 18:16:52,554 i18n.setup_gettext:84: [Errno 2] No translation file found for domain: ‘picard’
D: 18:16:52,554 i18n.setup_gettext:103: _ = <function setup_gettext.. at 0x1047032f0>
D: 18:16:52,554 i18n.setup_gettext:104: N_ = <function at 0x106de8e18>
D: 18:16:52,554 i18n.setup_gettext:105: ngettext = <function setup_gettext.._ngettext at 0x10d927d08>
D: 18:16:52,555 i18n.setup_gettext:106: gettext_countries = <function setup_gettext.._gettext_countries at 0x10d927d90>
D: 18:16:52,555 i18n.setup_gettext:107: gettext_attributes = <function setup_gettext.._gettext_attributes at 0x10d927e18>
D: 18:16:52,555 config.run_upgrade_hooks:202: Config upgrade 0.0.0.dev0 -> 1.0.0.final0: In version 1.0, the file naming formats for single and various artist releases were merged.
Traceback (most recent call last):
File “picard/config.py”, line 203, in run_upgrade_hooks
File “picard/config_upgrade.py”, line 81, in upgrade_to_v1_0_0_final_0
TypeError: question(QWidget, str, str, buttons: Union[QMessageBox.StandardButtons, QMessageBox.StandardButton] = QMessageBox.StandardButtons(QMessageBox.Yes|QMessageBox.No), defaultButton: QMessageBox.StandardButton = QMessageBox.NoButton): argument 4 has unexpected type ‘str’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “tagger.py”, line 32, in
File “picard/tagger.py”, line 872, in main
File “picard/tagger.py”, line 221, in init
File “picard/config_upgrade.py”, line 279, in upgrade_config
File “picard/config.py”, line 212, in run_upgrade_hooks
picard.config.ConfigUpgradeError: Error during config upgrade from version 0.0.0.dev0 to 1.0.0.final0 using upgrade_to_v1_0_0_final_0():
Traceback (most recent call last):
File “picard/config.py”, line 203, in run_upgrade_hooks
File “picard/config_upgrade.py”, line 81, in upgrade_to_v1_0_0_final_0
TypeError: question(QWidget, str, str, buttons: Union[QMessageBox.StandardButtons, QMessageBox.StandardButton] = QMessageBox.StandardButtons(QMessageBox.Yes|QMessageBox.No), defaultButton: QMessageBox.StandardButton = QMessageBox.NoButton): argument 4 has unexpected type ‘str’

[5625] Failed to execute script tagger

Any help on how to solve this? Thanks in advance for your time…


#2

Thanks a lot for the detailed report. According to the log this is crashing on upgrading your config. The information should help us fixing the issue.

As a workaround you can remove your existing configuration, but please don’t completely delete it yet. Just move the config file located at $HOME/.config/MusicBrainz to a different location. That way you can still refer to the config should you want to keep some setting later. Also the config file could be useful for testing the fix for the issue. But please be careful if you share the config in public, it might contain your MusicBrainz password.


#3

Tanks outsidecontext for your replay.

Love to help to improve picard! Please tell me if you need me to do some other tests.

At the moment I’ve tried the workaround you suggested, but i get the same result. The interesting thing is that I move my config file to another location, and after picard fails to launch, i see there’s a picard.ini file created with lots of contents. It looks like when runned, picard re-creates a new config file, and then fails… ¿any idea?

Thanks


#4

Thanks a lot for.the feedback. That’s interesting.

Could you run from command line again with the config file deleted? Maybe there is another issue involved.