Jump to content

Ben428

Member
  • Posts

    13
  • Joined

  • Last visited

Ben428's Achievements

Helping Hand

Helping Hand (3/5)

1

Reputation

  1. Hi, I was excited to find this workflow but I can't get it to work. I installed Python 3 from here: https://www.python.org/downloads/ and added my Todoist token. Below is what I see in the debugger. Thanks for any help you can provide. [06:37:20.899] AlfreDo[Script Filter] Queuing argument 'T' [06:37:21.000] AlfreDo[Script Filter] Queuing argument 'Te' [06:37:21.088] AlfreDo[Script Filter] Script with argv 'T' finished [06:37:21.089] ERROR: AlfreDo[Script Filter] Code 1: Traceback (most recent call last): File "/Users/work/Dropbox (Maestral)/Alfred/Alfred.alfredpreferences/workflows/user.workflow.139248B8-5266-4B56-94D2-46591E199731/alfredo_ops.py", line 1147, in <module> main () File "/Users/work/Dropbox (Maestral)/Alfred/Alfred.alfredpreferences/workflows/user.workflow.139248B8-5266-4B56-94D2-46591E199731/alfredo_ops.py", line 1143, in main parseNewTask (MY_INPUT) File "/Users/work/Dropbox (Maestral)/Alfred/Alfred.alfredpreferences/workflows/user.workflow.139248B8-5266-4B56-94D2-46591E199731/alfredo_ops.py", line 394, in parseNewTask allTasks, mySections, myProjects, myStats, myUser = readTodoistData() ^^^^^^^^^^^^^^^^^ File "/Users/work/Dropbox (Maestral)/Alfred/Alfred.alfredpreferences/workflows/user.workflow.139248B8-5266-4B56-94D2-46591E199731/alfredo_ops.py", line 279, in readTodoistData with open(MY_DATABASE,'r') as myFile: ^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/Users/work/Library/Application Support/Alfred/Workflow Data/giovanni-alfreDo/allData.json' [06:37:21.192] AlfreDo[Script Filter] Queuing argument 'Tes' [06:37:21.231] AlfreDo[Script Filter] Script with argv 'Te' finished [06:37:21.231] ERROR: AlfreDo[Script Filter] Code 1: Traceback (most recent call last): File "/Users/work/Dropbox (Maestral)/Alfred/Alfred.alfredpreferences/workflows/user.workflow.139248B8-5266-4B56-94D2-46591E199731/alfredo_ops.py", line 1147, in <module> main () File "/Users/work/Dropbox (Maestral)/Alfred/Alfred.alfredpreferences/workflows/user.workflow.139248B8-5266-4B56-94D2-46591E199731/alfredo_ops.py", line 1143, in main parseNewTask (MY_INPUT) File "/Users/work/Dropbox (Maestral)/Alfred/Alfred.alfredpreferences/workflows/user.workflow.139248B8-5266-4B56-94D2-46591E199731/alfredo_ops.py", line 394, in parseNewTask allTasks, mySections, myProjects, myStats, myUser = readTodoistData() ^^^^^^^^^^^^^^^^^ File "/Users/work/Dropbox (Maestral)/Alfred/Alfred.alfredpreferences/workflows/user.workflow.139248B8-5266-4B56-94D2-46591E199731/alfredo_ops.py", line 279, in readTodoistData with open(MY_DATABASE,'r') as myFile: ^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/Users/work/Library/Application Support/Alfred/Workflow Data/giovanni-alfreDo/allData.json' [06:37:21.368] AlfreDo[Script Filter] Script with argv 'Tes' finished [06:37:21.369] ERROR: AlfreDo[Script Filter] Code 1: Traceback (most recent call last): File "/Users/work/Dropbox (Maestral)/Alfred/Alfred.alfredpreferences/workflows/user.workflow.139248B8-5266-4B56-94D2-46591E199731/alfredo_ops.py", line 1147, in <module> main () File "/Users/work/Dropbox (Maestral)/Alfred/Alfred.alfredpreferences/workflows/user.workflow.139248B8-5266-4B56-94D2-46591E199731/alfredo_ops.py", line 1143, in main parseNewTask (MY_INPUT) File "/Users/work/Dropbox (Maestral)/Alfred/Alfred.alfredpreferences/workflows/user.workflow.139248B8-5266-4B56-94D2-46591E199731/alfredo_ops.py", line 394, in parseNewTask allTasks, mySections, myProjects, myStats, myUser = readTodoistData() ^^^^^^^^^^^^^^^^^ File "/Users/work/Dropbox (Maestral)/Alfred/Alfred.alfredpreferences/workflows/user.workflow.139248B8-5266-4B56-94D2-46591E199731/alfredo_ops.py", line 279, in readTodoistData with open(MY_DATABASE,'r') as myFile: ^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/Users/work/Library/Application Support/Alfred/Workflow Data/giovanni-alfreDo/allData.json' [06:37:21.389] AlfreDo[Script Filter] Queuing argument 'Test' [06:37:21.538] AlfreDo[Script Filter] Script with argv 'Test' finished [06:37:21.538] ERROR: AlfreDo[Script Filter] Code 1: Traceback (most recent call last): File "/Users/work/Dropbox (Maestral)/Alfred/Alfred.alfredpreferences/workflows/user.workflow.139248B8-5266-4B56-94D2-46591E199731/alfredo_ops.py", line 1147, in <module> main () File "/Users/work/Dropbox (Maestral)/Alfred/Alfred.alfredpreferences/workflows/user.workflow.139248B8-5266-4B56-94D2-46591E199731/alfredo_ops.py", line 1143, in main parseNewTask (MY_INPUT) File "/Users/work/Dropbox (Maestral)/Alfred/Alfred.alfredpreferences/workflows/user.workflow.139248B8-5266-4B56-94D2-46591E199731/alfredo_ops.py", line 394, in parseNewTask allTasks, mySections, myProjects, myStats, myUser = readTodoistData() ^^^^^^^^^^^^^^^^^ File "/Users/work/Dropbox (Maestral)/Alfred/Alfred.alfredpreferences/workflows/user.workflow.139248B8-5266-4B56-94D2-46591E199731/alfredo_ops.py", line 279, in readTodoistData with open(MY_DATABASE,'r') as myFile: ^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/Users/work/Library/Application Support/Alfred/Workflow Data/giovanni-alfreDo/allData.json'
  2. Thank you! This is just what I have been hoping for since I started using Todoist. It is working perfectly for me.
  3. @dnewberNot sure what changed but I just tried logging on my Monterey machine and it worked! I am running MacOS 12.1 and the workflow is 0.1.2.
  4. Have I gotten it to work in Monterey? Nope. Never solved it.
  5. @jdb Does this workflow work in MacOS 12 Monterey? When I try to log in, it seems to be working and then I get this message in my browser. I think that deleting the keychain entry fixed this in the past but it is not doing the trick. Access to 127.0.0.1 was denied You don't have authorization to view this page. HTTP ERROR 403
  6. @HariI'm not sure if that's the same error message that I've seen but I've resolved some authentication issues by deleting any items under com.johandebeurs.alfred.mstodo in Keychain Access. Then I am prompted to log in again and all is cool.
  7. Thanks @jdb. I now see the initial workflow options but still can't log in. As discussed on GitHub, where you hypothesized that it is an Alfred 4 problem.
  8. Here is the error message in the debugging panel. [06:39:54.052] Logging Started... [06:39:56.942] Microsoft ToDo[Script Filter] Queuing argument '' [06:39:57.146] Microsoft ToDo[Script Filter] Script with argv '(null)' finished [06:39:57.148] ERROR: Microsoft ToDo[Script Filter] Code 1: Traceback (most recent call last): File "alfred-mstodo-workflow.py", line 8, in <module> fileConfig('/Users/johan/Documents/Programming/Alfred workflows/alfred-mstodo-workflow/src/logging_config.ini') File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/config.py", line 77, in fileConfig formatters = _create_formatters(cp) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/config.py", line 113, in _create_formatters flist = cp.get("formatters", "keys") File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ConfigParser.py", line 607, in get raise NoSectionError(section) ConfigParser.NoSectionError: No section: 'formatters'
  9. Thanks so much for doing this! Alfred integration has been one of the biggest things I've missed about Wunderlist since switching to Microsoft ToDo. Unfortunately, I can't seem to get it to work. I downloaded the workflow and double-clicked on it and it appears to install properly, but when I type "td" in the Alfred box, all I get is the application—I don't see the options visible in your screenshots. I tried disabling and reenabling and deleting and reinstalling, as well as quitting Alfred altogether. What am I missing? Thanks for any help you can provide. Ben
  10. Thank you! I have wanted something like this for years to move 2FA codes from Messages into my VPN app. Works perfectly and I can do every step without taking my hands off the keyboard. LOVE IT. I don't know if this is possible or if anyone wants it besides me, but I have been using SMS to Google Voice for some 2FA notifications (since SMS to a SIM card is not really secure. etc.) and it would be even more awesome if there was a variant that could extract a 2FA code from Google Voice running in a browser window.
  11. I was looking for a way to easily lock my screen at work and was pleased to discover that there's a command for that in Alfred. However, I've recently realized that when I lock the screen in this manner, the screen doesn't sleep as set in Energy Saver preferences.
×
×
  • Create New...