Naseer Posted August 29, 2020 Share Posted August 29, 2020 Hi - Can someone help. I downloaded and installed both the workflow and node.js, and I have Alfred v3.7. Every time I try to run 'create' workflow it comes up with following notification : Quote Could not Update the Workflow Cannot read property 'length' of null And when I try the 'search' workflow, I first get : Quote X How unfortunate Error: Missing Todoist API token, Add a token u... Followed by : Quote Could not Update the Workflow Cannot read property 'length' of null Link to comment
Martien Oranje Posted August 29, 2020 Author Share Posted August 29, 2020 On 8/26/2020 at 4:27 PM, Luddite said: I've installed Node.js and set the API token and it was registered as successful. However, whenever I run any command, like creating a task or searching for tasks, there was a notification from Alfred “Couldn't update workflow. Can't read property 'length' of null”. What version of the workflow are you on? Link to comment
Martien Oranje Posted August 29, 2020 Author Share Posted August 29, 2020 3 hours ago, Naseer said: Hi - Can someone help. I downloaded and installed both the workflow and node.js, and I have Alfred v3.7. Every time I try to run 'create' workflow it comes up with following notification : And when I try the 'search' workflow, I first get : Followed by : What version of the workflow are you on? Link to comment
kmcotton Posted September 2, 2020 Share Posted September 2, 2020 On 8/29/2020 at 6:18 AM, Naseer said: Hi - Can someone help. I downloaded and installed both the workflow and node.js, and I have Alfred v3.7. Every time I try to run 'create' workflow it comes up with following notification : And when I try the 'search' workflow, I first get : Followed by : Hi I am getting the same notifications when I try and create a task with alfred. I have version 4.1.1 of alfred and version 5.8.3 of the todoist workflow. Link to comment
Luddite Posted October 16, 2020 Share Posted October 16, 2020 On 8/29/2020 at 9:35 PM, Martien Oranje said: What version of the workflow are you on? Sorry that I didn't reply to you sooner. I'm using the latest Todoist workflow, 5.8.3 and Alfred version 4.0.9. I got that notification, but I was still able to add and retrieve tasks as normal. Link to comment
Robis74 Posted October 30, 2020 Share Posted October 30, 2020 Hi Martien, I am new to all this and I'm struggling to make it work... Using the v.6.0.0- beta.1 workflow and latest version of Node JS: LTS Version: 14.15.0 I added the API token and that worked fine. But when trying to add a task, I get the following error: Starting debug for 'Alfred Workflow Todoist' [2020-10-30 18:23:28][input.scriptfilter] Queuing argument 'c' [2020-10-30 18:23:28][input.scriptfilter] Queuing argument 'ca' [2020-10-30 18:23:28][input.scriptfilter] Queuing argument 'car' [2020-10-30 18:23:28][input.scriptfilter] Queuing argument 'car ' [2020-10-30 18:23:28][input.scriptfilter] Queuing argument 'car w' [2020-10-30 18:23:28][input.scriptfilter] Script with argument '(null)' finished [2020-10-30 18:23:28][input.scriptfilter] { "items": [ { "title": "ADD TASK: c", "subtitle": "INBOX", "icon": { "path": "icon.png" }, "arg": "{\"name\":\"create\",\"args\":{\"content\":\"c\",\"label_ids\":[],\"due_lang\":\"en\"}}", "type": "default", "valid": true } ] } [2020-10-30 18:23:28][input.scriptfilter] Queuing argument 'car ws' [2020-10-30 18:23:29][input.scriptfilter] Queuing argument 'car wsh' [2020-10-30 18:23:29][input.scriptfilter] Script with argument '(null)' finished [2020-10-30 18:23:29][input.scriptfilter] { "items": [ { "title": "ADD TASK: car w", "subtitle": "INBOX", "icon": { "path": "icon.png" }, "arg": "{\"name\":\"create\",\"args\":{\"content\":\"car w\",\"label_ids\":[],\"due_lang\":\"en\"}}", "type": "default", "valid": true } ] } [2020-10-30 18:23:29][input.scriptfilter] Script with argument '(null)' finished [2020-10-30 18:23:29][input.scriptfilter] { "items": [ { "title": "ADD TASK: car wsh", "subtitle": "INBOX", "icon": { "path": "icon.png" }, "arg": "{\"name\":\"create\",\"args\":{\"content\":\"car wsh\",\"label_ids\":[],\"due_lang\":\"en\"}}", "type": "default", "valid": true } ] } [2020-10-30 18:23:29][input.scriptfilter] Queuing argument 'car ws' [2020-10-30 18:23:30][input.scriptfilter] Queuing argument 'car w' [2020-10-30 18:23:30][input.scriptfilter] Queuing argument 'car wa' [2020-10-30 18:23:30][input.scriptfilter] Queuing argument 'car was' [2020-10-30 18:23:30][input.scriptfilter] Queuing argument 'car wash' [2020-10-30 18:23:30][input.scriptfilter] Script with argument '(null)' finished [2020-10-30 18:23:30][input.scriptfilter] { "items": [ { "title": "ADD TASK: car ws", "subtitle": "INBOX", "icon": { "path": "icon.png" }, "arg": "{\"name\":\"create\",\"args\":{\"content\":\"car ws\",\"label_ids\":[],\"due_lang\":\"en\"}}", "type": "default", "valid": true } ] } [2020-10-30 18:23:30][input.scriptfilter] Script with argument '(null)' finished [2020-10-30 18:23:30][input.scriptfilter] { "items": [ { "title": "ADD TASK: car wash", "subtitle": "INBOX", "icon": { "path": "icon.png" }, "arg": "{\"name\":\"create\",\"args\":{\"content\":\"car wash\",\"label_ids\":[],\"due_lang\":\"en\"}}", "type": "default", "valid": true } ] } [2020-10-30 18:23:38][input.scriptfilter] Processing output of 'action.script' with arg '{"name":"create","args":{"content":"car wash","label_ids":[],"due_lang":"en"}}' [2020-10-30 18:23:39][ERROR: action.script] [ERROR] TypeError: Cannot convert undefined or null to object at Function.keys (<anonymous>) at Object.set store [as store] (/Users/mac/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.07BACD74-A025-495B-91B4-39F0CBCDE377/alfred-workflow-todoist.js:29:182781) at Bh.qh [as deserialize] (/Users/mac/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.07BACD74-A025-495B-91B4-39F0CBCDE377/alfred-workflow-todoist.js:29:183485) at Bh.get store [as store] (/Users/mac/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.07BACD74-A025-495B-91B4-39F0CBCDE377/alfred-workflow-todoist.js:15:123392) at new e.exports (/Users/mac/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.07BACD74-A025-495B-91B4-39F0CBCDE377/alfred-workflow-todoist.js:15:119010) at new Bh (/Users/mac/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.07BACD74-A025-495B-91B4-39F0CBCDE377/alfred-workflow-todoist.js:29:183702) at /Users/mac/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.07BACD74-A025-495B-91B4-39F0CBCDE377/alfred-workflow-todoist.js:29:210701 at tp (/Users/mac/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.07BACD74-A025-495B-91B4-39F0CBCDE377/alfred-workflow-todoist.js:29:210995) at /Users/mac/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.07BACD74-A025-495B-91B4-39F0CBCDE377/alfred-workflow-todoist.js:29:329760 at wv (/Users/mac/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.07BACD74-A025-495B-91B4-39F0CBCDE377/alfred-workflow-todoist.js:29:329967) [2020-10-30 18:23:39][action.script] Processing output of 'utility.debug' with arg '' [2020-10-30 18:23:39][utility.debug] '', { "node_flags" = ""; "node_path" = ""; } What am I missing here? Any help would be appreciated! Thanks, Boris Link to comment
alanjudson Posted September 24, 2021 Share Posted September 24, 2021 Hello Martien, I wondered if you might have an insight into this. I have v5.8.3 and Alfred 4 on: macOS Big Sur For every keyup event I type after `todo` I get an argv '(null)' finished, and alfred sends me a This is the error output: [12:02:16.019] Alfred Workflow Todoist[Script Filter] Queuing argument 'ofjkjkf' [12:02:16.159] Alfred Workflow Todoist[Script Filter] Script with argv '(null)' finished [12:02:16.173] Alfred Workflow Todoist[Script Filter] {"items":[{"uid":"693e9af84d3dfcc71e640e005bdc5e2e","title":"CREATE: ofjkj","subtitle":"INBOX","icon":{"path":"icon.png"},"arg":"{\"content\":\"ofjkj\",\"priority\":1}","type":"default","valid":true}]} [12:02:16.489] Alfred Workflow Todoist[Script Filter] Script with argv '(null)' finished [12:02:16.503] Alfred Workflow Todoist[Script Filter] {"items":[{"uid":"693e9af84d3dfcc71e640e005bdc5e2e","title":"CREATE: ofjkjkf","subtitle":"INBOX","icon":{"path":"icon.png"},"arg":"{\"content\":\"ofjkjkf\",\"priority\":1}","type":"default","valid":true}]} [12:02:16.726] Alfred Workflow Todoist[Script Filter] Processing complete [12:02:16.742] Alfred Workflow Todoist[Script Filter] Passing output '{"content":"ofjkjkf","priority":1}' to Run Script [12:02:18.014] Alfred Workflow Todoist[Run Script] Processing complete [12:02:18.031] Alfred Workflow Todoist[Run Script] Passing output 'ALFRED WORKFLOW TODOIST: ✓ Happy days! Task added ' to Debug [12:02:18.032] Alfred Workflow Todoist[Debug] 'ALFRED WORKFLOW TODOIST: ✓ Happy days! Task added ', { node_flags = "" node_path = "/Users/{user}/.nvm/versions/node/v15.5.0/bin:" } Thanks Link to comment
deanishe Posted September 26, 2021 Share Posted September 26, 2021 On 9/24/2021 at 6:11 PM, alanjudson said: This is the error output That's not an error. Link to comment
matthieutricoire Posted September 27, 2021 Share Posted September 27, 2021 Hi, I've got exactly the same message for each character added after the "todo". Link to comment
bpantaloni Posted July 7, 2022 Share Posted July 7, 2022 Hi, I'm new to Alfred and really like it, but I'm running into a the following error when trying to run the Todoist workflow (I have Monterey 12.4 on M1 mabook pro). I've read about that error, it seems terminal-notifier needs to be notarized with Apple. Anything I can do to bypass that error? Link to comment
vitor Posted July 8, 2022 Share Posted July 8, 2022 Welcome @bpantaloni, Since terminal-notifier is just for notifications, deleting it shouldn’t pose a problem. If you instead prefer to mark it as trusted, there are a few options. Link to comment
LukeGB Posted July 29, 2022 Share Posted July 29, 2022 On 9/24/2021 at 12:11 PM, alanjudson said: Hello Martien, I wondered if you might have an into this. I have v5.8.3 and Alfred 4 on: macOS Big Sur For every keyup event I type after `todo` I get an argv '(null)' finished, and alfred sends me a This is the error output: [12:02:16.019] Alfred Workflow Todoist[Script Filter] Queuing argument 'ofjkjkf' [12:02:16.159] Alfred Workflow Todoist[Script Filter] Script with argv '(null)' finished [12:02:16.173] Alfred Workflow Todoist[Script Filter] {"items":[{"uid":"693e9af84d3dfcc71e640e005bdc5e2e","title":"CREATE: ofjkj","subtitle":"INBOX","icon":{"path":"icon.png"},"arg":"{\"content\":\"ofjkj\",\"priority\":1}","type":"default","valid":true}]} [12:02:16.489] Alfred Workflow Todoist[Script Filter] Script with argv '(null)' finished [12:02:16.503] Alfred Workflow Todoist[Script Filter] {"items":[{"uid":"693e9af84d3dfcc71e640e005bdc5e2e","title":"CREATE: ofjkjkf","subtitle":"INBOX","icon":{"path":"icon.png"},"arg":"{\"content\":\"ofjkjkf\",\"priority\":1}","type":"default","valid":true}]} [12:02:16.726] Alfred Workflow Todoist[Script Filter] Processing complete [12:02:16.742] Alfred Workflow Todoist[Script Filter] Passing output '{"content":"ofjkjkf","priority":1}' to Run Script [12:02:18.014] Alfred Workflow Todoist[Run Script] Processing complete [12:02:18.031] Alfred Workflow Todoist[Run Script] Passing output 'ALFRED WORKFLOW TODOIST: ✓ Happy days! Task added ' to Debug [12:02:18.032] Alfred Workflow Todoist[Debug] 'ALFRED WORKFLOW TODOIST: ✓ Happy days! Task added ', { node_flags = "" node_path = "/Users/{user}/.nvm/versions/node/v15.5.0/bin:" } Thanks Looks like there wasn't a solution posted and I'm having this issue. Does anyone know what to do? Link to comment
thorleifh Posted December 15, 2022 Share Posted December 15, 2022 hi, registered here because of an issue with this workflow all of a sudden, a workflow that I have enjoyed thoroughly over the past year; Using the workflow produces.....nothing. The debugging produces this: ALFRED WORKFLOW TODOIST ---------------------------------------- os: macOS 13.0.0 query: {"content":"test","priority":1} node.js: v16.17.1 alfred: unknown workflow: 5.8.3 Stack: HTTPError: Response code 410 (Gone) at EventEmitter.<anonymous> (/Users/thorleifhallen/Library/Mobile Documents/com~apple~CloudDocs/Alfred/Alfred.alfredpreferences/workflows/user.workflow.390916A6-3B38-4BA9-AD5C-B7053AD6068B/alfred-workflow-todoist.js:32607:19) at processTicksAndRejections (node:internal/process/task_queues:96:5) ', {allvars} -- anyone knows what is going on? Link to comment
thorleifh Posted December 15, 2022 Share Posted December 15, 2022 21 minutes ago, thorleifh said: hi, registered here because of an issue with this workflow all of a sudden, a workflow that I have enjoyed thoroughly over the past year; Using the workflow produces.....nothing. The debugging produces this: ALFRED WORKFLOW TODOIST ---------------------------------------- os: macOS 13.0.0 query: {"content":"test","priority":1} node.js: v16.17.1 alfred: unknown workflow: 5.8.3 Stack: HTTPError: Response code 410 (Gone) at EventEmitter.<anonymous> (/Users/thorleifhallen/Library/Mobile Documents/com~apple~CloudDocs/Alfred/Alfred.alfredpreferences/workflows/user.workflow.390916A6-3B38-4BA9-AD5C-B7053AD6068B/alfred-workflow-todoist.js:32607:19) at processTicksAndRejections (node:internal/process/task_queues:96:5) ', {allvars} -- anyone knows what is going on? Never mind - found out. I edited alfred-workflow-todoist.js so that it points to REST API v2 instead, et voila. 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