giovannicoppola / alfred-powerthesaurus

Search Powerthesaurus synonyms and antonyms from Alfred
MIT License
44 stars 3 forks source link

403 Client Error #5

Closed philmnoir closed 10 months ago

philmnoir commented 10 months ago

OSX Ventura Version 13.6.1 Alfred 5.1.4 Power Thesaurus 2.1.3

Issue started on Dec. 26th. Receiving error:

"ERROR 403 Client Error: Forbidden for url: https://api.powerthesaurus.org/"

Have tried changing Environment Variable "ALFRED_PT_SSL_VERIFICATION" to FALSE, but throws same error message.

Debug code:

[14:02:49.674] Power Thesaurus[Script Filter] Queuing argument 'happy' [14:02:50.257] Power Thesaurus[Script Filter] Script with argv '(null)' finished [14:02:50.261] ERROR: Power Thesaurus[Script Filter] Code 1: 14:02:49 workflow.py:1695 DEBUG loading cached data: /Users/pl/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/me.clarencecastillo.alfred-powerthesaurus/__workflow_latest_version.cpickle . 14:02:49 workflow.py:2061 DEBUG ---------- Power Thesaurus (2.1.3) ---------- 14:02:49 workflow.py:1468 DEBUG reading settings from /Users/pl/Library/Application Support/Alfred/Workflow Data/me.clarencecastillo.alfred-powerthesaurus/settings.json 14:02:49 workflow.py:2343 DEBUG update check not due 14:02:49 powerthesaurus.py:66 DEBUG input: u'synonym happy' 14:02:49 powerthesaurus.py:76 DEBUG cache key: u'synonym happy' -> u'happy_synonym' 14:02:49 connectionpool.py:959 DEBUG Starting new HTTPS connection (1): api.powerthesaurus.org:443 14:02:50 connectionpool.py:437 DEBUG https://api.powerthesaurus.org:443 "POST / HTTP/1.1" 403 None 14:02:50 api.py:113 DEBUG search_query: 403 https://api.powerthesaurus.org/ 14:02:50 workflow.py:2080 ERROR 403 Client Error: Forbidden for url: https://api.powerthesaurus.org/ Traceback (most recent call last): File "/Users/pl/Dropbox/Backup/Alfred/Alfred.alfredpreferences/workflows/user.workflow.6A9A10EE-7AF3-48A4-A3AE-BD57A69AE6A4/workflow/workflow.py", line 2073, in run func(self) File "powerthesaurus.py", line 88, in main term = pt.search_query_match(query) File "/Users/pl/Dropbox/Backup/Alfred/Alfred.alfredpreferences/workflows/user.workflow.6A9A10EE-7AF3-48A4-A3AE-BD57A69AE6A4/api.py", line 118, in search_query_match terms = self.search_query(query) File "/Users/pl/Dropbox/Backup/Alfred/Alfred.alfredpreferences/workflows/user.workflow.6A9A10EE-7AF3-48A4-A3AE-BD57A69AE6A4/api.py", line 114, in search_query r.raise_for_status() File "./lib/requests/models.py", line 941, in raise_for_status raise HTTPError(http_error_msg, response=self) HTTPError: 403 Client Error: Forbidden for url: https://api.powerthesaurus.org/ 14:02:50 workflow.py:2082 INFO for assistance, see: https://github.com/clarencecastillo/alfred-powerthesaurus 14:02:50 workflow.py:2103 DEBUG ---------- finished in 0.419s ---------- [14:02:50.263] Power Thesaurus[Script Filter] { "items": [ { "valid": false, "subtitle": "403 Client Error: Forbidden for url: https://api.powerthesaurus.org/", "icon": { "path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns" }, "title": "Error in workflow 'Power Thesaurus'" } ] } [14:03:05.472] Power Thesaurus[Script Filter] Queuing argument 'happy' [14:03:06.610] Power Thesaurus[Script Filter] Script with argv '(null)' finished [14:03:06.617] ERROR: Power Thesaurus[Script Filter] Code 1: 14:03:05 workflow.py:1695 DEBUG loading cached data: /Users/pl/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/me.clarencecastillo.alfred-powerthesaurus/__workflow_latest_version.cpickle . 14:03:05 workflow.py:2061 DEBUG ---------- Power Thesaurus (2.1.3) ---------- 14:03:05 workflow.py:1468 DEBUG reading settings from /Users/pl/Library/Application Support/Alfred/Workflow Data/me.clarencecastillo.alfred-powerthesaurus/settings.json 14:03:05 workflow.py:2343 DEBUG update check not due 14:03:05 powerthesaurus.py:66 DEBUG input: u'synonym happy' 14:03:05 powerthesaurus.py:76 DEBUG cache key: u'synonym happy' -> u'happy_synonym' 14:03:05 connectionpool.py:959 DEBUG Starting new HTTPS connection (1): api.powerthesaurus.org:443 14:03:06 connectionpool.py:437 DEBUG https://api.powerthesaurus.org:443 "POST / HTTP/1.1" 403 None 14:03:06 api.py:113 DEBUG search_query: 403 https://api.powerthesaurus.org/ 14:03:06 workflow.py:2080 ERROR 403 Client Error: Forbidden for url: https://api.powerthesaurus.org/ Traceback (most recent call last): File "/Users/pl/Dropbox/Backup/Alfred/Alfred.alfredpreferences/workflows/user.workflow.6A9A10EE-7AF3-48A4-A3AE-BD57A69AE6A4/workflow/workflow.py", line 2073, in run func(self) File "powerthesaurus.py", line 88, in main term = pt.search_query_match(query) File "/Users/pl/Dropbox/Backup/Alfred/Alfred.alfredpreferences/workflows/user.workflow.6A9A10EE-7AF3-48A4-A3AE-BD57A69AE6A4/api.py", line 118, in search_query_match terms = self.search_query(query) File "/Users/pl/Dropbox/Backup/Alfred/Alfred.alfredpreferences/workflows/user.workflow.6A9A10EE-7AF3-48A4-A3AE-BD57A69AE6A4/api.py", line 114, in search_query r.raise_for_status() File "./lib/requests/models.py", line 941, in raise_for_status raise HTTPError(http_error_msg, response=self) HTTPError: 403 Client Error: Forbidden for url: https://api.powerthesaurus.org/ 14:03:06 workflow.py:2082 INFO for assistance, see: https://github.com/clarencecastillo/alfred-powerthesaurus 14:03:06 workflow.py:2103 DEBUG ---------- finished in 0.780s ---------- [14:03:06.621] Power Thesaurus[Script Filter] { "items": [ { "valid": false, "subtitle": "403 Client Error: Forbidden for url: https://api.powerthesaurus.org/", "icon": { "path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns" }, "title": "Error in workflow 'Power Thesaurus'" } ] } [14:03:15.049] Power Thesaurus[Script Filter] Queuing argument 'happy' [14:03:15.603] Power Thesaurus[Script Filter] Script with argv '(null)' finished [14:03:15.614] ERROR: Power Thesaurus[Script Filter] Code 1: 14:03:15 workflow.py:1695 DEBUG loading cached data: /Users/pl/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/me.clarencecastillo.alfred-powerthesaurus/__workflow_latest_version.cpickle . 14:03:15 workflow.py:2061 DEBUG ---------- Power Thesaurus (2.1.3) ---------- 14:03:15 workflow.py:1468 DEBUG reading settings from /Users/pl/Library/Application Support/Alfred/Workflow Data/me.clarencecastillo.alfred-powerthesaurus/settings.json 14:03:15 workflow.py:2343 DEBUG update check not due 14:03:15 powerthesaurus.py:66 DEBUG input: u'synonym happy' 14:03:15 powerthesaurus.py:76 DEBUG cache key: u'synonym happy' -> u'happy_synonym' 14:03:15 connectionpool.py:959 DEBUG Starting new HTTPS connection (1): api.powerthesaurus.org:443 14:03:15 connectionpool.py:437 DEBUG https://api.powerthesaurus.org:443 "POST / HTTP/1.1" 403 None 14:03:15 api.py:113 DEBUG search_query: 403 https://api.powerthesaurus.org/ 14:03:15 workflow.py:2080 ERROR 403 Client Error: Forbidden for url: https://api.powerthesaurus.org/ Traceback (most recent call last): File "/Users/pl/Dropbox/Backup/Alfred/Alfred.alfredpreferences/workflows/user.workflow.6A9A10EE-7AF3-48A4-A3AE-BD57A69AE6A4/workflow/workflow.py", line 2073, in run func(self) File "powerthesaurus.py", line 88, in main term = pt.search_query_match(query) File "/Users/pl/Dropbox/Backup/Alfred/Alfred.alfredpreferences/workflows/user.workflow.6A9A10EE-7AF3-48A4-A3AE-BD57A69AE6A4/api.py", line 118, in search_query_match terms = self.search_query(query) File "/Users/pl/Dropbox/Backup/Alfred/Alfred.alfredpreferences/workflows/user.workflow.6A9A10EE-7AF3-48A4-A3AE-BD57A69AE6A4/api.py", line 114, in search_query r.raise_for_status() File "./lib/requests/models.py", line 941, in raise_for_status raise HTTPError(http_error_msg, response=self) HTTPError: 403 Client Error: Forbidden for url: https://api.powerthesaurus.org/ 14:03:15 workflow.py:2082 INFO for assistance, see: https://github.com/clarencecastillo/alfred-powerthesaurus 14:03:15 workflow.py:2103 DEBUG ---------- finished in 0.352s ---------- [14:03:15.617] Power Thesaurus[Script Filter] { "items": [ { "valid": false, "subtitle": "403 Client Error: Forbidden for url: https://api.powerthesaurus.org/", "icon": { "path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns" }, "title": "Error in workflow 'Power Thesaurus'" } ] } [14:03:29.565] Power Thesaurus[Script Filter] Queuing argument 'happy' [14:03:30.032] Power Thesaurus[Script Filter] Script with argv '(null)' finished [14:03:30.046] ERROR: Power Thesaurus[Script Filter] Code 1: 14:03:29 workflow.py:1695 DEBUG loading cached data: /Users/pl/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/me.clarencecastillo.alfred-powerthesaurus/__workflow_latest_version.cpickle . 14:03:29 workflow.py:2061 DEBUG ---------- Power Thesaurus (2.1.3) ---------- 14:03:29 workflow.py:1468 DEBUG reading settings from /Users/pl/Library/Application Support/Alfred/Workflow Data/me.clarencecastillo.alfred-powerthesaurus/settings.json 14:03:29 workflow.py:2343 DEBUG update check not due 14:03:29 powerthesaurus.py:66 DEBUG input: u'synonym happy' 14:03:29 powerthesaurus.py:76 DEBUG cache key: u'synonym happy' -> u'happy_synonym' 14:03:29 connectionpool.py:959 DEBUG Starting new HTTPS connection (1): api.powerthesaurus.org:443 14:03:30 connectionpool.py:437 DEBUG https://api.powerthesaurus.org:443 "POST / HTTP/1.1" 403 None 14:03:30 api.py:113 DEBUG search_query: 403 https://api.powerthesaurus.org/ 14:03:30 workflow.py:2080 ERROR 403 Client Error: Forbidden for url: https://api.powerthesaurus.org/ Traceback (most recent call last): File "/Users/pl/Dropbox/Backup/Alfred/Alfred.alfredpreferences/workflows/user.workflow.6A9A10EE-7AF3-48A4-A3AE-BD57A69AE6A4/workflow/workflow.py", line 2073, in run func(self) File "powerthesaurus.py", line 88, in main term = pt.search_query_match(query) File "/Users/pl/Dropbox/Backup/Alfred/Alfred.alfredpreferences/workflows/user.workflow.6A9A10EE-7AF3-48A4-A3AE-BD57A69AE6A4/api.py", line 118, in search_query_match terms = self.search_query(query) File "/Users/pl/Dropbox/Backup/Alfred/Alfred.alfredpreferences/workflows/user.workflow.6A9A10EE-7AF3-48A4-A3AE-BD57A69AE6A4/api.py", line 114, in search_query r.raise_for_status() File "./lib/requests/models.py", line 941, in raise_for_status raise HTTPError(http_error_msg, response=self) HTTPError: 403 Client Error: Forbidden for url: https://api.powerthesaurus.org/ 14:03:30 workflow.py:2082 INFO for assistance, see: https://github.com/clarencecastillo/alfred-powerthesaurus 14:03:30 workflow.py:2103 DEBUG ---------- finished in 0.369s ---------- [14:03:30.048] Power Thesaurus[Script Filter] { "items": [ { "valid": false, "subtitle": "403 Client Error: Forbidden for url: https://api.powerthesaurus.org/", "icon": { "path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns" }, "title": "Error in workflow 'Power Thesaurus'" } ] }