Jump to content

edbro

Member
  • Posts

    31
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by edbro

  1. [16:25:31.991] Logging Started...

    [16:25:39.631] alfred almanac[Script Filter] Queuing argument '(null)'

    [16:25:40.461] alfred almanac[Script Filter] Script with argv '(null)' finished

    [16:25:40.465] ERROR: alfred almanac[Script Filter] Code 1: Traceback (most recent call last):

      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 1348, in do_open

        h.request(req.get_method(), req.selector, req.data, headers,

      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1282, in request

        self._send_request(method, url, body, headers, encode_chunked)

      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1328, in _send_request

        self.endheaders(body, encode_chunked=encode_chunked)

      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1277, in endheaders

        self._send_output(message_body, encode_chunked=encode_chunked)

      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1037, in _send_output

        self.send(msg)

      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 975, in send

        self.connect()

      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1454, in connect

        self.sock = self._context.wrap_socket(self.sock,

      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/ssl.py", line 512, in wrap_socket

        return self.sslsocket_class._create(

      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/ssl.py", line 1070, in _create

        self.do_handshake()

      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/ssl.py", line 1341, in do_handshake

        self._sslobj.do_handshake()

    ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)

     

    During handling of the above exception, another exception occurred:

     

    Traceback (most recent call last):

      File "/Users/eds/Library/CloudStorage/OneDrive-Personal/Alfred Preferences/Alfred.alfredpreferences/workflows/user.workflow.2F82C213-7F09-47F3-AC73-F785D9A2F293/almanac.py", line 129, in <module>

        myOutput,myLocalTime= get_weather(loc)

      File "/Users/eds/Library/CloudStorage/OneDrive-Personal/Alfred Preferences/Alfred.alfredpreferences/workflows/user.workflow.2F82C213-7F09-47F3-AC73-F785D9A2F293/almanac.py", line 42, in get_weather

        with urllib.request.urlopen(myURL) as response:

      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 216, in urlopen

        return opener.open(url, data, timeout)

      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 525, in open

        response = meth(req, response)

      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 634, in http_response

        response = self.parent.error(

      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 557, in error

        result = self._call_chain(*args)

      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 496, in _call_chain

        result = func(*args)

      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 749, in http_error_302

        return self.parent.open(new, timeout=req.timeout)

      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 519, in open

        response = self._open(req, data)

      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 536, in _open

        result = self._call_chain(self.handle_open, protocol, protocol +

      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 496, in _call_chain

        result = func(*args)

      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 1391, in https_open

        return self.do_open(http.client.HTTPSConnection, req,

      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 1351, in do_open

        raise URLError(err)

    urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)>

    [16:25:31.991] Logging Started...
    [16:25:39.631] alfred almanac[Script Filter] Queuing argument '(null)'
    [16:25:40.461] alfred almanac[Script Filter] Script with argv '(null)' finished
    [16:25:40.465] ERROR: alfred almanac[Script Filter] Code 1: Traceback (most recent call last):
      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 1348, in do_open
        h.request(req.get_method(), req.selector, req.data, headers,
      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1282, in request
        self._send_request(method, url, body, headers, encode_chunked)
      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1328, in _send_request
        self.endheaders(body, encode_chunked=encode_chunked)
      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1277, in endheaders
        self._send_output(message_body, encode_chunked=encode_chunked)
      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1037, in _send_output
        self.send(msg)
      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 975, in send
        self.connect()
      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1454, in connect
        self.sock = self._context.wrap_socket(self.sock,
      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/ssl.py", line 512, in wrap_socket
        return self.sslsocket_class._create(
      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/ssl.py", line 1070, in _create
        self.do_handshake()
      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/ssl.py", line 1341, in do_handshake
        self._sslobj.do_handshake()
    ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/Users/eds/Library/CloudStorage/OneDrive-Personal/Alfred Preferences/Alfred.alfredpreferences/workflows/user.workflow.2F82C213-7F09-47F3-AC73-F785D9A2F293/almanac.py", line 129, in <module>
        myOutput,myLocalTime= get_weather(loc)
      File "/Users/eds/Library/CloudStorage/OneDrive-Personal/Alfred Preferences/Alfred.alfredpreferences/workflows/user.workflow.2F82C213-7F09-47F3-AC73-F785D9A2F293/almanac.py", line 42, in get_weather
        with urllib.request.urlopen(myURL) as response: 
      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 216, in urlopen
        return opener.open(url, data, timeout)
      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 525, in open
        response = meth(req, response)
      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 634, in http_response
        response = self.parent.error(
      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 557, in error
        result = self._call_chain(*args)
      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 496, in _call_chain
        result = func(*args)
      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 749, in http_error_302
        return self.parent.open(new, timeout=req.timeout)
      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 519, in open
        response = self._open(req, data)
      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 536, in _open
        result = self._call_chain(self.handle_open, protocol, protocol +
      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 496, in _call_chain
        result = func(*args)
      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 1391, in https_open
        return self.do_open(http.client.HTTPSConnection, req,
      File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 1351, in do_open
        raise URLError(err)
    urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)>

     

  2. I sometimes get the following error: ( btw, I renamed the keyword)

    1402714041_ScreenShot2020-05-10at9_45_10AM.jpg.fcae4f85db74cff48d3ce8fb88ebfac6.jpg

     

    [09:46:59.488] JustWatch - Alfred[Script Filter] Queuing argument 'unbel'
    [09:46:59.955] JustWatch - Alfred[Script Filter] Queuing argument 'unbeli'
    [09:47:00.774] JustWatch - Alfred[Script Filter] Script with argv '(null)' finished
    [09:47:00.778] ERROR: JustWatch - Alfred[Script Filter] Code 1: 09:47:00 workflow.py:1695 DEBUG    loading cached data: /Users/eds/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.vwap.justwatch/__workflow_latest_version.cpickle
    .
    09:47:00 workflow.py:2061 DEBUG    ---------- JustWatch - Alfred (1.0.4) ----------
    09:47:00 workflow.py:1468 DEBUG    reading settings from /Users/eds/Library/Application Support/Alfred/Workflow Data/com.vwap.justwatch/settings.json
    09:47:00 workflow.py:2343 DEBUG    update check not due
    09:47:00 connectionpool.py:941 DEBUG    Starting new HTTPS connection (1): apis.justwatch.com:443
    09:47:00 connectionpool.py:442 DEBUG    https://apis.justwatch.com:443 "GET /content/locales/state HTTP/1.1" 200 None
    09:47:00 connectionpool.py:442 DEBUG    https://apis.justwatch.com:443 "GET /content/providers/locale/en_US HTTP/1.1" 200 None
    09:47:00 connectionpool.py:442 DEBUG    https://apis.justwatch.com:443 "POST /content/titles/en_US/popular HTTP/1.1" 200 None
    09:47:00 workflow.py:2080 ERROR    'original_release_year'
    Traceback (most recent call last):
      File "/Users/eds/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.52877B56-0137-4595-B8B0-0478E05268F4/workflow/workflow.py", line 2073, in run
        func(self)
      File "main.py", line 127, in main
        media_items = MediaItems(just_watch, sys.argv[len(sys.argv) - 1], providers).get_alfred_json_list()
      File "/Users/eds/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.52877B56-0137-4595-B8B0-0478E05268F4/media_items.py", line 14, in __init__
        media_item = MediaItem(media_item, providers)
      File "/Users/eds/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.52877B56-0137-4595-B8B0-0478E05268F4/media_item.py", line 22, in __init__
        self.parse(media_item_data)
      File "/Users/eds/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.52877B56-0137-4595-B8B0-0478E05268F4/media_item.py", line 29, in parse
        self.original_release_year = media_item['original_release_year']
    KeyError: 'original_release_year'
    09:47:00 workflow.py:2103 DEBUG    ---------- finished in 0.651s ----------
    [09:47:00.783] JustWatch - Alfred[Script Filter] {"items": [{"valid": false, "subtitle": "'original_release_year'", "icon": {"path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns"}, "title": "Error in workflow 'JustWatch - Alfred'"}]}
    [09:47:01.079] JustWatch - Alfred[Script Filter] Queuing argument 'unbelieva'
    [09:47:01.676] JustWatch - Alfred[Script Filter] Queuing argument 'unbelievab'
    [09:47:02.468] JustWatch - Alfred[Script Filter] Script with argv '(null)' finished
    [09:47:02.484] ERROR: JustWatch - Alfred[Script Filter] Code 1: 09:47:01 workflow.py:1695 DEBUG    loading cached data: /Users/eds/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.vwap.justwatch/__workflow_latest_version.cpickle
    .
    09:47:01 workflow.py:2061 DEBUG    ---------- JustWatch - Alfred (1.0.4) ----------
    09:47:01 workflow.py:1468 DEBUG    reading settings from /Users/eds/Library/Application Support/Alfred/Workflow Data/com.vwap.justwatch/settings.json
    09:47:01 workflow.py:2343 DEBUG    update check not due
    09:47:01 connectionpool.py:941 DEBUG    Starting new HTTPS connection (1): apis.justwatch.com:443
    09:47:02 connectionpool.py:442 DEBUG    https://apis.justwatch.com:443 "GET /content/locales/state HTTP/1.1" 200 None
    09:47:02 connectionpool.py:442 DEBUG    https://apis.justwatch.com:443 "GET /content/providers/locale/en_US HTTP/1.1" 200 None
    09:47:02 connectionpool.py:442 DEBUG    https://apis.justwatch.com:443 "POST /content/titles/en_US/popular HTTP/1.1" 200 None
    09:47:02 workflow.py:2080 ERROR    'original_release_year'
    Traceback (most recent call last):
      File "/Users/eds/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.52877B56-0137-4595-B8B0-0478E05268F4/workflow/workflow.py", line 2073, in run
        func(self)
      File "main.py", line 127, in main
        media_items = MediaItems(just_watch, sys.argv[len(sys.argv) - 1], providers).get_alfred_json_list()
      File "/Users/eds/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.52877B56-0137-4595-B8B0-0478E05268F4/media_items.py", line 14, in __init__
        media_item = MediaItem(media_item, providers)
      File "/Users/eds/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.52877B56-0137-4595-B8B0-0478E05268F4/media_item.py", line 22, in __init__
        self.parse(media_item_data)
      File "/Users/eds/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.52877B56-0137-4595-B8B0-0478E05268F4/media_item.py", line 29, in parse
        self.original_release_year = media_item['original_release_year']
    KeyError: 'original_release_year'
    09:47:02 workflow.py:2103 DEBUG    ---------- finished in 0.628s ----------
    [09:47:02.487] JustWatch - Alfred[Script Filter] {"items": [{"valid": false, "subtitle": "'original_release_year'", "icon": {"path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns"}, "title": "Error in workflow 'JustWatch - Alfred'"}]}
    [09:47:02.547] JustWatch - Alfred[Script Filter] Queuing argument 'unbelievable'
    [09:47:03.337] JustWatch - Alfred[Script Filter] Script with argv '(null)' finished
    [09:47:03.360] ERROR: JustWatch - Alfred[Script Filter] Code 1: 09:47:02 workflow.py:1695 DEBUG    loading cached data: /Users/eds/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.vwap.justwatch/__workflow_latest_version.cpickle
    .
    09:47:02 workflow.py:2061 DEBUG    ---------- JustWatch - Alfred (1.0.4) ----------
    09:47:02 workflow.py:1468 DEBUG    reading settings from /Users/eds/Library/Application Support/Alfred/Workflow Data/com.vwap.justwatch/settings.json
    09:47:02 workflow.py:2343 DEBUG    update check not due
    09:47:02 connectionpool.py:941 DEBUG    Starting new HTTPS connection (1): apis.justwatch.com:443
    09:47:02 connectionpool.py:442 DEBUG    https://apis.justwatch.com:443 "GET /content/locales/state HTTP/1.1" 200 None
    09:47:03 connectionpool.py:442 DEBUG    https://apis.justwatch.com:443 "GET /content/providers/locale/en_US HTTP/1.1" 200 None
    09:47:03 connectionpool.py:442 DEBUG    https://apis.justwatch.com:443 "POST /content/titles/en_US/popular HTTP/1.1" 200 None
    09:47:03 workflow.py:2080 ERROR    'original_release_year'
    Traceback (most recent call last):
      File "/Users/eds/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.52877B56-0137-4595-B8B0-0478E05268F4/workflow/workflow.py", line 2073, in run
        func(self)
      File "main.py", line 127, in main
        media_items = MediaItems(just_watch, sys.argv[len(sys.argv) - 1], providers).get_alfred_json_list()
      File "/Users/eds/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.52877B56-0137-4595-B8B0-0478E05268F4/media_items.py", line 14, in __init__
        media_item = MediaItem(media_item, providers)
      File "/Users/eds/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.52877B56-0137-4595-B8B0-0478E05268F4/media_item.py", line 22, in __init__
        self.parse(media_item_data)
      File "/Users/eds/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.52877B56-0137-4595-B8B0-0478E05268F4/media_item.py", line 29, in parse
        self.original_release_year = media_item['original_release_year']
    KeyError: 'original_release_year'
    09:47:03 workflow.py:2103 DEBUG    ---------- finished in 0.628s ----------
    [09:47:03.363] JustWatch - Alfred[Script Filter] {"items": [{"valid": false, "subtitle": "'original_release_year'", "icon": {"path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns"}, "title": "Error in workflow 'JustWatch - Alfred'"}]}

     

  3. I have Alfred set to have preferences sync to iCloud, so I thought they were always backed up.

    Alfred asked me if I wanted to migrate during the first run of ver 4. I said yes.

    Optimize iCloud storage is disabled

    There is no preferences folder in ~/Library/Application Support/Alfred/ 

     

    I've given up on recovering my old preferences, I just want to be able to save new ones when I recreate them.

  4. I upgraded from ver 3 to 4 but not all my preferences migrated, even though I have iCloud syncing setup in Advance Pref. My workflows and snippets migrated but other prefs such as web searches, default activation key, etc, did not. I can't even save the option to save clipboard text.  I have granted all permissions and I've rebooted. When I look at my preferences backup file I see the file modification date is 5/10, despite trying to make changes today.
     

    To make matters worse, when I manually make preference changes, they are not sticking. I've lost all my custom searches. I rely heavily on custom searches so I'd like to get them back ASAP.

  5. Thanks for the update. Unfortunately, I still can't get it to grab the url of the current tab. I've tried in both Safari and Opera. When I just use "Instapaper" without giving it the url, it shows the message that "will be waiting for you".  If I pass it the url then it gives the message "google.com will be waiting for you". In the first case nothing gets saved to my Instapaper. In the latter case, the site gets saved correctly. 

     

     

    59d18673130fd_ScreenShot2017-10-01at7_20_49PM.thumb.png.33330a20f464990015cc68a823cf35ee.png

     

    It is not a big deal. I'm not so lazy that I can't copy and paste. I just wondered why it isn't working for me when it obviously works for you. 

  6. I exported somebody else's large list of snippets in order to edit them. I decompressed the snippets file and ran a batch edit on the individual json files. I tried compressing to zip and to tgz and renaming to *.alfredsnippets. When I import it the file is empty of snippets.

     

    Is there a way to do what I need? I wanted to strip out the leading and trailing spaces from the CommonMisSpelling snippet pack created by user raguay.customct.

  7. I have the same problem as edbro, although I inserted the name of the account where I want the notes to be saved in the workflow as described in the first post. However, the notes will always be saved in a different account. If it is possible to get this working, it would be a brilliant workflow and much of use I suppose. 

     

    I deleted my post as I no longer have the problem. After you mentioning setting the account name in the applescript, I did that and now it works. I missed that the first time. 

     

    I'm replying to you because I didn't want your post hanging there referencing a post that doesn't exist.

×
×
  • Create New...