Jump to content

lmachado

Member
  • Posts

    26
  • Joined

  • Last visited

Everything posted by lmachado

  1. lmachado

    Kernel Panics?

    also having this issue. was using "Alfred Dark (Alfred Default Theme)". duplicated it and turned "window blur" down to 0...so far so good...will report back if issue comes back.
  2. searching note titles has become painfully slow, to the point where it's faster to just search directly in Evernote itself...are there any steps I can take to try to improve this? thanks!
  3. Upon playing with the workflow & Todoist further (I'm new to Todoist), it looks like it works just fine for me except: I can't get the workflow to properly set the priority. Everything else - project, label, due date - works, but the priority setting will not go through properly. The command completes successfully, and the task is added along with the right project, label, and due date, but it will not have any priority set. Even when it works, It spits out an error whenever I add a task, even if I add it with no special options (ie. running the command: 'todo create test task in inbox' still spits out an error). Here's what I get from the Alfred debugger: [2017-05-12 13:01:05][ERROR: action.script] % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 516 100 239 100 277 359 417 --:--:-- --:--:-- --:--:-- 417 100 516 100 239 100 277 359 417 --:--:-- --:--:-- --:--:-- 416 Any ideas what this means?
  4. How did you fix the errors? I seem to be getting the same ones...I don't really use the priority/label fields so that's not a big deal to me, but I do need to be able to set the project appropriately...
  5. I'm also using RescueTime and would be interested in a workflow for triggering FocusTime if anyone has figured it out...
  6. Thanks. I did that, and turns out many VPN just block SMTP connections for the exact reason you mentioned - spam. All I had to do was contact my VPN provider asking them to whitelist my mail server. It's working again!
  7. Thanks. Is it possible for me to debug this further? The error I'm getting back isn't very useful...
  8. I recently started using a VPN (privateinternetaccess.com), and it appears to have broken this workflow. Whenever I try to use it while connected to VPN, I get the above error...If I disconnect from VPN, the workflow works fine. Any idea why, and is there anything I can do to make it work whilst connected to VPN? Thanks!
  9. So this morning this workflow/script stopped working...In the time it took me to write this post (about an hour as I had to deal with some work stuff in between) it suddenly started working again...So I figured I'd make the post anyway as I'm curious what may have caused this... So, when running the workflow I was getting this error: [ERROR: alfred.workflow.action.script] Unable to send email message: [Errno 60] Operation timed out I tried running the script in terminal and I just get the same exact error: Unable to send email message: [Errno 60] Operation timed out My next thought was to login to the email I use to send these messages to make sure the username/password was still correct (I didn't change it, so it should be, but you know...testing...) - it's still the same. So then my last thought was to login to my web host and make sure the mail server settings didn't get changed by my web host - nope, they are still the same... So, it looks like nothing changed...It just suddenly stopped working, then an hour or so later it was working again...Any ideas why this happened? Thanks!
  10. Geez, I feel like an idiot...they are all in spam...I didn't even think of checking because I've been using this workflow for over a year and never had this problem. I just looked, and only the notes I started sending today are in there - none before that. And I tried sending some notes just now from the computers I've been using this workflow on and they also went to spam. So odd that this randomly started happening just as I set up this workflow on a new machine... Sorry for the trouble and thanks for your help!
  11. $ ls -l /usr/local/bin/python3 lrwxr-xr-x 1 root wheel 69 Sep 17 11:19 /usr/local/bin/python3 -> ../../../Library/Frameworks/Python.framework/Versions/3.5/bin/python3 $ which python3 /Library/Frameworks/Python.framework/Versions/3.5/bin/python3 when i run the script in the terminal, it looks like it runs successfully...gives me the "Mail sent: <message>" response: $ /Library/Scripts/quickmessage.py -r emailaddy@email.com -s testing1235subaaaaaj -m testing1235msgasdfsdf Mail sent: testing1235msgasdfsdf
  12. Yeah, I figured this wasn't enough info, but I wasn't sure what else to provide...Figured an expert could help guide me Yes, python is found in /usr/local/bin/python3: "$ sudo find / -name python3" in terminal results in: find: /dev/fd/3: Not a directory find: /dev/fd/4: Not a directory /Library/Frameworks/Python.framework/Versions/3.5/bin/python3 /usr/local/bin/python3 I installed Python 3.5 from python.org Thanks!
  13. So I had been using this just fine for quite a while now, and yesterday I got a new Macbook Pro so I installed python, copied the script over, confirmed permissions were properly set, etc...But it's not working for me on the new machine...Alfred isn't spitting any errors. Also, I get the notification saying that the mail was sent. However, I never receive an email... I went into webmail for the sending account, figuring that I'd check there to see if the messages were in the sent mail folder, but the sent mail folder is completely empty. This tell me nothing, since I guess none of the notes were ever showing up in the sent folder. Any ideas what might be going wrong here? Thanks!
  14. This was working fine for me for several months, and suddenly it's not working anymore. I type "s" then "c" and immediately I get the following error: https://www.dropbox.com/s/c7s37juwe58c4ms/Screenshot%202014-10-30%2009.49.42.png?dl=0 Alfred workflow debug log doesn't show anything at all...Any ideas?
  15. Thanks for the blog post dhjdhj! I've already used it a ton to email myself quick notes! If you ever make improvements, it would be great if you could post it on the Alfred Forum...Thanks again!
  16. Dfay - Once I followed your instructions and set the proper python directory on line 1 it worked! Thanks!
  17. Thanks so much for your reply dfay! I completely agree that Alfred is not a great vehicle for email messages...I'm creating this workflow for quickly emailing short notes to myself, similar to this iOS app I use: https://itunes.apple.com/us/app/captio-email-yourself-1-tap/id370899391?mt=8 - ie. "note remember to pick up milk" would send an email to myself with "remember to pick up milk" in both the subject and message body. I believe I know how to modify the workflow to make that work... I also don't like that the script requires me to hard-code my email password in plain text...But since I'm just using this to send notes to myself, that's ok...I'll just create an email specifically for this, so the security isn't a concern... Thanks again for your help! I'll make these changes now and report back with the results
  18. First time trying to set up my own workflow...I found someone's blog post about using Alfred to send quick email messages: http://deskew.com/blog/?p=179 I followed all the instructions, but I'm getting the following error message when I test it: [ERROR: alfred.workflow.action.script] Code 126: /bin/bash: /Users/lmachado1/Dropbox/Alfred/extensions/scripts/quickmessage.py: Permission denied How do I fix this error? For your reference, the python script code is below. Thanks in advance! #!/usr/bin/env python3 #Edit these for your own server smptServer = 'something.something.com' sender = 'Something@something.com' username = "Something@something.com" password = "somepassword" import sys import argparse from smtplib import SMTP_SSL as SMTP # this invokes the secure SMTP protocol (port 465, uses SSL) #from smtplib import SMTP # use this for standard SMTP protocol (port 25, no encryption) from email.mime.text import MIMEText parser = argparse.ArgumentParser(usage = "echo <content> | quickmessage -s <subject> -r <recipient>" ) parser.add_argument("-r", "--recipient", required = True, help = "Email address of person to whom you want to send the message") parser.add_argument("-s", "--subject", required = True, help = "Subject line of the message") parser.add_argument("-m", "--message", required = True, help = "The contents of the message you want to send") args = parser.parse_args() subject = args.subject recipient = args.recipient #Read the body of the message from stdin #body = "" #f = sys.stdin #for line in f: # body = body + "\n" + line body = args.message try: theMessage = MIMEText(body, "plain") theMessage['Subject'] = subject theMessage['From'] = sender # some SMTP servers will do this automatically, not all theConnection = SMTP(smptServer) theConnection.set_debuglevel(False) theConnection.login(username, password) try: theConnection.sendmail(sender, recipient, theMessage.as_string()) print ("Mail sent: " + body) #Show this in notification center if you want finally: theConnection.close() except Exception as e: print ( "Unable to send email message: " + str(e) ) sys.exit( "Unable to send email message: " + str(e) )
  19. thanks for the workflow! downloaded it today from both packal and github and i'm getting the following error whether I pass an argument or not: [ERROR: alfred.workflow.action.script] Code 0: getPassword.rb:11:in `rand': can't convert Range into Integer (TypeError) from getPassword.rb:11 nothing makes it to the clipboard. any ideas? thanks!
  20. i thought so, but alfred won't let me assign the same hotkey (ie F8) twice...how do i get around that? also, when i hook up "mute" to the applescript node and trigger it, the notification saying "The volume has been muted" pops up, but nothing else happens - my computer's volume remains unmuted...any idea why? Thanks again!
  21. that worked! thanks so much! now i'm trying to figure out how to use that workflow to bind mute/unmute to F8...looking through the script, it looks like mute and unmute are done using two separate arguments...so how can I set up a single hotkey to do both?
  22. i'm using the workflow found in the final post in this thread (post by BigHandsome) - I've embedded his post below. I've set F10 as my hotkey for "volume up": screenshot #1 of my workflow setup: https://www.dropbox.com/s/2h6py8wpzsh7q0g/Screenshot%202014-06-25%2016.16.06.png screenshot #2 of my workflow setup: https://www.dropbox.com/s/jyguzm7d2z4g4gl/Screenshot%202014-06-25%2016.16.12.png full thread: http://www.alfredforum.com/topic/1968-volume-adjust-workflow/
×
×
  • Create New...