cameronsstone Posted August 29, 2020 Share Posted August 29, 2020 First release of workflow forked from orf/alfred-quip-workflow. Change workflow to use Quip search API. Add support for changing Quip domain. Add support for opening directly in Quip application. Updated to version 1.40.0 of Dean's Alfred Workflow library. Get it from https://github.com/cameronsstone/alfred-quip-workflow/releases Link to comment
jth214 Posted June 6, 2021 Share Posted June 6, 2021 This is such a helpful tool, thank you! I've had an issue recently with a weird folder, the folder has no name and I cannot delete it. The issue is that this causes the workflow to error out with " 'NoneType' object has no attribute 'read' ". Here is the output of the debug when I run from a command line: 11:51:17 workflow.py:2338 INFO checking for update ... . 11:51:18 workflow.py:2080 ERROR 'NoneType' object has no attribute 'read' Traceback (most recent call last): File "./Alfred.alfredpreferences/workflows/user.workflow/workflow/workflow.py", line 2073, in run func(self) File "quip.py", line 48, in main response = web.get(search_api, request, headers=auth_headers).json() File "./Alfred.alfredpreferences/workflows/user.workflow/workflow/web.py", line 297, in json return json.loads(self.content, self.encoding or 'utf-8') File "./Alfred.alfredpreferences/workflows/user.workflow/workflow/web.py", line 328, in content self._content = self.raw.read() AttributeError: 'NoneType' object has no attribute 'read' Note I've modified the filepaths above for anonymity. Any ideas? Link to comment
deanishe Posted June 6, 2021 Share Posted June 6, 2021 @jth214 The line numbers in your error log do not correspond to the source code of the current version of the workflow. It looks like you're using an outdated version. Please make sure you're using the latest version of a workflow (or any software, really) before reporting a problem with it: it may have already been fixed. jth214 1 Link to comment
jth214 Posted June 6, 2021 Share Posted June 6, 2021 Oh wow, yes, that was it! Many thanks! 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