Thank you so far! That overview looks awesome and I do see everything! 🥳
Yes, I now see all sections which is awesome. I added a task in my inbox, that went fine. But now when I want to add it into my section, like this:
#Private 🏡/Research 🔎 pizza eten
My "private" project, has "Research" as section and "eating pizza" as a task.
I get the error:
[21:07:56.782] AlfreDo[Script Filter] Passing output '🏡/Research 🔎 pizza eten #Private 🏡/Research 🔎 ' to Run Script
[21:07:57.027] ERROR: AlfreDo[Run Script] Traceback (most recent call last):
File "/Users/wdijkerman/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.2C7310D3-44BF-479B-9EC1-FBD823EF246B/alfredo_ops.py", line 981, in <module>
main ()
File "/Users/wdijkerman/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.2C7310D3-44BF-479B-9EC1-FBD823EF246B/alfredo_ops.py", line 973, in main
createNewTask (taskText,taskLabels,taskProjectID, taskSectionID, myDueDate)
File "/Users/wdijkerman/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.2C7310D3-44BF-479B-9EC1-FBD823EF246B/alfredo_ops.py", line 293, in createNewTask
taskLabels = taskLabels.split(',')
AttributeError: 'NoneType' object has no attribute 'split'
I did a test, because I had a lot of "split" with Python myself 😉 is that I now created a project and section without any icons. There I was able to create the task in my new section without any problems:
[21:12:30.478] STDERR: AlfreDo[Run Script] b'{"full_sync":true,"sync_status":{"231797cb-9aac-4202-9d6d-pizzae0efd":"ok"},"sync_token":"SomeTokenwhichmihghtbesecret","temp_id_mapping":{"f428d44d-2cb8-4e5f-a143-f5df782b8ea5":"6950082140"}}'
Then the 2nd task, was creating a task in this new project/section, with a due date:
[21:17:07.504] AlfreDo[Script Filter] Passing output '#Work/Testing due:2023-06-09T10:00 eating pizza' to Run Script
[21:17:08.603] STDERR: AlfreDo[Run Script] b'{"full_sync":true,"sync_status":{"e6d5f6d7-3039-484e-b7a8-0c396c86206a":"ok"},"sync_token":"SomeTokenwhichmihghtbesecret","temp_id_mapping":{"2ed4a983-9890-4ebc-a72d-7eba2bd3ae0f":"6950093094"}}'
And that works as well! Nice! Only noticed the STDERR instead of an OK, but it doesn't provide an error and it worked, so - in a way - i don't care 😃 (probably something very minor...)
The pleasure is all mine!