Jump to content

Weaselboy

Member
  • Content Count

    58
  • Joined

  • Last visited

  • Days Won

    4

Posts posted by Weaselboy

  1. Ever since updating to Sierra 10.12.4 when I use this extension it launches two Python processes in Activity Monitor that peg CPU usage at 99% and they just hang there. Eventually the MacBook gets hot and the fans race until I quit those two processes in Activity Monitor.

  2. Great to see you added tag support!!

     

    I tried installing, but I can’t seem to get tags to filter. From your notes on GitHub you mentioned using “#" to indicate a tag. This seems to do nothing for me. Could be user error?

     

    Is the Mac Pocket required? There was an upgrade today to the Mac app, and I am not sure if that broke something.

     

    It seems to work for me by just typing in the tag. That shows only bookmarks with that tag.

  3.  

    Unfortunately, Pocket's API documentation hasn't been touched since November 7, 2012.

    But I've changed the sorting once more.

     

    You should be able to update the workflow by typing in the following command:

    pocket workflow:update

     

    That did it. Now matches the web site sort perfectly.

     

    Thanks for the update.

  4.  

     

    Just check if your sorting matches the one you can see on Pocket's website: http://getpocket.com/

    Thanks!

     

    I have the web site set to sort by newest first, and just bringing up the workflow with no search entered sorts by those numbers, but that does not at all match the web site (either newest or oldest).  For example that #107 entry is about halfway down the web page when sorted by newest.

     

    e6odhKR.png

  5. The sorting problem should be fixed now. Can someone confirm this?

     

    I'm not sure what the sorting problem was. If you explain, I would be glad to check for you.

     

    I just updated to the new version and now see these numbers next to each entry that were not there with the previous version?

     

    s8BEw55.png

  6. When pressing command-c you are copying the item's argument which is passed to the pocket_launcher.py.

    The weird number is the item's ID.

     

    I'm not sure what you are asking? I just bring up the workflow then in this example type L O C which highlights the URL I want... then command-c to copy the link. That gets me the link with the numbers appended in the clipboard.

     

    (Sorry if I am being dense)

     

    q3Mnj26.png

  7. I have a tweak request Fabio.

     

    I often use your extension with Pocket to copy a URL for later posting in news forums. I have figured out I can copy by hitting command-c, but for some reason that appends a string of numbers after the link.

    http://support.apple.com/kb/HT1379 137984712

    Here is an example of an Apple support link and note the 137984712 appended when I copy the link. This happens with every URL I try.

     

    Is there a KB combo I am  missing to copy a link maybe?

  8. Hey Weaselboy, thanks for the debug info. That helped a lot!

    I've updated the workflow and improved the authentication process.

     

    Could you give it another try? And could you open your keychain and check if there is an entry 'com.fniephaus.pocket'.

     

    Thanks!

     

    That fixed it!   :)

     

    I deleted the Keychain entry and installed the updated workflow and it works perfectly. Nice work on this and thanks.

  9. Ed3KO9p.png

     

    Fabio-- I'm getting this error after installing your workflow and the first attempt at running. The debug info from Alfred is below. I just edited out my username. I have a valid Pocket account and can login to it with no problem in Safari. Any suggestions?

     

    Thanks

    Starting debug for 'Pocket for Alfred'
    
    [ERROR: alfred.workflow.input.scriptfilter] Code 1: 08:53:53 workflow.py:967 DEBUG    get_password : com.fniephaus.pocket:pocket_access_token
    08:53:53 workflow.py:967 DEBUG    get_password : com.fniephaus.pocket:pocket_access_token
    08:53:53 workflow.py:967 DEBUG    get_password : com.fniephaus.pocket:pocket_access_token
    08:53:53 connectionpool.py:635 INFO     Starting new HTTPS connection (1): getpocket.com
    08:53:53 connectionpool.py:344 DEBUG    "POST /v3/get HTTP/1.1" 401 16
    08:53:53 workflow.py:843 ERROR    Problem authenticating the user. A valid access token is required to access the requested API endpoint.
    Traceback (most recent call last):
      File "/Users/edit/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.9AFC12F4-2304-40BB-9DBC-427C3585C487/workflow/workflow.py", line 841, in run
        func(self)
      File "pocket_alfred.py", line 20, in main
        'pocket_list', data_func=get_list, max_age=1)
      File "/Users/edit/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.9AFC12F4-2304-40BB-9DBC-427C3585C487/workflow/workflow.py", line 602, in cached_data
        data = data_func()
      File "pocket_alfred.py", line 42, in get_list
        get = pocket_instance.get()
      File "/Users/edit/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.9AFC12F4-2304-40BB-9DBC-427C3585C487/pocket.py", line 57, in wrapped
        return self.make_request(url, payload)
      File "/Users/edit/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.9AFC12F4-2304-40BB-9DBC-427C3585C487/pocket.py", line 154, in make_request
        return cls._make_request(url, payload, headers)
      File "/Users/edit/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.9AFC12F4-2304-40BB-9DBC-427C3585C487/pocket.py", line 147, in _make_request
        '%s. %s' % (error_msg, extra_info)
    AuthException: Problem authenticating the user. A valid access token is required to access the requested API endpoint.
    
  10. Megan-- I have had the same thing happen a time or two with different apps. Even a Spotight reindex did not fix it for me either. I ended up deleting the app, then reinstalling it and for whatever reason Spotlight picked it up after that. Last time was with the cookbook app Paprika. I have no idea why this happens, but a delete and reinstall fixed it.

×
×
  • Create New...