Jump to content

Forked version of orf's alfred-quip-workflow, using Quip Search API


Recommended Posts

  • 9 months later...

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

@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.

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...