Open jangerbauer opened 1 year ago
Installed this workflow on MacOS Ventura 13.2.1 and running in debug mode.
When I try and run the workflow -- here is (hopefully) the needed debut output.
################################### [15:20:35.053] Salesforce[Script Filter] Script with argv 'wa' finished [15:20:35.055] ERROR: Salesforce[Script Filter] Code 1: . 15:20:34 workflow.py:2278 DEBUG ---------- Salesforce (0.0.5) ---------- 15:20:34 workflow.py:1681 DEBUG reading settings from /Users//Library/Application Support/Alfred/Workflow Data/jereze.salesforce/settings.json 15:20:34 workflow.py:2683 DEBUG update check not due 15:20:34 workflow.py:1904 DEBUG loading cached data: /Users//Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/jereze.salesforce/__workflow_latest_version.pickle 15:20:34 workflow.py:2787 DEBUG got password : jereze.salesforce:access_token 15:20:34 workflow.py:2787 DEBUG got password : jereze.salesforce:refresh_token 15:20:34 workflow.py:2787 DEBUG got password : jereze.salesforce:instance_url 15:20:34 salesforce_api.py:44 INFO API get call: https://**********.my.salesforce.com/services/data/v40.0/search/?q=FIND+%7Bwa%7D+IN+ALL+FIELDS+RETURNING+Account+%28Id%2C+Name%2C+Type%29%2C+Opportunity+%28Id%2C+Name%2C+StageName%2C+CloseDate%29%2C+Contact+%28Id%2C+Name%2C+Email%29%2C+Lead+%28Id%2C+Name%29+WITH+METADATA%3D%27LABELS%27+ 15:20:34 workflow.py:2298 ERROR 'NoneType' object has no attribute 'info' Traceback (most recent call last): File "/Users//Library/Mobile Documents/com~apple~CloudDocs/etc/Alfred/Alfred.alfredpreferences/workflows/user.workflow.F3555F71-B24E-470B-8A93-B6F9153B841D/workflow/workflow.py", line 2292, in run func(self) File "/Users//Library/Mobile Documents/com~apple~CloudDocs/etc/Alfred/Alfred.alfredpreferences/workflows/user.workflow.F3555F71-B24E-470B-8A93-B6F9153B841D/salesforce_search.py", line 143, in main results = sf.api_call('/services/data/v40.0/search/', parameters={ File "/Users//Library/Mobile Documents/com~apple~CloudDocs/etc/Alfred/Alfred.alfredpreferences/workflows/user.workflow.F3555F71-B24E-470B-8A93-B6F9153B841D/salesforce_api.py", line 51, in api_call self.wf.logger.debug(r.text) File "/Users//Library/Mobile Documents/com~apple~CloudDocs/etc/Alfred/Alfred.alfredpreferences/workflows/user.workflow.F3555F71-B24E-470B-8A93-B6F9153B841D/workflow/web.py", line 317, in text if self.encoding: File "/Users//Library/Mobile Documents/com~apple~CloudDocs/etc/Alfred/Alfred.alfredpreferences/workflows/user.workflow.F3555F71-B24E-470B-8A93-B6F9153B841D/workflow/web.py", line 282, in encoding self._encoding = self._get_encoding() File "/Users//Library/Mobile Documents/com~apple~CloudDocs/etc/Alfred/Alfred.alfredpreferences/workflows/user.workflow.F3555F71-B24E-470B-8A93-B6F9153B841D/workflow/web.py", line 409, in _get_encoding headers = self.raw.info() AttributeError: 'NoneType' object has no attribute 'info' 15:20:34 workflow.py:2322 DEBUG ---------- finished in 0.637s ---------- [15:20:35.063] Salesforce[Script Filter] { "items": [ { "title": "Error in workflow 'Salesforce'", "subtitle": "'NoneType' object has no attribute 'info'", "valid": false, "icon": { "path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns" } } ] } ####################################
Anything I'm missing? Thanks.
Installed this workflow on MacOS Ventura 13.2.1 and running in debug mode.
When I try and run the workflow -- here is (hopefully) the needed debut output.
################################### [15:20:35.053] Salesforce[Script Filter] Script with argv 'wa' finished [15:20:35.055] ERROR: Salesforce[Script Filter] Code 1: . 15:20:34 workflow.py:2278 DEBUG ---------- Salesforce (0.0.5) ---------- 15:20:34 workflow.py:1681 DEBUG reading settings from /Users//Library/Application Support/Alfred/Workflow Data/jereze.salesforce/settings.json 15:20:34 workflow.py:2683 DEBUG update check not due 15:20:34 workflow.py:1904 DEBUG loading cached data: /Users//Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/jereze.salesforce/__workflow_latest_version.pickle 15:20:34 workflow.py:2787 DEBUG got password : jereze.salesforce:access_token 15:20:34 workflow.py:2787 DEBUG got password : jereze.salesforce:refresh_token 15:20:34 workflow.py:2787 DEBUG got password : jereze.salesforce:instance_url 15:20:34 salesforce_api.py:44 INFO API get call: https://**********.my.salesforce.com/services/data/v40.0/search/?q=FIND+%7Bwa%7D+IN+ALL+FIELDS+RETURNING+Account+%28Id%2C+Name%2C+Type%29%2C+Opportunity+%28Id%2C+Name%2C+StageName%2C+CloseDate%29%2C+Contact+%28Id%2C+Name%2C+Email%29%2C+Lead+%28Id%2C+Name%29+WITH+METADATA%3D%27LABELS%27+ 15:20:34 workflow.py:2298 ERROR 'NoneType' object has no attribute 'info' Traceback (most recent call last): File "/Users//Library/Mobile Documents/com~apple~CloudDocs/etc/Alfred/Alfred.alfredpreferences/workflows/user.workflow.F3555F71-B24E-470B-8A93-B6F9153B841D/workflow/workflow.py", line 2292, in run func(self) File "/Users//Library/Mobile Documents/com~apple~CloudDocs/etc/Alfred/Alfred.alfredpreferences/workflows/user.workflow.F3555F71-B24E-470B-8A93-B6F9153B841D/salesforce_search.py", line 143, in main results = sf.api_call('/services/data/v40.0/search/', parameters={ File "/Users//Library/Mobile Documents/com~apple~CloudDocs/etc/Alfred/Alfred.alfredpreferences/workflows/user.workflow.F3555F71-B24E-470B-8A93-B6F9153B841D/salesforce_api.py", line 51, in api_call self.wf.logger.debug(r.text) File "/Users//Library/Mobile Documents/com~apple~CloudDocs/etc/Alfred/Alfred.alfredpreferences/workflows/user.workflow.F3555F71-B24E-470B-8A93-B6F9153B841D/workflow/web.py", line 317, in text if self.encoding: File "/Users//Library/Mobile Documents/com~apple~CloudDocs/etc/Alfred/Alfred.alfredpreferences/workflows/user.workflow.F3555F71-B24E-470B-8A93-B6F9153B841D/workflow/web.py", line 282, in encoding self._encoding = self._get_encoding() File "/Users//Library/Mobile Documents/com~apple~CloudDocs/etc/Alfred/Alfred.alfredpreferences/workflows/user.workflow.F3555F71-B24E-470B-8A93-B6F9153B841D/workflow/web.py", line 409, in _get_encoding headers = self.raw.info() AttributeError: 'NoneType' object has no attribute 'info' 15:20:34 workflow.py:2322 DEBUG ---------- finished in 0.637s ---------- [15:20:35.063] Salesforce[Script Filter] { "items": [ { "title": "Error in workflow 'Salesforce'", "subtitle": "'NoneType' object has no attribute 'info'", "valid": false, "icon": { "path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns" } } ] } ####################################
Anything I'm missing? Thanks.