Naseer 0 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 post
Martien Oranje 8 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 post
Martien Oranje 8 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 post
kmcotton 0 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 post
Luddite 2 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 post
Robis74 0 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 post
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