Jump to content

Yourname

Member
  • Posts

    33
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Yourname's Achievements

Member

Member (4/5)

2

Reputation

  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.
×
×
  • Create New...