Pete82 Posted August 7, 2022 Share Posted August 7, 2022 Hi, having an issue too - here is the debug report (not sure what it means). Just had a clean install of Alfred 5, latest version of python and Pillow. Thanks for the help! [23:27:08.879] Get App Icon[Script Filter] Queuing argument '' [23:27:09.361] Get App Icon[Script Filter] Script with argv '(null)' finished [23:27:09.364] Get App Icon[Script Filter] <?xml version="1.0"?><items> <item> <arg>online^</arg> <title>Search app icons online</title> <subtitle>Switch to online search in App Store and Mac App Store</subtitle> </item> <item> <arg>/Applications/Camtasia 2021.app</arg> <title>Camtasia 2021</title> <icon type="fileicon">/Applications/Camtasia 2021.app</icon> </item> <item> <arg>/Applications/VLC.app</arg> <title>VLC</title> <icon type="fileicon">/Applications/VLC.app</icon> </item> <item> <arg>/Applications/HandBrake.app</arg> <title>HandBrake</title> <icon type="fileicon">/Applications/HandBrake.app</icon> </item> <item> <arg>/Applications/iBooks Author.app</arg> <title>iBooks Author</title> <icon type="fileicon">/Applications/iBooks Author.app</icon> </item> <item> <arg>/Applications/Eagle.app</arg> <title>Eagle</title> <icon type="fileicon">/Applications/Eagle.app</icon> </item> <item> <arg>/Applications/Zotero.app</arg> <title>Zotero</title> <icon type="fileicon">/Applications/Zotero.app</icon> </item> <item> <arg>/Applications/Image2Icon.app</arg> <title>Image2Icon</title> <icon type="fileicon">/Applications/Image2Icon.app</icon> </item> <item> <arg>/Applications/ProtonVPN.app</arg> <title>ProtonVPN</title> <icon type="fileicon">/Applications/ProtonVPN.app</icon> </item> <item> <arg>/Applications/1Password.app</arg> <title>1Password</title> <icon type="fileicon">/Applications/1Password.app</icon> </item> <item> <arg>/Applications/HP/HP ePrint.app</arg> <title>HP ePrint</title> <icon type="fileicon">/Applications/HP/HP ePrint.app</icon> </item> <item> <arg>/Applications/DEVONagent.app</arg> <title>DEVONagent</title> <icon type="fileicon">/Applications/DEVONagent.app</icon> </item> <item> <arg>/Applications/Bomber Crew.app</arg> <title>Bomber Crew</title> <icon type="fileicon">/Applications/Bomber Crew.app</icon> </item> <item> <arg>/Applications/Google Chrome.app</arg> <title>Google Chrome</title> <icon type="fileicon">/Applications/Google Chrome.app</icon> </item> <item> <arg>/Applications/Maccy.app</arg> <title>Maccy</title> <icon type="fileicon">/Applications/Maccy.app</icon> </item> <item> <arg>/Applications/PDF Shrink.app</arg> <title>PDF Shrink</title> <icon type="fileicon">/Applications/PDF Shrink.app</icon> </item> <item> <arg>/Applications/Numbers.app</arg> <title>Numbers</title> <icon type="fileicon">/Applications/Numbers.app</icon> </item> <item> <arg>/Applications/Bartender 4.app</arg> <title>Bartender 4</title> <icon type="fileicon">/Applications/Bartender 4.app</icon> </item> <item> <arg>/Applications/Dropbox.app</arg> <title>Dropbox</title> <icon type="fileicon">/Applications/Dropbox.app</icon> </item> <item> <arg>/Applications/Meme Generator.app</arg> <title>Meme Generator</title> <icon type="fileicon">/Applications/Meme Generator.app</icon> </item> <item> <arg>/Applications/iTunes Producer.app</arg> <title>iTunes Producer</title> <icon type="fileicon">/Applications/iTunes Producer.app</icon> </item> <item> <arg>/Applications/DEVONthink 3.app</arg> <title>DEVONthink 3</title> <icon type="fileicon">/Applications/DEVONthink 3.app</icon> </item> <item> <arg>/Applications/Beyond Compare.app</arg> <title>Beyond Compare</title> <icon type="fileicon">/Applications/Beyond Compare.app</icon> </item> <item> <arg>/Applications/NTFS for Mac.app</arg> <title>NTFS for Mac</title> <icon type="fileicon">/Applications/NTFS for Mac.app</icon> </item> <item> <arg>/Applications/Letter Opener Lite.app</arg> <title>Letter Opener Lite</title> <icon type="fileicon">/Applications/Letter Opener Lite.app</icon> </item> <item> <arg>/Applications/Notepad.app</arg> <title>Notepad</title> <icon type="fileicon">/Applications/Notepad.app</icon> </item> <item> <arg>/Applications/Notion.app</arg> <title>Notion</title> <icon type="fileicon">/Applications/Notion.app</icon> </item> <item> <arg>/Applications/OneDrive.app</arg> <title>OneDrive</title> <icon type="fileicon">/Applications/OneDrive.app</icon> </item> <item> <arg>/Applications/Drafts.app</arg> <title>Drafts</title> <icon type="fileicon">/Applications/Drafts.app</icon> </item> <item> <arg>/Applications/iMovie.app</arg> <title>iMovie</title> <icon type="fileicon">/Applications/iMovie.app</icon> </item> <item> <arg>/Applications/LogTen.app</arg> <title>LogTen</title> <icon type="fileicon">/Applications/LogTen.app</icon> </item> <item> <arg>/Applications/TweetDeck.app</arg> <title>TweetDeck</title> <icon type="fileicon">/Applications/TweetDeck.app</icon> </item> <item> <arg>/Applications/Eagle for Safari.app</arg> <title>Eagle for Safari</title> <icon type="fileicon">/Applications/Eagle for Safari.app</icon> </item> <item> <arg>/Applications/Battery Time.app</arg> <title>Battery Time</title> <icon type="fileicon">/Applications/Battery Time.app</icon> </item> <item> <arg>/Applications/DaisyDisk.app</arg> <title>DaisyDisk</title> <icon type="fileicon">/Applications/DaisyDisk.app</icon> </item> <item> <arg>/Applications/Carbon Copy Cloner.app</arg> <title>Carbon Copy Cloner</title> <icon type="fileicon">/Applications/Carbon Copy Cloner.app</icon> </item> <item> <arg>/Applications/R/R.app</arg> <title>R</title> <icon type="fileicon">/Applications/R/R.app</icon> </item> <item> <arg>/Applications/R/RStudio.app</arg> <title>RStudio</title> <icon type="fileicon">/Applications/R/RStudio.app</icon> </item> <item> <arg>/Applications/Microsoft Word.app</arg> <title>Microsoft Word</title> <icon type="fileicon">/Applications/Microsoft Word.app</icon> </item> <item> <arg>/Applications/Transmission.app</arg> <title>Transmission</title> <icon type="fileicon">/Applications/Transmission.app</icon> </item> <item> <arg>/Applications/Google Drive.app</arg> <title>Google Drive</title> <icon type="fileicon">/Applications/Google Drive.app</icon> </item> <item> <arg>/Applications/Cocktail.app</arg> <title>Cocktail</title> <icon type="fileicon">/Applications/Cocktail.app</icon> </item> <item> <arg>/Applications/Audacity.app</arg> <title>Audacity</title> <icon type="fileicon">/Applications/Audacity.app</icon> </item> <item> <arg>/Applications/Grammarly.app</arg> <title>Grammarly</title> <icon type="fileicon">/Applications/Grammarly.app</icon> </item> <item> <arg>/Applications/Affinity Designer.app</arg> <title>Affinity Designer</title> <icon type="fileicon">/Applications/Affinity Designer.app</icon> </item> <item> <arg>/Applications/Scapple.app</arg> <title>Sle</title> <icon type="fileicon">/Applications/Scapple.app</icon> </item> <item> <arg>/Applications/Magnet.app</arg> <title>Magnet</title> <icon type="fileicon">/Applications/Magnet.app</icon> </item> <item> <arg>/Applications/Safari.app</arg> <title>Safari</title> <icon type="fileicon">/Applications/Safari.app</icon> </item> <item> <arg>/Applications/Amphetamine.app</arg> <title>Amphetamine</title> <icon type="fileicon">/Applications/Amphetamine.app</icon> </item> <item> <arg>/Applications/QR Factory.app</arg> <title>QR Factory</title> <icon type="fileicon">/Applications/QR Factory.app</icon> </item> <item> <arg>/Applications/Microsoft Excel.app</arg> <title>Microsoft Excel</title> <icon type="fileicon">/Applications/Microsoft Excel.app</icon> </item> <item> <arg>/Applications/Utilities/XQuartz.app</arg> <title>XQuartz</title> <icon type="fileicon">/Applications/Utilities/XQuartz.app</icon> </item> <item> <arg>/Applications/Snagit 2022.app</arg> <title>Snagit 2022</title> <icon type="fileicon">/Applications/Snagit 2022.app</icon> </item> <item> <arg>/Applications/calibre.app</arg> <title>calibre</title> <icon type="fileicon">/Applications/calibre.app</icon> </item> <item> <arg>/Applications/zoom.us.app</arg> <title>zoom.us</title> <icon type="fileicon">/Applications/zoom.us.app</icon> </item> <item> <arg>/Applications/WhatsApp.app</arg> <title>WhatsApp</title> <icon type="fileicon">/Applications/WhatsApp.app</icon> </item> <item> <arg>/Applications/Microsoft Outlook.app</arg> <title>Microsoft Outlook</title> <icon type="fileicon">/Applications/Microsoft Outlook.app</icon> </item> <item> <arg>/Applications/Affinity Photo.app</arg> <title>Affinity Photo</title> <icon type="fileicon">/Applications/Affinity Photo.app</icon> </item> <item> <arg>/Applications/Keynote.app</arg> <title>Keynote</title> <icon type="fileicon">/Applications/Keynote.app</icon> </item> <item> <arg>/Applications/Python 3.10/IDLE.app</arg> <title>IDLE</title> <icon type="fileicon">/Applications/Python 3.10/IDLE.app</icon> </item> <item> <arg>/Applications/Python 3.10/Python Launcher.app</arg> <title>Python Launcher</title> <icon type="fileicon">/Applications/Python 3.10/Python Launcher.app</icon> </item> <item> <arg>/Applications/Malwarebytes.app</arg> <title>Malwarebytes</title> <icon type="fileicon">/Applications/Malwarebytes.app</icon> </item> <item> <arg>/Applications/LibreOffice.app</arg> <title>LibreOffice</title> <icon type="fileicon">/Applications/LibreOffice.app</icon> </item> <item> <arg>/Applications/Google Docs.app</arg> <title>Google Docs</title> <icon type="fileicon">/Applications/Google Docs.app</icon> </item> <item> <arg>/Applications/Backup and Sync.app</arg> <title>Backup and Sync</title> <icon type="fileicon">/Applications/Backup and Sync.app</icon> </item> <item> <arg>/Applications/Batch PDF Merger.app</arg> <title>Batch PDF Merger</title> <icon type="fileicon">/Applications/Batch PDF Merger.app</icon> </item> <item> <arg>/Applications/Google Sheets.app</arg> <title>Google Sheets</title> <icon type="fileicon">/Applications/Google Sheets.app</icon> </item> <item> <arg>/Applications/Scan Thing.app</arg> <title>Scan Thing</title> <icon type="fileicon">/Applications/Scan Thing.app</icon> </item> <item> <arg>/Applications/Pages.app</arg> <title>Pages</title> <icon type="fileicon">/Applications/Pages.app</icon> </item> <item> <arg>/Applications/GarageBand.app</arg> <title>GarageBand</title> <icon type="fileicon">/Applications/GarageBand.app</icon> </item> <item> <arg>/Applications/Google Slides.app</arg> <title>Google Slides</title> <icon type="fileicon">/Applications/Google Slides.app</icon> </item> <item> <arg>/Applications/uTorrent Web.app</arg> <title>uTorrent Web</title> <icon type="fileicon">/Applications/uTorrent Web.app</icon> </item> <item> <arg>/Applications/Mirror Screen to Any Smart TV.app</arg> <title>Mirror Screen to Any Smart TV</title> <icon type="fileicon">/Applications/Mirror Screen to Any Smart TV.app</icon> </item> <item> <arg>/Applications/Typinator.app</arg> <title>Typinator</title> <icon type="fileicon">/Applications/Typinator.app</icon> </item> <item> <arg>/Applications/GIFwrapped.app</arg> <title>GIFwed</title> <icon type="fileicon">/Applications/GIFwrapped.app</icon> </item> <item> <arg>/Applications/Aeon Timeline.app</arg> <title>Aeon Timeline</title> <icon type="fileicon">/Applications/Aeon Timeline.app</icon> </item> <item> <arg>/Applications/KSP_osx/KSPLauncher.app</arg> <title>KSPLauncher</title> <icon type="fileicon">/Applications/KSP_osx/KSPLauncher.app</icon> </item> <item> <arg>/Applications/KSP_osx/KSP.app</arg> <title>KSP</title> <icon type="fileicon">/Applications/KSP_osx/KSP.app</icon> </item> <item> <arg>/Applications/EtreCheckPro.app</arg> <title>EtreCheckPro</title> <icon type="fileicon">/Applications/EtreCheckPro.app</icon> </item> <item> <arg>/Applications/Microsoft OneNote.app</arg> <title>Microsoft OneNote</title> <icon type="fileicon">/Applications/Microsoft OneNote.app</icon> </item> <item> <arg>/Applications/Things3.app</arg> <title>Things3</title> <icon type="fileicon">/Applications/Things3.app</icon> </item> <item> <arg>/Applications/Final Cut Pro.app</arg> <title>Final Cut Pro</title> <icon type="fileicon">/Applications/Final Cut Pro.app</icon> </item> <item> <arg>/Applications/Skype.app</arg> <title>Skype</title> <icon type="fileicon">/Applications/Skype.app</icon> </item> <item> <arg>/Applications/duet.app</arg> <title>duet</title> <icon type="fileicon">/Applications/duet.app</icon> </item> <item> <arg>/Applications/AppCleaner.app</arg> <title>AppCleaner</title> <icon type="fileicon">/Applications/AppCleaner.app</icon> </item> <item> <arg>/Applications/CheatSheet.app</arg> <title>CheatSheet</title> <icon type="fileicon">/Applications/CheatSheet.app</icon> </item> <item> <arg>/Applications/iFinance 4.app</arg> <title>iFinance 4</title> <icon type="fileicon">/Applications/iFinance 4.app</icon> </item> <item> <arg>/Applications/Firefox.app</arg> <title>Firefox</title> <icon type="fileicon">/Applications/Firefox.app</icon> </item> <item> <arg>/Applications/Notability.app</arg> <title>Notability</title> <icon type="fileicon">/Applications/Notability.app</icon> </item> <item> <arg>/Applications/Dropzone 4.app</arg> <title>Dropzone 4</title> <icon type="fileicon">/Applications/Dropzone 4.app</icon> </item> <item> <arg>/Applications/Alfred 5.app</arg> <title>Alfred 5</title> <icon type="fileicon">/Applications/Alfred 5.app</icon> </item> <item> <arg>/Applications/Affinity Publisher.app</arg> <title>Affinity Publisher</title> <icon type="fileicon">/Applications/Affinity Publisher.app</icon> </item> <item> <arg>/Applications/Hindenburg.app</arg> <title>Hindenburg</title> <icon type="fileicon">/Applications/Hindenburg.app</icon> </item> <item> <arg>/Applications/Microsoft PowerPoint.app</arg> <title>Microsoft PowerPoint</title> <icon type="fileicon">/Applications/Microsoft PowerPoint.app</icon> </item> <item> <arg>/Applications/Super Vectorizer Pro.app</arg> <title>Super Vectorizer Pro</title> <icon type="fileicon">/Applications/Super Vectorizer Pro.app</icon> </item> <item> <arg>/Applications/PDF Expert.app</arg> <title>PDF Expert</title> <icon type="fileicon">/Applications/PDF Expert.app</icon> </item> <item> <arg>/Applications/Notability.localized/Notability.app</arg> <title>Notability</title> <icon type="fileicon">/Applications/Notability.localized/Notability.app</icon> </item> <item> <arg>/Applications/Microsoft Teams.app</arg> <title>Microsoft Teams</title> <icon type="fileicon">/Applications/Microsoft Teams.app</icon> </item> <item> <arg>/Applications/Slack.app</arg> <title>Slack</title> <icon type="fileicon">/Applications/Slack.app</icon> </item> <item> <arg>/Applications/miele-lxiv.app</arg> <title>miele-lxiv</title> <icon type="fileicon">/Applications/miele-lxiv.app</icon> </item> <item> <arg>/Applications/Meeter.app</arg> <title>Meeter</title> <icon type="fileicon">/Applications/Meeter.app</icon> </item> <item> <arg>/Applications/FxFactory.app</arg> <title>FxFactory</title> <icon type="fileicon">/Applications/FxFactory.app</icon> </item> <item> <arg>/Applications/PowerPhotos.app</arg> <title>PowerPhotos</title> <icon type="fileicon">/Applications/PowerPhotos.app</icon> </item> <item> <arg>/Applications/Motion.app</arg> <title>Motion</title> <icon type="fileicon">/Applications/Motion.app</icon> </item> <item> <arg>/Applications/Scrivener.app</arg> <title>Scrivener</title> <icon type="fileicon">/Applications/Scrivener.app</icon> </item> <item> <arg>/Applications/Human Anatomy Atlas.app</arg> <title>Human Anatomy Atlas</title> <icon type="fileicon">/Applications/Human Anatomy Atlas.app</icon> </item> <item> <arg>/Applications/Garmin Express.app</arg> <title>Garmin Express</title> <icon type="fileicon">/Applications/Garmin Express.app</icon> </item> </items> [23:27:10.884] Get App Icon[Script Filter] Processing complete [23:27:10.899] Get App Icon[Script Filter] Passing output 'online^' to Run Script [23:27:11.082] Get App Icon[External] Processing complete [23:27:11.094] Get App Icon[External] Passing output '' to Script Filter [23:27:13.226] Get App Icon[Script Filter] Queuing argument 'm' [23:27:13.671] Get App Icon[Script Filter] Script with argv '(null)' finished [23:27:13.682] ERROR: Get App Icon[Script Filter] Code 1: Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 1348, in do_open h.request(req.get_method(), req.selector, req.data, headers, File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1282, in request self._send_request(method, url, body, headers, encode_chunked) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1328, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1277, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1037, in _send_output self.send(msg) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 975, in send self.connect() File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1454, in connect self.sock = self._context.wrap_socket(self.sock, File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/ssl.py", line 513, in wrap_socket return self.sslsocket_class._create( File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/ssl.py", line 1071, in _create self.do_handshake() File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/ssl.py", line 1342, in do_handshake self._sslobj.do_handshake() ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/pete/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.FFCD342B-5D96-43B2-B6D5-4715C450277F/acpython.py", line 45, in <module> appsearch = results(qr) File "/Users/pete/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.FFCD342B-5D96-43B2-B6D5-4715C450277F/acpython.py", line 23, in results dictionary = urllib.request.urlopen('https://itunes.apple.com/search?term='+ query + '&country=' + country + '&entity=' + entity + '&limit=' + str(limit) + '&media=' + media).read() File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 216, in urlopen return opener.open(url, data, timeout) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 519, in open response = self._open(req, data) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 536, in _open result = self._call_chain(self.handle_open, protocol, protocol + File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 496, in _call_chain result = func(*args) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 1391, in https_open return self.do_open(http.client.HTTPSConnection, req, File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 1351, in do_open raise URLError(err) urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)> [23:27:15.593] Get App Icon[Script Filter] Queuing argument 'microsoft wor' [23:27:15.745] Get App Icon[Script Filter] Script with argv '(null)' finished [23:27:15.748] ERROR: Get App Icon[Script Filter] Code 1: Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 1348, in do_open h.request(req.get_method(), req.selector, req.data, headers, File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1282, in request self._send_request(method, url, body, headers, encode_chunked) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1328, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1277, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1037, in _send_output self.send(msg) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 975, in send self.connect() File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1454, in connect self.sock = self._context.wrap_socket(self.sock, File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/ssl.py", line 513, in wrap_socket return self.sslsocket_class._create( File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/ssl.py", line 1071, in _create self.do_handshake() File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/ssl.py", line 1342, in do_handshake self._sslobj.do_handshake() ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/pete/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.FFCD342B-5D96-43B2-B6D5-4715C450277F/acpython.py", line 45, in <module> appsearch = results(qr) File "/Users/pete/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.FFCD342B-5D96-43B2-B6D5-4715C450277F/acpython.py", line 23, in results dictionary = urllib.request.urlopen('https://itunes.apple.com/search?term='+ query + '&country=' + country + '&entity=' + entity + '&limit=' + str(limit) + '&media=' + media).read() File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 216, in urlopen return opener.open(url, data, timeout) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 519, in open response = self._open(req, data) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 536, in _open result = self._call_chain(self.handle_open, protocol, protocol + File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 496, in _call_chain result = func(*args) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 1391, in https_open return self.do_open(http.client.HTTPSConnection, req, File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 1351, in do_open raise URLError(err) urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)> [23:27:16.234] Get App Icon[Script Filter] Queuing argument 'microsoft word' [23:27:16.408] Get App Icon[Script Filter] Script with argv '(null)' finished [23:27:16.416] ERROR: Get App Icon[Script Filter] Code 1: Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 1348, in do_open h.request(req.get_method(), req.selector, req.data, headers, File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1282, in request self._send_request(method, url, body, headers, encode_chunked) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1328, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1277, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1037, in _send_output self.send(msg) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 975, in send self.connect() File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1454, in connect self.sock = self._context.wrap_socket(self.sock, File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/ssl.py", line 513, in wrap_socket return self.sslsocket_class._create( File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/ssl.py", line 1071, in _create self.do_handshake() File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/ssl.py", line 1342, in do_handshake self._sslobj.do_handshake() ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/pete/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.FFCD342B-5D96-43B2-B6D5-4715C450277F/acpython.py", line 45, in <module> appsearch = results(qr) File "/Users/pete/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.FFCD342B-5D96-43B2-B6D5-4715C450277F/acpython.py", line 23, in results dictionary = urllib.request.urlopen('https://itunes.apple.com/search?term='+ query + '&country=' + country + '&entity=' + entity + '&limit=' + str(limit) + '&media=' + media).read() File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 216, in urlopen return opener.open(url, data, timeout) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 519, in open response = self._open(req, data) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 536, in _open result = self._call_chain(self.handle_open, protocol, protocol + File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 496, in _call_chain result = func(*args) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 1391, in https_open return self.do_open(http.client.HTTPSConnection, req, File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 1351, in do_open raise URLError(err) urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)> Link to comment
vitor Posted August 8, 2022 Share Posted August 8, 2022 @Pete82 Looks like you’re running into https://www.alfredforum.com/topic/2045-downmedia-—-download-media-from-popular-sources/?do=findComment&comment=97159 Pete82 1 Link to comment
Pete82 Posted August 8, 2022 Share Posted August 8, 2022 Thanks Vitor, looks like that has done the trick Link to comment
jackk Posted August 10, 2022 Share Posted August 10, 2022 I deleted and installed it couple of times, but it's still have this error. [14:06:23.657] Logging Started... [14:06:26.126] Get App Icon[Script Filter] Queuing argument '' [14:06:26.401] Get App Icon[Script Filter] Script with argv '(null)' finished [14:06:26.403] Get App Icon[Script Filter] <?xml version="1.0"?><items> <item> <arg>online^</arg> <title>Search app icons online</title> <subtitle>Switch to online search in App Store and Mac App Store</subtitle> </item> <item> <arg>/Applications/NameChanger.app</arg> <title>NameChanger</title> <icon type="fileicon">/Applications/NameChanger.app</icon> </item> <item> <arg>/Applications/Keyboard Maestro.app</arg> <title>Keyboard Maestro</title> <icon type="fileicon">/Applications/Keyboard Maestro.app</icon> </item> <item> <arg>/Applications/DevUtilsAppStore.app</arg> <title>DevUtilsAppStore</title> <icon type="fileicon">/Applications/DevUtilsAppStore.app</icon> </item> <item> <arg>/Applications/Notion Web Clipper.app</arg> <title>Notion Web Clipper</title> <icon type="fileicon">/Applications/Notion Web Clipper.app</icon> </item> <item> <arg>/Applications/Twitter.app</arg> <title>Twitter</title> <icon type="fileicon">/Applications/Twitter.app</icon> </item> <item> <arg>/Applications/SF Symbols.app</arg> <title>SF Symbols</title> <icon type="fileicon">/Applications/SF Symbols.app</icon> </item> </items> [14:06:26.797] Get App Icon[Script Filter] Queuing argument 'k' [14:06:26.917] Get App Icon[Script Filter] Script with argv '(null)' finished [14:06:26.923] Get App Icon[Script Filter] <?xml version="1.0"?><items> <item> <arg>online^k</arg> <title>Search app icons online</title> <subtitle>Switch to online search in App Store and Mac App Store</subtitle> </item> <item> <arg>/Applications/Bakery.app</arg> <title>Bakery</title> <icon type="fileicon">/Applications/Bakery.app</icon> </item> <item> <arg>/Applications/Karabiner-Elements.app</arg> <title>Karabiner-Elements</title> <icon type="fileicon">/Applications/Karabiner-Elements.app</icon> </item> <item> <arg>/Applications/Karabiner-EventViewer.app</arg> <title>Karabiner-EventViewer</title> <icon type="fileicon">/Applications/Karabiner-EventViewer.app</icon> </item> <item> <arg>/Applications/TinkerTool.app</arg> <title>TinkerTool</title> <icon type="fileicon">/Applications/TinkerTool.app</icon> </item> <item> <arg>/Applications/.Karabiner-VirtualHIDDevice-Manager.app</arg> <title>.Karabiner-VirtualHIDDevice-Manager</title> <icon type="fileicon">/Applications/.Karabiner-VirtualHIDDevice-Manager.app</icon> </item> <item> <arg>/Applications/Stream Deck.app</arg> <title>Stream Deck</title> <icon type="fileicon">/Applications/Stream Deck.app</icon> </item> <item> <arg>/Applications/Key Codes.app</arg> <title>Key Codes</title> <icon type="fileicon">/Applications/Key Codes.app</icon> </item> <item> <arg>/Applications/Keyboard Maestro.app</arg> <title>Keyboard Maestro</title> <icon type="fileicon">/Applications/Keyboard Maestro.app</icon> </item> </items> [14:06:26.940] Get App Icon[Script Filter] Queuing argument 'ke' [14:06:27.036] Get App Icon[Script Filter] Queuing argument 'key' [14:06:27.044] Get App Icon[Script Filter] Script with argv '(null)' finished [14:06:27.045] Get App Icon[Script Filter] <?xml version="1.0"?><items> <item> <arg>online^ke</arg> <title>Search app icons online</title> <subtitle>Switch to online search in App Store and Mac App Store</subtitle> </item> <item> <arg>/Applications/Bakery.app</arg> <title>Bakery</title> <icon type="fileicon">/Applications/Bakery.app</icon> </item> <item> <arg>/Applications/TinkerTool.app</arg> <title>TinkerTool</title> <icon type="fileicon">/Applications/TinkerTool.app</icon> </item> <item> <arg>/Applications/Key Codes.app</arg> <title>Key Codes</title> <icon type="fileicon">/Applications/Key Codes.app</icon> </item> <item> <arg>/Applications/Keyboard Maestro.app</arg> <title>Keyboard Maestro</title> <icon type="fileicon">/Applications/Keyboard Maestro.app</icon> </item> </items> [14:06:27.135] Get App Icon[Script Filter] Script with argv '(null)' finished [14:06:27.142] Get App Icon[Script Filter] <?xml version="1.0"?><items> <item> <arg>online^key</arg> <title>Search app icons online</title> <subtitle>Switch to online search in App Store and Mac App Store</subtitle> </item> <item> <arg>/Applications/Key Codes.app</arg> <title>Key Codes</title> <icon type="fileicon">/Applications/Key Codes.app</icon> </item> <item> <arg>/Applications/Keyboard Maestro.app</arg> <title>Keyboard Maestro</title> <icon type="fileicon">/Applications/Keyboard Maestro.app</icon> </item> </items> [14:06:27.204] Get App Icon[Script Filter] Queuing argument 'keyb' [14:06:27.297] Get App Icon[Script Filter] Script with argv '(null)' finished [14:06:27.298] Get App Icon[Script Filter] <?xml version="1.0"?><items> <item> <arg>online^keyb</arg> <title>Search app icons online</title> <subtitle>Switch to online search in App Store and Mac App Store</subtitle> </item> <item> <arg>/Applications/Keyboard Maestro.app</arg> <title>Keyboard Maestro</title> <icon type="fileicon">/Applications/Keyboard Maestro.app</icon> </item> </items> [14:06:28.825] Get App Icon[Script Filter] Processing complete [14:06:28.832] Get App Icon[Script Filter] Passing output '/Applications/Keyboard Maestro.app' to Run Script [14:06:29.027] Get App Icon[External] Processing complete [14:06:29.027] Get App Icon[External] Passing output '/Users/Al/Desktop/.png' to Post Notification [14:06:29.034] STDERR: Get App Icon[Run Script] acshell.sh: line 41: python: command not found acshell.sh: line 43: python: command not found Warning: /Applications/Keyboard Maestro.app/Contents/Resources/.icns not a valid file - skipping Link to comment
vitor Posted August 11, 2022 Share Posted August 11, 2022 @jackk The Workflow is in need of an update, I’ve submitted a pull request. Download the working version. jackk and Chris Messina 2 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now