Jump to content

Yourname

Member
  • Posts

    33
  • Joined

  • Last visited

Everything posted by Yourname

  1. This has got to be the fastest solve ever! Thanks so much @vitor!!
  2. Thanks! Here's the debugger output: [12:09:13.120] Calendar[Script Filter] Queuing argument '' [12:09:13.137] Calendar[Script Filter] Script with argv '(null)' finished [12:09:13.140] ERROR: Calendar[Script Filter] Code 1: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
  3. So for the longest time I've been using Cal by Owen Min. Then just a couple days ago, I got an error about /usr/bin/python which led me down a rabbithole that I might need python3 (not sure why not, because I've had python and python3 for quite some time). Except, I already had python3. Long story short, I then installed a Cal fork by cleobis that works with python3 and my macOS (Monterey). But I installed that, and typing in cal does not nothing. It doesn't even show in the dropdown, but the config option shows (calconfig) which does nothing too other than showing up. Now I notice that hotkey workflows work, but keyword based workflows don't. Some show but don't work, and some show and still work. The only thing I can think of is that I have python and python3 both already installed and I wonder if a variable somewhere isn't set. Would love some help please!
  4. Couldn't find 2 in /local/bin, so ended up trying /usr/bin/python2.7 (the nearest one to what you asked, and I had available) and it worked!!!!!! Thanks soooooo much @deanishe!!!! Thank you so much for writing this and helping me figure out @wrjlewis!!
  5. So, @deanishe and @wrjlewis, looks like @deanishe's suggestion moved us into a new (and shorter) error. I updated the command to: /usr/local/bin/python3.7 notion.py "{query}" I even tried /Library/Frameworks/Python.framework/Versions/3.6/bin/python3 notion.py "{query}" [16:47:43.582] Logging Started... [16:47:45.922] Notion Search[Script Filter] Queuing argument 'y' [16:47:46.038] Notion Search[Script Filter] Script with argv '(null)' finished [16:47:46.043] ERROR: Notion Search[Script Filter] Code 1: Traceback (most recent call last): File "notion.py", line 3, in <module> import httplib, urllib ModuleNotFoundError: No module named 'httplib'
  6. Hi @wrjlewis and @deanishe, sorry just saw this! I haven't made an alias of python because I saw somewhere a few days ago pretty much what @deanishe said (in much more complicated terms haha) I'm on Sierra 10.12.6 and this is my current PATH: MacBook-Pro-5:~ xyz$ echo $PATH /usr/local/opt/openssl@1.1/bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/usr/local/opt/openssl/bin:/usr/local/opt/python/libexec/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/heroku:/usr/local/heroku/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin
  7. Tried everything from there. The error in alfred though seems to reference python 2.7 even though BASH has 3.7 showing. Which is peculiar. But I give up. Notion is coming up with an API soon, so hopefully then it will work Thanks so much for assistng @wrjlewis!
  8. After looking around a little @wrjlewis, I was able to install pip and noticed I have pip3.6 and 3.7, so ran your command with both versions. It seems to have installed things on both versions and exited successfully. Yet, I have the same error I pasted earlier.
  9. sudo: pip3.5: command not found @wrjlewis
  10. Here are the newly updated versions: MacBook-Pro-5:~ xyz$ openssl version -a OpenSSL 1.1.1g 21 Apr 2020 built on: Tue May 19 22:37:37 2020 UTC platform: darwin64-x86_64-cc options: bn(64,64) rc4(16x,int) des(int) idea(int) blowfish(ptr) compiler: clang -fPIC -arch x86_64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAESNI_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -D_REENTRANT -DNDEBUG OPENSSLDIR: "/usr/local/etc/openssl@1.1" ENGINESDIR: "/usr/local/Cellar/openssl@1.1/1.1.1g/lib/engines-1.1" Seeding source: os-specific MacBook-Pro-5:~ xyz$ python -c "import ssl; print(ssl.OPENSSL_VERSION)" OpenSSL 1.1.1g 21 Apr 2020 MacBook-Pro-5:~ xyz$ python --version Python 3.7.7
  11. Thanks @wrjlewis! I upgraded and now it's openssl 1.1.1g 21 apr 2020 And here's the new log of errors; [18:30:47.655] Notion Search[Script Filter] Queuing argument 'task' [18:30:47.867] Notion Search[Script Filter] Script with argv '(null)' finished [18:30:47.872] ERROR: Notion Search[Script Filter] Code 1: Traceback (most recent call last): File "notion.py", line 114, in <module> buildNotionSearchQueryData(alfredQuery), headers) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1053, in request self._send_request(method, url, body, headers) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1093, in _send_request self.endheaders(body) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1049, in endheaders self._send_output(message_body) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 893, in _send_output self.send(msg) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 855, in send self.connect() File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1274, in connect server_hostname=server_hostname) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 352, in wrap_socket _context=self) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 579, in __init__ self.do_handshake() File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 808, in do_handshake self._sslobj.do_handshake() ssl.SSLError: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590)
  12. OpenSSL 0.9.8zh 14 Jan 2016 Thanks @wrjlewis that seems super old lol, so running a brew update. Update: brew didn't seem to update it. So I'll wait for your response.
  13. Yes I did @wrjlewis My cookie starts with __cfduid= but your readme says the cookie starts with notion_browser_id. I tried both ways, also by deleting the __cfduid part so it starts with notion_browser_id and it didn't work. Here's the debug: [07:50:54.665] Notion Search[Script Filter] Queuing argument 'evernote' [07:50:54.886] Notion Search[Script Filter] Script with argv '(null)' finished [07:50:54.897] ERROR: Notion Search[Script Filter] Code 1: Traceback (most recent call last): File "notion.py", line 114, in <module> buildNotionSearchQueryData(alfredQuery), headers) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1053, in request self._send_request(method, url, body, headers) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1093, in _send_request self.endheaders(body) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1049, in endheaders self._send_output(message_body) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 893, in _send_output self.send(msg) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 855, in send self.connect() File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1274, in connect server_hostname=server_hostname) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 352, in wrap_socket _context=self) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 579, in __init__ self.do_handshake() File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 808, in do_handshake self._sslobj.do_handshake() ssl.SSLError: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590)
  14. Thanks for all your help over email Andrew. For others, it looks like my folder structure was abnormal (possibly due to user error) which is why this issue happened. FWIW, this never happened when I upgraded to Alfred 3 either.
  15. Followed all the steps to a tee. But still migration doesn't seem to have some of the workflows, KB shortcuts and now clipboard isn't adding to the "last copied" list. I backed up too, so not sure what the problem is. My first attempt did not seem to restore. I found this by looking at my theme, which didn't carry over to v4. So I went back to redo the migration by going ~/Library folder (per the troubleshooting). Except I saw three folders: Alfred Alfred 3 Alfred 4 But found the files to delete in Alfred folder. Anyway, long story short. I'm left with the backed up .tar.gz file and I am not quite sure what to do next to bring Alfred 4 up to par with how I had Alfred 3 setup. Incredibly frustrated.
  16. Updated, did everything but there's no search happening @wrjlewis
  17. Just an FYI to others, this seems to work on Alfred v4+
  18. The biggest frustration I had was the lack of a global quick add shortcut for Notion. So after searching around, I found this article by Tom Barav, with an instructional video created by Tal Cherniak. These are the steps they mention that need to be done BEFORE you download and install the workflow attached. These are not my steps. These steps are thanks to Tal Cherniak, made available by Tom Barav. First install the Google Chrome Notion clipper Click on the clipper icon on Google chrome when it installs Right click it and click inspect Go to console and type window.location If it doesn't show up, you're going to have to click on the eye for "Live expression" (as of Chrome 81.0) and retype it Copy the URL you see from it, and enter it in a new Chrome tab Then go to Chrome sidebar options, More tools and click "Create shortcut" It will open, type in a name and check "Open as window". Name doesn't matter because you'll simply use a keyboard shortcut. I named mine 'nt' As soon as you confirm that, a Finder window will open and show you that nt.app was saved in one of Chrome's folders. My "workflow" is just a keyboard shortcut. When you're done importing it, change it to whatever you prefer. This workflow does the following: Creates a shortcut Control + Option + Command + N Assumes your Chrome App is named nt PS: This is super rudimentary, so an actual notion guru can feel free to step in if there needs to be a fix or enhancement. Download it from my Google Drive here.
  19. Thanks @deanishe! Python makes sense for parsing - didn't think of that at all. So when I realized there needs to be a parser, I realized I have Pushbullet on my Google Chrome, and on my phone. I ended up sending the newly created Asana task ID to Pushbullet instead, and now I get a clickable notification. Now I can create a task, and click into it if I need to assign the task to a project, add context, etc.
  20. Actually, sorry ... should have clarified @deanishe, but that's not a webpage. That's actually the return of zap. Pretty much the first screenshot posted by @paulminors above where the notification showed {"status: success", etc. That means the zap was sending the success message, along with ID back into the notification. It's just a matter of capturing it and turning it into a URL so the notification becomes an href. Hope this clarifies.. would love to see if we can do that, because this is 100% API.
  21. Sorry to open this old thread up but @deanishe, I am trying to convert the post notification into a clickable notification so upon clicking, it would go to the newly created Asana task. But I've found that it can't be done as people have requested it as a feature. So I resorted to using "Open URL" as output. All I have to do is put this as static: https://app.asana.com/0/45482574283XXX/{taskID} and take the taskid returned by the successful zapier run. Except I can't figure out how to get that return and put it in there.. using just the variable from Zapier doesn't work either.
  22. Here's a thread on Google Drive's forum that can use some voices.
  23. Done. Been doing that for a year now, haven't heard back ever...
×
×
  • Create New...