Jump to content

MEs

Member
  • Posts

    49
  • Joined

  • Last visited

Posts posted by MEs

  1. Hi,

     

    I don't know if I'm doing something wrong, but the "ns" command won't work. If I type ns, it shows me the description stating I can search in Notes app. But as soon as I add a letter (for ex : ns b), it switched to default Alfred search.

    I redownloaded the workflow, no change.

     

    Any idea ?

     

    EDIT : I changed the "n" to "ns" to trigger the search notes feature. Again, using the workflow "as is" with the n trigger gives me the same result.

     

    A quick GIF to show the issue.

    Notes.gif

  2. Thanks. Here it is :

    14:36:36 update.py:231 DEBUG    Retrieving releases list from `https://api.github.com/repos/deanishe/alfred-mailto/releases` ...
    14:36:36 update.py:235 INFO     Retrieving releases for `deanishe/alfred-mailto` ...
    14:36:36 workflow.py:2140 DEBUG    Workflow version : 2.1.4
    14:36:36 workflow.py:2176 DEBUG    Workflow finished in 0.020 seconds.
    14:36:36 workflow.py:2176 DEBUG    Workflow finished in 0.021 seconds.
    14:36:36 background.py:236 DEBUG    Task `update-apps` running
    14:36:36 background.py:237 DEBUG    cmd : [u'/usr/bin/python', u'/Users/EH/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.FE95C155-4F23-4D46-9EB8-0E14D728D2CE/update_apps.py']
    14:36:37 workflow.py:2140 DEBUG    Workflow version : 2.1.4
    14:36:37 update_apps.py:69 DEBUG    System default mailto handler : {u'path': u'/Applications/Mail.app', u'name': u'Mail', u'bundleid': u'com.apple.mail'}
    14:36:37 workflow.py:1814 DEBUG    Cached data saved at : /Users/EH/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/net.deanishe.alfred-mailto/system_default_app.cpickle
    14:36:37 update_apps.py:49 DEBUG    mailto handler : it.bloop.airmail2 // /Applications/Airmail 3.app
    14:36:37 update_apps.py:49 DEBUG    mailto handler : com.apple.mail // /Applications/Mail.app
    14:36:37 update_apps.py:53 DEBUG    2 email clients found
    14:36:37 workflow.py:1814 DEBUG    Cached data saved at : /Users/EH/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/net.deanishe.alfred-mailto/all_apps.cpickle
    14:36:37 update_apps.py:78 DEBUG    Client application caches updated in 0.012 seconds
    14:36:37 workflow.py:1543 DEBUG    Reading settings from `/Users/EH/Library/Application Support/Alfred 3/Workflow Data/net.deanishe.alfred-mailto/settings.json` ...
    14:36:37 workflow.py:2331 DEBUG    Set last run version : 2.1.4
    14:36:37 workflow.py:2176 DEBUG    Workflow finished in 0.019 seconds.
    14:36:37 background.py:248 DEBUG    Task `update-apps` finished

    Seems like Airmail 3 is detected properly, but I can't select it. But I did all this reload previously, and I wasn't able to choose Airmail. Now I can...! Not sure why.

     

    Unfortunately, every time I try to run mailto, I get a "Python"process using 99% of CPU. I realised it because after 2-3 process Python running aside, I hear my fans running :)

    So far, only one is running, even after using the Mailto workflow a few times.

    Is it because of the contacts updating ?

  3. Great workflow, thank you very much !

    I did a small "tweak" by duplicating the n script filter, changing the keyword to nw and specifying my folder for work related stuff. This way the usual n keyword creates a notes in my Notes folder. The nw creates one in my work folder.

     

    By the way, I downloaded it from your bit.ly link here. Is it the latest version ? It is rated as v5, when it is v8 on packal.org, but this one has it last update from 2014.

  4. Hi,

     

    Not sure this is a big issue or maybe I did something wrong.

    But I am getting a message when I hit Today just on top of my schedule saying "A newer version is available"

    I was on 4.1, so I hit enter and nothing.

    Went on GitHub, seen there was a 4.3, updated to it, but still getting the same message.

     

    I capture of this message.

    Screen Shot 2016-09-30 at 05.24.09.png

     

    And my logs just in case :

     

    05:25:03 today.py:290 INFO             ______          __
    05:25:03 today.py:291 INFO            /_  __/___  ____/ /___ ___  __
    05:25:03 today.py:292 INFO             / / / __ \/ __  / __ `/ / / /
    05:25:03 today.py:293 INFO            / / / /_/ / /_/ / /_/ / /_/ /
    05:25:03 today.py:294 INFO           /_/  \____/\__,_/\__,_/\__, /
    05:25:03 today.py:295 INFO                                 /____/
    05:25:03 workflow.py:2156 DEBUG    Workflow version : 4.3.0
    05:25:03 workflow.py:1568 DEBUG    Reading settings from `/Users/EH/Library/Application Support/Alfred 3/Workflow Data/org.jeef.today/settings.json` ...
    05:25:03 workflow.py:2438 DEBUG    Update check not due
    05:25:03 workflow.py:1799 DEBUG    Loading cached data from : /Users/EH/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/org.jeef.today/__workflow_update_status.cpickle
    05:25:03 workflow.py:2368 DEBUG    update_data : {u'available': True, u'version': u'v4.3', u'download_url': u'https://github.com/jeeftor/alfredToday/releases/download/v4.3/Alfred_Today-4.3.0.alfredworkflow'}
    05:25:03 today.py:43 DEBUG    query : u'0'
    05:25:03 today.py:67 INFO     2016-09-30T04:00:01.220320+00:00			2016-10-01T03:59:59.220376+00:00
    05:25:03 today.py:86 DEBUG    -- FG: CacheKey (Google)   google.Today
    05:25:03 today.py:87 DEBUG    -- FG: CacheKey (Exchange) exchange.Today
    05:25:03 today.py:105 DEBUG    Max Age: 9000  Cache Age Google:  55   Exchange: 0
    05:25:03 today.py:127 DEBUG    --FG:   Use Exchange:False
    05:25:03 today.py:128 DEBUG    --FG: Exchange Fresh:False
    05:25:03 workflow.py:1799 DEBUG    Loading cached data from : /Users/EH/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/org.jeef.today/google.Today.cpickle
    05:25:03 background.py:188 DEBUG    Command arguments cached to `/Users/EH/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/org.jeef.today/update_google.argcache`
    05:25:03 background.py:192 DEBUG    Calling [u'/usr/bin/python', '/Users/EH/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.99B79A2E-BEFC-461A-AC92-48A0C11015D2/workflow/background.pyc', 'update_google'] ...
    05:25:03 workflow.py:2156 DEBUG    Workflow version : 4.3.0
    05:25:03 workflow.py:2194 DEBUG    Workflow finished in 0.017 seconds.
    05:25:03 workflow.py:2194 DEBUG    Workflow finished in 0.018 seconds.
    05:25:03 background.py:236 DEBUG    Task `update_google` running
    05:25:03 background.py:237 DEBUG    cmd : ['/usr/bin/python', u'/Users/EH/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.99B79A2E-BEFC-461A-AC92-48A0C11015D2/query_google.py', '2016-09-30T04:00:01.220320+00:00', '2016-10-01T03:59:59.220376+00:00', '0']
    05:25:03 background.py:197 DEBUG    Executing task `update_google` in background...
    05:25:03 today.py:231 DEBUG    **FG --- Google: All Day Extreme prema. ethique
    05:25:03 today.py:250 INFO     Event Count   Google: 1
    05:25:03 today.py:251 INFO     Event Count Exchange: 0
    05:25:03 today.py:252 INFO     Event Count    Total: 1
    05:25:03 workflow.py:2351 DEBUG    Set last run version : 4.3.0
    05:25:03 workflow.py:2194 DEBUG    Workflow finished in 0.192 seconds.
    05:25:03 workflow.py:2156 DEBUG    Workflow version : 4.3.0
    05:25:03 query_google.py:25 DEBUG    BG GOOGLE: STARTED
    05:25:03 query_google.py:36 DEBUG    BG: query : u'2016-09-30T04:00:01.220320+00:00'
    05:25:03 query_google.py:42 DEBUG    [u'2016-09-30T04:00:01.220320+00:00', u'2016-10-01T03:59:59.220376+00:00', u'0']
    05:25:03 query_google.py:63 DEBUG    -- BG: CacheKey  (Google)   google.Today
    05:25:03 query_google.py:64 DEBUG    -- BG: NotifyKey (Google)   Today
    05:25:03 workflow.py:1799 DEBUG    Loading cached data from : /Users/EH/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/org.jeef.today/google.Today.cpickle
    05:25:03 query_google.py:15 INFO     BG: Querying Google Calendar
    05:25:03 query_google.py:16 INFO     BG:     param: start_google = 2016-09-30T04:00:01.220320+00:00
    05:25:03 query_google.py:17 INFO     BG:     param:   end_google = 2016-10-01T03:59:59.220376+00:00
    05:25:03 query_google.py:18 INFO     BG:     param:   date_offset = 0
    05:25:03 workflow.py:1568 DEBUG    Reading settings from `/Users/EH/Library/Application Support/Alfred 3/Workflow Data/org.jeef.today/settings.json` ...
    05:25:03 GoogleInterface.py:170 INFO     Querying calender [9c5fm2sp93jh69uglm3tqevn0s@group.calendar.google.com]
    05:25:03 GoogleInterface.py:177 INFO     * Google returned 1 events
    05:25:03 GoogleInterface.py:170 INFO     Querying calender [rrnb0pc7e8ans3qva0ql55d188@group.calendar.google.com]
    05:25:03 GoogleInterface.py:177 INFO     * Google returned 0 events
    05:25:03 GoogleInterface.py:170 INFO     Querying calender [945l8upqsp7bimpijb9hr9hcko@group.calendar.google.com]
    05:25:03 GoogleInterface.py:177 INFO     * Google returned 0 events
    05:25:03 GoogleInterface.py:170 INFO     Querying calender [assonef@gmail.com]
    05:25:03 GoogleInterface.py:177 INFO     * Google returned 0 events
    05:25:03 workflow.py:1834 DEBUG    Cached data saved at : /Users/EH/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/org.jeef.today/google.Today.cpickle
    05:25:03 query_google.py:77 DEBUG    **BG --- Google Old: {u'date': u'2016-09-30'} Extreme prema. ethique
    05:25:03 query_google.py:83 DEBUG    **BG --- Google New: {u'date': u'2016-09-30'} Extreme prema. ethique
    05:25:03 query_google.py:98 DEBUG    Old Set: set([u'kp864fud8g7bifhhe3tevk8i0k:2016-09-29T06:56:30.277Z:All_Day'])
    05:25:03 query_google.py:99 DEBUG    New Set: set([u'kp864fud8g7bifhhe3tevk8i0k:2016-09-29T06:56:30.277Z:All_Day'])
    05:25:03 query_google.py:105 DEBUG    -- BG: Changed Event Count: 0
    05:25:03 query_google.py:121 DEBUG    --- TERMINATING --
    05:25:03 workflow.py:2351 DEBUG    Set last run version : 4.3.0
    05:25:03 workflow.py:2194 DEBUG    Workflow finished in 0.499 seconds.
    05:25:03 background.py:248 DEBUG    Task `update_google` finished
    05:25:03 workflow.py:1568 DEBUG    Reading settings from `/Users/EH/Library/Application Support/Alfred 3/Workflow Data/org.jeef.today/settings.json` ...
    05:25:03 workflow.py:2351 DEBUG    Set last run version : 4.3.0
    05:25:03 workflow.py:2194 DEBUG    Workflow finished in 0.677 seconds.
    05:25:08 workflow.py:2156 DEBUG    Workflow version : 4.3.0
    05:25:08 workflow.py:1568 DEBUG    Reading settings from `/Users/EH/Library/Application Support/Alfred 3/Workflow Data/org.jeef.today/settings.json` ...
    05:25:08 workflow.py:2438 DEBUG    Update check not due
    05:25:08 workflow.py:1799 DEBUG    Loading cached data from : /Users/EH/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/org.jeef.today/__workflow_update_status.cpickle
    05:25:08 workflow.py:2368 DEBUG    update_data : {u'available': True, u'version': u'v4.3', u'download_url': u'https://github.com/jeeftor/alfredToday/releases/download/v4.3/Alfred_Today-4.3.0.alfredworkflow'}
    05:25:08 magic.py:17 DEBUG    query : u''
    05:25:08 workflow.py:2351 DEBUG    Set last run version : 4.3.0
    05:25:08 workflow.py:2194 DEBUG    Workflow finished in 0.019 seconds.
    05:25:16 workflow.py:2156 DEBUG    Workflow version : 4.3.0
    05:25:16 workflow.py:1568 DEBUG    Reading settings from `/Users/EH/Library/Application Support/Alfred 3/Workflow Data/org.jeef.today/settings.json` ...
    05:25:16 workflow.py:2438 DEBUG    Update check not due
    05:25:16 workflow.py:1799 DEBUG    Loading cached data from : /Users/EH/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/org.jeef.today/__workflow_update_status.cpickle
    05:25:16 workflow.py:2368 DEBUG    update_data : {u'available': True, u'version': u'v4.3', u'download_url': u'https://github.com/jeeftor/alfredToday/releases/download/v4.3/Alfred_Today-4.3.0.alfredworkflow'}
    05:25:16 workflow.py:1335 DEBUG    Opening workflow log file
    05:25:16 workflow.py:2194 DEBUG    Workflow finished in 0.159 seconds.

     

  5. Hi,

     

    So here is the settings.json when I have 3.9.9 running :

    {
      "__workflow_last_version": "3.9.9", 
      "calendar:9c5fm2sp93jh69uglm3tqevn0s@group.calendar.google.com": {
        "value": "1"
      }, 
      "calendar:rrnb0pc7e8ans3qva0ql55d188@group.calendar.google.com": {
        "value": "1"
      }, 
      "use_google": {
        "value": "1"
      }
    }

     

    Than I updated to 4.1.0 and here the the settings.json with this version :

     

    {
      "__workflow_last_version": "4.1.0", 
      "calendar:9c5fm2sp93jh69uglm3tqevn0s@group.calendar.google.com": {
        "value": "1"
      }, 
      "calendar:rrnb0pc7e8ans3qva0ql55d188@group.calendar.google.com": {
        "value": "1"
      }, 
      "use_google": {
        "value": "1"
      }
    }

    Seems to be the same, appart from the workflow version. No difference in color by the way between the events showed , no matter what calendar they are in.

     

    Than I used the command to reset

    dbgworkflow workflow:reset

    (just changed workflow to today, I guess you mistyped it here)

     

    And it seems to be working !

     

    The settings.json file :

    {
      "__workflow_last_version": "4.1.0", 
      "calendar:945l8upqsp7bimpijb9hr9hcko@group.calendar.google.com:22": {
        "value": "1\t22"
      }, 
      "calendar:9c5fm2sp93jh69uglm3tqevn0s@group.calendar.google.com:16": {
        "value": "1\t16"
      }, 
      "calendar:assonef@gmail.com:3": {
        "value": "1\t3"
      }, 
      "calendar:rrnb0pc7e8ans3qva0ql55d188@group.calendar.google.com:6": {
        "value": "1\t6"
      }, 
      "use_google": {
        "value": "1"
      }
    }

    And a capture regarding the color rendering : (which are the same as in my Google Calendar !)

     

    Screen Shot 2016-09-18 at 21.39.01.png

     

    I guess this version is the perfect one ? At least to me it looks like it !

     

  6. Ok thanks for the field.

     

    Unfortunately, seems like there is a bug. I am getting this message :

    Error in org.jeef.today

    Same error if I type Today, Tomorrow or tcgc commands :/

     

    And even trying to downgrade to 3.9.9 is not helping so far. I tried to delete the org.jeef.today in my Library, but no more luck.

     

    Here is the log :

    04:33:39 workflow.py:2156 DEBUG    Workflow version : 3.9.9
    04:33:39 workflow.py:1568 DEBUG    Reading settings from `/Users/EH/Library/Application Support/Alfred 3/Workflow Data/org.jeef.today/settings.json` ...
    04:33:39 workflow.py:2438 DEBUG    Update check not due
    04:33:39 workflow.py:1799 DEBUG    Loading cached data from : /Users/EH/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/org.jeef.today/__workflow_update_status.cpickle
    04:33:39 workflow.py:2368 DEBUG    update_data : {u'available': False}
    04:33:39 workflow.py:1335 DEBUG    Opening workflow log file
    04:33:39 workflow.py:2194 DEBUG    Workflow finished in 0.067 seconds.
    04:33:40 today.py:280 INFO             ______          __
    04:33:40 today.py:281 INFO            /_  __/___  ____/ /___ ___  __
    04:33:40 today.py:282 INFO             / / / __ \/ __  / __ `/ / / /
    04:33:40 today.py:283 INFO            / / / /_/ / /_/ / /_/ / /_/ /
    04:33:40 today.py:284 INFO           /_/  \____/\__,_/\__,_/\__, /
    04:33:40 today.py:285 INFO                                 /____/
    04:33:40 workflow.py:2156 DEBUG    Workflow version : 3.9.9
    04:33:40 workflow.py:1568 DEBUG    Reading settings from `/Users/EH/Library/Application Support/Alfred 3/Workflow Data/org.jeef.today/settings.json` ...
    04:33:40 workflow.py:2438 DEBUG    Update check not due
    04:33:41 workflow.py:1799 DEBUG    Loading cached data from : /Users/EH/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/org.jeef.today/__workflow_update_status.cpickle
    04:33:41 workflow.py:2368 DEBUG    update_data : {u'available': False}
    04:33:41 today.py:41 DEBUG    query : u'0'
    04:33:41 today.py:83 DEBUG    -- FG: CacheKey (Google)   google.Today
    04:33:41 today.py:84 DEBUG    -- FG: CacheKey (Exchange) exchange.Today
    04:33:41 today.py:99 DEBUG    Max Age: 9000  Cache Age Google:  0   Exchange: 0
    04:33:41 today.py:121 DEBUG    --FG:   Use Exchange:False
    04:33:41 today.py:122 DEBUG    --FG: Exchange Fresh:False
    04:33:41 query_google.py:15 INFO     BG: Querying Google Calendar
    04:33:41 query_google.py:16 INFO     BG:     param: start_google = 2016-09-18T04:00:01.099203+00:00
    04:33:41 query_google.py:17 INFO     BG:     param:   end_google = 2016-09-19T03:59:59.099251+00:00
    04:33:41 query_google.py:18 INFO     BG:     param:   date_offset = 0
    04:33:41 workflow.py:2174 ERROR    
    Traceback (most recent call last):
      File "/Users/EH/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.C99E7FD4-A6BA-4BCD-93BD-8B8939AB286F/workflow/workflow.py", line 2167, in run
        func(self)
      File "today.py", line 190, in main
        google_events = wf.cached_data(google_cache_key, google_wrapper, max_age=cache_time)
      File "/Users/EH/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.C99E7FD4-A6BA-4BCD-93BD-8B8939AB286F/workflow/workflow.py", line 1805, in cached_data
        data = data_func()
      File "today.py", line 68, in google_wrapper
        return query_google_calendar(wf, start_google, stop_google, date_offset)
      File "/Users/EH/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.C99E7FD4-A6BA-4BCD-93BD-8B8939AB286F/query_google.py", line 20, in query_google_calendar
        g = GoogleInterface(wf)
      File "/Users/EH/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.C99E7FD4-A6BA-4BCD-93BD-8B8939AB286F/GoogleInterface.py", line 46, in __init__
        self._authorize_google()
      File "/Users/EH/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.C99E7FD4-A6BA-4BCD-93BD-8B8939AB286F/GoogleInterface.py", line 61, in _authorize_google
        self.__check_auth_status()
      File "/Users/EH/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.C99E7FD4-A6BA-4BCD-93BD-8B8939AB286F/GoogleInterface.py", line 55, in __check_auth_status
        raise AuthorizationNeededException()
    AuthorizationNeededException
    04:33:41 workflow.py:2177 INFO     For assistance, see: https://github.com/jeeftor/alfredToday/blob/master/README.md
    04:33:41 workflow.py:2194 DEBUG    Workflow finished in 0.124 seconds.

     

    EDIT : Maybe a clue...

    I tried to remove again org.jeef.today and the plugin, than re-install 3.9.8. There I noticed that enabling Google Calendar was again asking me to authorize access by loading the page in my browser.

    After what, it was telling me there is no data to load.

    I updated to 3.9.9, used tcgc to enable some of my calendars and everything is back on track !

     

    So I tried to update to 4.0.0, and it was able to display the tomorrow events that has been cached. But if I change the cache time to anything lower than the default 9000 sec, the error message would be back, plus a "too many values to unpack" under it.

     

    This time, I removed the plugin and the org.jeef.today and installed directly the 3.9.9

    Had to re-enable Google Calendar (no browser loaded this time to authorize it), enable some calendars with tcgc, and everything is fine again (checked by adding an event to check if it will show up)

     

    I hope this helps...

     

    More logs in case it helps:

     

    04:45:01 store_data.py:70 DEBUG          _______________  ____  ______  
    04:45:01 store_data.py:71 DEBUG         / ___/_  __/ __ \/ __ \/ ____/  
    04:45:01 store_data.py:72 DEBUG         \__ \ / / / / / / /_/ / __/  
    04:45:01 store_data.py:73 DEBUG        ___/ // / / /_/ / _, _/ /___  
    04:45:01 store_data.py:74 DEBUG       /____//_/  \____/_/ |_/_____/  DATA  
    04:45:01 store_data.py:75 DEBUG         
    04:45:01 workflow.py:2156 DEBUG    Workflow version : 4.0.0
    04:45:01 store_data.py:19 DEBUG            Key: cache_time
    04:45:01 store_data.py:20 DEBUG          Value: 9000
    04:45:01 workflow.py:1568 DEBUG    Reading settings from `/Users/EH/Library/Application Support/Alfred 3/Workflow Data/org.jeef.today/settings.json` ...
    04:45:01 workflow.py:2351 DEBUG    Set last run version : 4.0.0
    04:45:01 workflow.py:2194 DEBUG    Workflow finished in 0.153 seconds.
    04:45:03 settings.py:289 DEBUG           _____ _______________________   _____________
    04:45:03 settings.py:290 DEBUG          / ___// ____/_  __/_  __/  _/ | / / ____/ ___/
    04:45:03 settings.py:291 DEBUG          \__ \/ __/   / /   / /  / //  |/ / / __ \__ \
    04:45:03 settings.py:292 DEBUG         ___/ / /___  / /   / / _/ // /|  / /_/ /___/ /
    04:45:03 settings.py:293 DEBUG        /____/_____/ /_/   /_/ /___/_/ |_/\____//____/
    04:45:03 workflow.py:2156 DEBUG    Workflow version : 4.0.0
    04:45:03 workflow.py:1568 DEBUG    Reading settings from `/Users/EH/Library/Application Support/Alfred 3/Workflow Data/org.jeef.today/settings.json` ...
    04:45:03 workflow.py:2351 DEBUG    Set last run version : 4.0.0
    04:45:03 workflow.py:2194 DEBUG    Workflow finished in 0.001 seconds.
    04:45:03 today.py:290 INFO             ______          __
    04:45:03 today.py:291 INFO            /_  __/___  ____/ /___ ___  __
    04:45:03 today.py:292 INFO             / / / __ \/ __  / __ `/ / / /
    04:45:03 today.py:293 INFO            / / / /_/ / /_/ / /_/ / /_/ /
    04:45:03 today.py:294 INFO           /_/  \____/\__,_/\__,_/\__, /
    04:45:03 today.py:295 INFO                                 /____/
    04:45:03 workflow.py:2156 DEBUG    Workflow version : 4.0.0
    04:45:03 workflow.py:1568 DEBUG    Reading settings from `/Users/EH/Library/Application Support/Alfred 3/Workflow Data/org.jeef.today/settings.json` ...
    04:45:03 workflow.py:2438 DEBUG    Update check not due
    04:45:04 workflow.py:1799 DEBUG    Loading cached data from : /Users/EH/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/org.jeef.today/__workflow_update_status.cpickle
    04:45:04 workflow.py:2368 DEBUG    update_data : {u'available': False}
    04:45:04 today.py:43 DEBUG    query : u'1'
    04:45:04 today.py:67 INFO     2016-09-19T04:00:01.089443+00:00			2016-09-20T03:59:59.089491+00:00
    04:45:04 today.py:86 DEBUG    -- FG: CacheKey (Google)   google.Tomorrow
    04:45:04 today.py:87 DEBUG    -- FG: CacheKey (Exchange) exchange.Tomorrow
    04:45:04 today.py:105 DEBUG    Max Age: 9000  Cache Age Google:  266   Exchange: 0
    04:45:04 today.py:127 DEBUG    --FG:   Use Exchange:False
    04:45:04 today.py:128 DEBUG    --FG: Exchange Fresh:False
    04:45:04 workflow.py:1799 DEBUG    Loading cached data from : /Users/EH/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/org.jeef.today/google.Tomorrow.cpickle
    04:45:04 background.py:188 DEBUG    Command arguments cached to `/Users/EH/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/org.jeef.today/update_google.argcache`
    04:45:04 background.py:192 DEBUG    Calling [u'/usr/bin/python', '/Users/EH/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.BAFE509C-7940-4733-A78C-1F1BEF02EDD3/workflow/background.pyc', 'update_google'] ...
    04:45:04 workflow.py:2156 DEBUG    Workflow version : 4.0.0
    04:45:04 workflow.py:2194 DEBUG    Workflow finished in 0.019 seconds.
    04:45:04 workflow.py:2194 DEBUG    Workflow finished in 0.020 seconds.
    04:45:04 background.py:236 DEBUG    Task `update_google` running
    04:45:04 background.py:237 DEBUG    cmd : ['/usr/bin/python', u'/Users/EH/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.BAFE509C-7940-4733-A78C-1F1BEF02EDD3/query_google.py', '2016-09-19T04:00:01.089443+00:00', '2016-09-20T03:59:59.089491+00:00', '1']
    04:45:04 background.py:197 DEBUG    Executing task `update_google` in background...
    04:45:04 today.py:231 DEBUG    **FG --- Google: 2016-09-19T14:00:00+02:00 Resultats audition tournan
    04:45:04 today.py:231 DEBUG    **FG --- Google: 2016-09-19T18:30:00+02:00 Groupe psychomot (SG)
    04:45:04 today.py:250 INFO     Event Count   Google: 2
    04:45:04 today.py:251 INFO     Event Count Exchange: 0
    04:45:04 today.py:252 INFO     Event Count    Total: 2
    04:45:04 workflow.py:2351 DEBUG    Set last run version : 4.0.0
    04:45:04 workflow.py:2194 DEBUG    Workflow finished in 0.192 seconds.
    04:45:04 workflow.py:2156 DEBUG    Workflow version : 4.0.0
    04:45:04 query_google.py:25 DEBUG    BG GOOGLE: STARTED
    04:45:04 query_google.py:36 DEBUG    BG: query : u'2016-09-19T04:00:01.089443+00:00'
    04:45:04 query_google.py:42 DEBUG    [u'2016-09-19T04:00:01.089443+00:00', u'2016-09-20T03:59:59.089491+00:00', u'1']
    04:45:04 query_google.py:63 DEBUG    -- BG: CacheKey  (Google)   google.Tomorrow
    04:45:04 query_google.py:64 DEBUG    -- BG: NotifyKey (Google)   Tomorrow
    04:45:04 workflow.py:1799 DEBUG    Loading cached data from : /Users/EH/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/org.jeef.today/google.Tomorrow.cpickle
    04:45:04 query_google.py:15 INFO     BG: Querying Google Calendar
    04:45:04 query_google.py:16 INFO     BG:     param: start_google = 2016-09-19T04:00:01.089443+00:00
    04:45:04 query_google.py:17 INFO     BG:     param:   end_google = 2016-09-20T03:59:59.089491+00:00
    04:45:04 query_google.py:18 INFO     BG:     param:   date_offset = 1
    04:45:04 workflow.py:1568 DEBUG    Reading settings from `/Users/EH/Library/Application Support/Alfred 3/Workflow Data/org.jeef.today/settings.json` ...
    04:45:04 workflow.py:2174 ERROR    need more than 1 value to unpack
    Traceback (most recent call last):
      File "/Users/EH/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.BAFE509C-7940-4733-A78C-1F1BEF02EDD3/workflow/workflow.py", line 2167, in run
        func(self)
      File "/Users/EH/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.BAFE509C-7940-4733-A78C-1F1BEF02EDD3/query_google.py", line 69, in main
        new_events = wrapper()
      File "/Users/EH/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.BAFE509C-7940-4733-A78C-1F1BEF02EDD3/query_google.py", line 56, in wrapper
        return query_google_calendar(wf, start_google, stop_google, date_offset)
      File "/Users/EH/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.BAFE509C-7940-4733-A78C-1F1BEF02EDD3/query_google.py", line 21, in query_google_calendar
        return g.get_events_for_enabled_calendars(start_search, end_search)
      File "/Users/EH/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.BAFE509C-7940-4733-A78C-1F1BEF02EDD3/GoogleInterface.py", line 140, in get_events_for_enabled_calendars
        enabled,color = self.wf.settings.get(key).get('value').split('\t')
    ValueError: need more than 1 value to unpack
    04:45:04 workflow.py:2194 DEBUG    Workflow finished in 0.056 seconds.
    04:45:04 background.py:243 ERROR    Command failed with [1] : ['/usr/bin/python', u'/Users/EH/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.BAFE509C-7940-4733-A78C-1F1BEF02EDD3/query_google.py', '2016-09-19T04:00:01.089443+00:00', '2016-09-20T03:59:59.089491+00:00', '1']
    04:45:04 background.py:248 DEBUG    Task `update_google` finished
    04:45:04 workflow.py:1568 DEBUG    Reading settings from `/Users/EH/Library/Application Support/Alfred 3/Workflow Data/org.jeef.today/settings.json` ...
    04:45:04 workflow.py:2351 DEBUG    Set last run version : 4.0.0
    04:45:04 workflow.py:2194 DEBUG    Workflow finished in 0.230 seconds.
    04:45:16 settings.py:289 DEBUG           _____ _______________________   _____________
    04:45:16 settings.py:290 DEBUG          / ___// ____/_  __/_  __/  _/ | / / ____/ ___/
    04:45:16 settings.py:291 DEBUG          \__ \/ __/   / /   / /  / //  |/ / / __ \__ \
    04:45:16 settings.py:292 DEBUG         ___/ / /___  / /   / / _/ // /|  / /_/ /___/ /
    04:45:16 settings.py:293 DEBUG        /____/_____/ /_/   /_/ /___/_/ |_/\____//____/
    04:45:16 workflow.py:2156 DEBUG    Workflow version : 4.0.0
    04:45:16 workflow.py:1568 DEBUG    Reading settings from `/Users/EH/Library/Application Support/Alfred 3/Workflow Data/org.jeef.today/settings.json` ...
    04:45:16 workflow.py:2351 DEBUG    Set last run version : 4.0.0
    04:45:16 workflow.py:2194 DEBUG    Workflow finished in 0.001 seconds.
    04:45:18 store_data.py:70 DEBUG          _______________  ____  ______  
    04:45:18 store_data.py:71 DEBUG         / ___/_  __/ __ \/ __ \/ ____/  
    04:45:18 store_data.py:72 DEBUG         \__ \ / / / / / / /_/ / __/  
    04:45:18 store_data.py:73 DEBUG        ___/ // / / /_/ / _, _/ /___  
    04:45:18 store_data.py:74 DEBUG       /____//_/  \____/_/ |_/_____/  DATA  
    04:45:18 store_data.py:75 DEBUG         
    04:45:18 workflow.py:2156 DEBUG    Workflow version : 4.0.0
    04:45:18 store_data.py:19 DEBUG            Key: cache_time
    04:45:18 store_data.py:20 DEBUG          Value: 90
    04:45:18 workflow.py:1568 DEBUG    Reading settings from `/Users/EH/Library/Application Support/Alfred 3/Workflow Data/org.jeef.today/settings.json` ...
    04:45:18 workflow.py:2351 DEBUG    Set last run version : 4.0.0
    04:45:18 workflow.py:2194 DEBUG    Workflow finished in 0.155 seconds.
    04:45:20 settings.py:289 DEBUG           _____ _______________________   _____________
    04:45:20 settings.py:290 DEBUG          / ___// ____/_  __/_  __/  _/ | / / ____/ ___/
    04:45:20 settings.py:291 DEBUG          \__ \/ __/   / /   / /  / //  |/ / / __ \__ \
    04:45:20 settings.py:292 DEBUG         ___/ / /___  / /   / / _/ // /|  / /_/ /___/ /
    04:45:20 settings.py:293 DEBUG        /____/_____/ /_/   /_/ /___/_/ |_/\____//____/
    04:45:20 workflow.py:2156 DEBUG    Workflow version : 4.0.0
    04:45:20 workflow.py:1568 DEBUG    Reading settings from `/Users/EH/Library/Application Support/Alfred 3/Workflow Data/org.jeef.today/settings.json` ...
    04:45:20 workflow.py:2351 DEBUG    Set last run version : 4.0.0
    04:45:20 workflow.py:2194 DEBUG    Workflow finished in 0.001 seconds.
    04:45:27 today.py:290 INFO             ______          __
    04:45:27 today.py:291 INFO            /_  __/___  ____/ /___ ___  __
    04:45:27 today.py:292 INFO             / / / __ \/ __  / __ `/ / / /
    04:45:27 today.py:293 INFO            / / / /_/ / /_/ / /_/ / /_/ /
    04:45:27 today.py:294 INFO           /_/  \____/\__,_/\__,_/\__, /
    04:45:27 today.py:295 INFO                                 /____/
    04:45:27 workflow.py:2156 DEBUG    Workflow version : 4.0.0
    04:45:27 workflow.py:1568 DEBUG    Reading settings from `/Users/EH/Library/Application Support/Alfred 3/Workflow Data/org.jeef.today/settings.json` ...
    04:45:27 workflow.py:2438 DEBUG    Update check not due
    04:45:27 workflow.py:1799 DEBUG    Loading cached data from : /Users/EH/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/org.jeef.today/__workflow_update_status.cpickle
    04:45:27 workflow.py:2368 DEBUG    update_data : {u'available': False}
    04:45:27 today.py:43 DEBUG    query : u'1'
    04:45:27 today.py:67 INFO     2016-09-19T04:00:01.889533+00:00			2016-09-20T03:59:59.889581+00:00
    04:45:27 today.py:86 DEBUG    -- FG: CacheKey (Google)   google.Tomorrow
    04:45:27 today.py:87 DEBUG    -- FG: CacheKey (Exchange) exchange.Tomorrow
    04:45:27 today.py:105 DEBUG    Max Age: 90  Cache Age Google:  289   Exchange: 0
    04:45:27 today.py:127 DEBUG    --FG:   Use Exchange:False
    04:45:27 today.py:128 DEBUG    --FG: Exchange Fresh:False
    04:45:27 query_google.py:15 INFO     BG: Querying Google Calendar
    04:45:27 query_google.py:16 INFO     BG:     param: start_google = 2016-09-19T04:00:01.889533+00:00
    04:45:27 query_google.py:17 INFO     BG:     param:   end_google = 2016-09-20T03:59:59.889581+00:00
    04:45:27 query_google.py:18 INFO     BG:     param:   date_offset = 1
    04:45:27 workflow.py:2174 ERROR    need more than 1 value to unpack
    Traceback (most recent call last):
      File "/Users/EH/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.BAFE509C-7940-4733-A78C-1F1BEF02EDD3/workflow/workflow.py", line 2167, in run
        func(self)
      File "today.py", line 204, in main
        google_events = wf.cached_data(google_cache_key, google_wrapper, max_age=cache_time)
      File "/Users/EH/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.BAFE509C-7940-4733-A78C-1F1BEF02EDD3/workflow/workflow.py", line 1805, in cached_data
        data = data_func()
      File "today.py", line 71, in google_wrapper
        return query_google_calendar(wf, start_google, stop_google, date_offset)
      File "/Users/EH/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.BAFE509C-7940-4733-A78C-1F1BEF02EDD3/query_google.py", line 21, in query_google_calendar
        return g.get_events_for_enabled_calendars(start_search, end_search)
      File "/Users/EH/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.BAFE509C-7940-4733-A78C-1F1BEF02EDD3/GoogleInterface.py", line 140, in get_events_for_enabled_calendars
        enabled,color = self.wf.settings.get(key).get('value').split('\t')
    ValueError: need more than 1 value to unpack
    04:45:27 workflow.py:2177 INFO     For assistance, see: https://github.com/jeeftor/alfredToday/blob/master/README.md
    04:45:27 workflow.py:2194 DEBUG    Workflow finished in 0.128 seconds.

     

  7. It works !

    And the tcgc command is an excellent idea !

     

    I don't know what may not be polished. to me everything seems great. And since you used a Open URL action, I was able to trigger my "work" browser specifically for this action (since I use Google Calendar for work only, iCloud is my personal one)

     

    One question, is there any configuration about what the workflow is pulling from an event appart it's title and time ?

     

    I hope Google won't change how their Calendar works too often. The workflow "Google Translate" for example can not work anymore because of Google refusing access to some APIs :/ 

  8. Thanks a lot for this release.

     

    I updated the workflow with your release 3.9.8 and then launched the command you asked for. And it seems it is getting to my calendars. Here is what it shows in the terminal :

     

    ********************************************
    Name: Pédiatrie ACL: owner   Calendar ID: xxxxxx@group.calendar.google.com
    2016-09-16 CB à NEF
    2016-09-19T14:00:00+02:00 Resultats audition tournan
    2016-09-19T18:30:00+02:00 Groupe psychomot (SG)
    2016-09-21T17:00:00+02:00 Rappels parents - CC
    2016-09-22T09:00:00+02:00 Jvr neonat CB
    2016-09-22T14:00:00+02:00 Staff inter rea
    2016-09-23T09:30:00+02:00 Médecine du travail CC
    2016-09-26T09:30:00+02:00 GT PED reseau
    2016-09-26T18:30:00+02:00 Groupe psychomot (SG + CC)
    2016-09-27T10:00:00+02:00 Psychomot - Mme CHAURAND et Mme Bernard
    
    ********************************************
    Name: VFF ACL: owner   Calendar ID: xxxxxx@group.calendar.google.com
    2016-09-19T06:00:00Z Céline NEF
    2016-09-22T06:30:00Z Céline AG CDOSF 77 + Formation VFF à CDOSF77
    2016-09-26T06:00:00Z Céline NEF
    2016-10-03T06:00:00Z Céline NEF
    2016-10-06T07:00:00Z Réunion VFF / CC + MD + CCa
    2016-10-07T07:00:00Z Céline : Mise en place réseau violences intra-familiales
    2016-10-10T06:00:00Z Céline NEF
    2016-10-11T12:00:00Z Céline Formation VFF
    2016-10-13T13:00:00Z Céline Formation VFF
    2016-10-17T06:00:00Z Céline NEF
    
    ********************************************
    Name: Transversal ACL: owner   Calendar ID: xxxxxx@gmail.com
    2016-09-20T09:00:00+02:00 Rencontre réseau ACsanté93 -  CCa - EH
    2016-09-20T18:30:00+02:00 Copil RMM
    2016-09-22 Journée Dépression Périnatale
    2016-09-26T19:00:00+02:00 Soirée Gala Maison des femmes à confirmer
    2016-09-29T19:30:00+02:00 Soirée Débat Clinique Vauban
    2016-10-03T12:00:00+02:00 Pot de départ Jessy
    2016-10-03T18:30:00+02:00 Réunion Gradation des soins
    2016-10-04T10:00:00+02:00 COPIL HYGIE
    2016-10-04T14:00:00+02:00 Veille documentaire
    2016-10-06T14:00:00+02:00 CLS Epinay-sur-Seine
    
    ********************************************
    Name: D-E ACL: owner   Calendar ID: xxxxxx@group.calendar.google.com
    2016-09-19 MAIL RAPPEL 22/09
    2016-09-19 PROPOSER DATE AMARENCO
    2016-09-19 CLINIQUE TOURNAN AVEC CARO
    2016-09-23 FAIRE MAIL VVF
    
    ********************************************
    Name: CP / RTT ACL: owner   Calendar ID: xxxxxx@group.calendar.google.com
    2016-09-21 CP/RTT EH
    2016-09-26 CP/RTT EH
    2016-10-03 Retour Sonia
    2016-11-04 CP/RTT EH
    2016-11-07 CP/RTT EH
    
    ********************************************
    Name: Obstétrique ACL: owner   Calendar ID: xxxxxx@group.calendar.google.com
    2016-09-23T09:30:00+02:00 Présentation RéMI + Réseau
    2016-09-29T18:00:00+02:00 Rencontre SF CH delafontaine
    2016-10-06T09:00:00+02:00 Réunion VFF /  CC + MD + CCa + DV
    2016-10-07T13:30:00+02:00 Séminaire SF
    2016-10-11T10:00:00+02:00 TIU - Club utilisateur
    2016-10-13 46ème journées de le SFMP
    2016-10-13T14:30:00+02:00 Réunion SF réseau de proximité CD 93
    2016-10-17 CLS Tremblay à confirmer
    2016-10-18 CLS Tremblay à confirmer
    2016-11-07 FORMATION EPP
    
    ********************************************
    Name: Coord Admin ACL: owner   Calendar ID: xxxxxx@group.calendar.google.com
    2016-09-26T12:00:00+02:00 Dispo FFRSP
    2016-09-27T12:00:00+02:00 Dispo FFRSP
    2016-10-11T12:00:00+02:00 Dispo FFRSP
    2016-10-18 Journée ReSIF
    
    ********************************************
    Name: Site web ACL: owner   Calendar ID: myemail@gmail.com
    2016-09-22T08:30:00+02:00 Journée Dépression Périnatale
    2016-09-26 Journée de lutte contre la douleur
    2016-09-26T20:30:00+02:00 Soirée : Ensemble pour la maison de la femme
    2016-09-29T19:30:00+02:00 Soirée Débat Clinique Vauban
    2016-10-06 Entretien Bichat
    2016-10-12 46ème journées de le SFMP
    2016-10-14T09:00:00+02:00 11ème Journée des Réseaux
    2016-11-07T09:00:00+01:00 FORMATION EPP
    2016-11-08T09:00:00+01:00 FORMATION EPP
    2016-11-09T09:00:00+01:00 FORMATION EPP
    Getting the upcoming 10 events
    2016-09-22T08:30:00+02:00 Journée Dépression Périnatale
    2016-09-26 Journée de lutte contre la douleur
    2016-09-26T20:30:00+02:00 Soirée : Ensemble pour la maison de la femme
    2016-09-29T19:30:00+02:00 Soirée Débat Clinique Vauban
    2016-10-06 Entretien Bichat
    2016-10-12 46ème journées de le SFMP
    2016-10-14T09:00:00+02:00 11ème Journée des Réseaux
    2016-11-07T09:00:00+01:00 FORMATION EPP
    2016-11-08T09:00:00+01:00 FORMATION EPP
    2016-11-09T09:00:00+01:00 FORMATION EPP

    But it is still saying my calendar is empty on Alfred.

     

    Sorry to bother you with all this... But I really don't know anything about python :/

     

    EDIT : An event scheduled for today is missing from what the terminal pulled. It is an event from the calendar Transversal.

    I also added an event and launched again the quickstart.py, the ne event was properly added (for tomorrow), but the "Tomorrow" in Alfred is also giving me back an empty hand.

  9. Hi Jeffsui,

     

    I have finally a new message when typing today or tomorrow. It says my calendar is empty, when in fact it is not.

    I have 6 calendars in My Calendars, so I tried to add an event today for each. Still nothing to show.

     

    Enabling agenda for an account usually gives access to all the agendas. And I can now see "Alfred Today Workflow" in the authorized applications.

     

    15:55:04 workflow.py:2156 DEBUG    Workflow version : 3.9.7
    15:55:04 workflow.py:1568 DEBUG    Reading settings from `/Users/EH/Library/Application Support/Alfred 3/Workflow Data/org.jeef.today/settings.json` ...
    15:55:04 workflow.py:2438 DEBUG    Update check not due
    15:55:04 workflow.py:1799 DEBUG    Loading cached data from : /Users/EH/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/org.jeef.today/__workflow_update_status.cpickle
    15:55:04 workflow.py:2368 DEBUG    update_data : {u'available': False}
    15:55:04 workflow.py:1335 DEBUG    Opening workflow log file
    15:55:04 workflow.py:2194 DEBUG    Workflow finished in 0.082 seconds.
    15:55:06 today.py:280 INFO             ______          __
    15:55:06 today.py:281 INFO            /_  __/___  ____/ /___ ___  __
    15:55:06 today.py:282 INFO             / / / __ \/ __  / __ `/ / / /
    15:55:06 today.py:283 INFO            / / / /_/ / /_/ / /_/ / /_/ /
    15:55:06 today.py:284 INFO           /_/  \____/\__,_/\__,_/\__, /
    15:55:06 today.py:285 INFO                                 /____/
    15:55:06 workflow.py:2156 DEBUG    Workflow version : 3.9.7
    15:55:06 workflow.py:1568 DEBUG    Reading settings from `/Users/EH/Library/Application Support/Alfred 3/Workflow Data/org.jeef.today/settings.json` ...
    15:55:06 workflow.py:2438 DEBUG    Update check not due
    15:55:06 workflow.py:1799 DEBUG    Loading cached data from : /Users/EH/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/org.jeef.today/__workflow_update_status.cpickle
    15:55:06 workflow.py:2368 DEBUG    update_data : {u'available': False}
    15:55:06 today.py:41 DEBUG    query : u'1'
    15:55:06 today.py:83 DEBUG    -- FG: CacheKey (Google)   google.Tomorrow
    15:55:06 today.py:84 DEBUG    -- FG: CacheKey (Exchange) exchange.Tomorrow
    15:55:06 today.py:99 DEBUG    Max Age: 10  Cache Age Google:  136   Exchange: 0
    15:55:06 today.py:121 DEBUG    --FG:   Use Exchange:False
    15:55:06 today.py:122 DEBUG    --FG: Exchange Fresh:False
    15:55:06 query_google.py:13 INFO     BG: Querying Google Calendar
    15:55:06 query_google.py:14 INFO     BG:     param: start_google = 2016-09-17T04:00:01.297339+00:00
    15:55:06 query_google.py:15 INFO     BG:     param:   end_google = 2016-09-18T03:59:59.297386+00:00
    15:55:06 query_google.py:16 INFO     BG:     param:   date_offset = 1
    15:55:06 query_google.py:61 INFO     * Google returned 0 events
    15:55:06 workflow.py:1834 DEBUG    Cached data saved at : /Users/EH/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/org.jeef.today/google.Tomorrow.cpickle
    15:55:06 today.py:242 INFO     Event Count   Google: 0
    15:55:06 today.py:243 INFO     Event Count Exchange: 0
    15:55:06 today.py:244 INFO     Event Count    Total: 0
    15:55:06 workflow.py:2351 DEBUG    Set last run version : 3.9.7
    15:55:06 workflow.py:2194 DEBUG    Workflow finished in 0.435 seconds.
    15:55:07 today.py:280 INFO             ______          __
    15:55:07 today.py:281 INFO            /_  __/___  ____/ /___ ___  __
    15:55:07 today.py:282 INFO             / / / __ \/ __  / __ `/ / / /
    15:55:07 today.py:283 INFO            / / / /_/ / /_/ / /_/ / /_/ /
    15:55:07 today.py:284 INFO           /_/  \____/\__,_/\__,_/\__, /
    15:55:07 today.py:285 INFO                                 /____/
    15:55:07 workflow.py:2156 DEBUG    Workflow version : 3.9.7
    15:55:07 workflow.py:1568 DEBUG    Reading settings from `/Users/EH/Library/Application Support/Alfred 3/Workflow Data/org.jeef.today/settings.json` ...
    15:55:07 workflow.py:2438 DEBUG    Update check not due
    15:55:07 workflow.py:1799 DEBUG    Loading cached data from : /Users/EH/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/org.jeef.today/__workflow_update_status.cpickle
    15:55:07 workflow.py:2368 DEBUG    update_data : {u'available': False}
    15:55:07 today.py:41 DEBUG    query : u'0'
    15:55:07 today.py:83 DEBUG    -- FG: CacheKey (Google)   google.Today
    15:55:07 today.py:84 DEBUG    -- FG: CacheKey (Exchange) exchange.Today
    15:55:07 today.py:99 DEBUG    Max Age: 10  Cache Age Google:  137   Exchange: 0
    15:55:07 today.py:121 DEBUG    --FG:   Use Exchange:False
    15:55:07 today.py:122 DEBUG    --FG: Exchange Fresh:False
    15:55:07 query_google.py:13 INFO     BG: Querying Google Calendar
    15:55:07 query_google.py:14 INFO     BG:     param: start_google = 2016-09-16T04:00:01.165240+00:00
    15:55:07 query_google.py:15 INFO     BG:     param:   end_google = 2016-09-17T03:59:59.165285+00:00
    15:55:07 query_google.py:16 INFO     BG:     param:   date_offset = 0
    15:55:07 query_google.py:61 INFO     * Google returned 0 events
    15:55:07 workflow.py:1834 DEBUG    Cached data saved at : /Users/EH/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/org.jeef.today/google.Today.cpickle
    15:55:07 today.py:242 INFO     Event Count   Google: 0
    15:55:07 today.py:243 INFO     Event Count Exchange: 0
    15:55:07 today.py:244 INFO     Event Count    Total: 0
    15:55:07 workflow.py:2351 DEBUG    Set last run version : 3.9.7
    15:55:07 workflow.py:2194 DEBUG    Workflow finished in 0.361 seconds.
    15:55:21 today.py:280 INFO             ______          __
    15:55:21 today.py:281 INFO            /_  __/___  ____/ /___ ___  __
    15:55:21 today.py:282 INFO             / / / __ \/ __  / __ `/ / / /
    15:55:21 today.py:283 INFO            / / / /_/ / /_/ / /_/ / /_/ /
    15:55:21 today.py:284 INFO           /_/  \____/\__,_/\__,_/\__, /
    15:55:21 today.py:285 INFO                                 /____/
    15:55:21 workflow.py:2156 DEBUG    Workflow version : 3.9.7
    15:55:21 workflow.py:1568 DEBUG    Reading settings from `/Users/EH/Library/Application Support/Alfred 3/Workflow Data/org.jeef.today/settings.json` ...
    15:55:21 workflow.py:2438 DEBUG    Update check not due
    15:55:21 workflow.py:1799 DEBUG    Loading cached data from : /Users/EH/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/org.jeef.today/__workflow_update_status.cpickle
    15:55:21 workflow.py:2368 DEBUG    update_data : {u'available': False}
    15:55:21 today.py:41 DEBUG    query : u'1'
    15:55:21 today.py:83 DEBUG    -- FG: CacheKey (Google)   google.Tomorrow
    15:55:21 today.py:84 DEBUG    -- FG: CacheKey (Exchange) exchange.Tomorrow
    15:55:21 today.py:99 DEBUG    Max Age: 10  Cache Age Google:  15   Exchange: 0
    15:55:21 today.py:121 DEBUG    --FG:   Use Exchange:False
    15:55:21 today.py:122 DEBUG    --FG: Exchange Fresh:False
    15:55:21 query_google.py:13 INFO     BG: Querying Google Calendar
    15:55:21 query_google.py:14 INFO     BG:     param: start_google = 2016-09-17T04:00:01.875515+00:00
    15:55:21 query_google.py:15 INFO     BG:     param:   end_google = 2016-09-18T03:59:59.875562+00:00
    15:55:21 query_google.py:16 INFO     BG:     param:   date_offset = 1
    15:55:22 query_google.py:61 INFO     * Google returned 0 events
    15:55:22 workflow.py:1834 DEBUG    Cached data saved at : /Users/EH/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/org.jeef.today/google.Tomorrow.cpickle
    15:55:22 today.py:242 INFO     Event Count   Google: 0
    15:55:22 today.py:243 INFO     Event Count Exchange: 0
    15:55:22 today.py:244 INFO     Event Count    Total: 0
    15:55:22 workflow.py:2351 DEBUG    Set last run version : 3.9.7
    15:55:22 workflow.py:2194 DEBUG    Workflow finished in 0.381 seconds.

    Logs seems ok, or I missed something wrong here ?

  10. Thanks a lot for your hard work on this issue.

     

    Solution 3 in your previous post didn't work for me. Here is what Terminal showed during the process if this may help :

     

    If your browser is on a different machine then exit and re-run this
    application with the command-line parameter 
    
      --noauth_local_webserver
    
    Traceback (most recent call last):
      File "authorize_google.py", line 64, in <module>
        main()
      File "authorize_google.py", line 60, in main
        credentials = get_credentials()
      File "authorize_google.py", line 53, in get_credentials
        credentials = tools.run_flow(flow, store, flags, http=HTTP_INSTANCE)
      File "lib/oauth2client/util.py", line 135, in positional_wrapper
        return wrapped(*args, **kwargs)
      File "lib/oauth2client/tools.py", line 235, in run_flow
        credential = flow.step2_exchange(code, http=http)
      File "lib/oauth2client/util.py", line 135, in positional_wrapper
        return wrapped(*args, **kwargs)
      File "lib/oauth2client/client.py", line 2117, in step2_exchange
        headers=headers)
      File "lib/httplib2/__init__.py", line 1609, in request
        (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
      File "lib/httplib2/__init__.py", line 1351, in _request
        (response, content) = self._conn_request(conn, request_uri, method, body, headers)
      File "lib/httplib2/__init__.py", line 1272, in _conn_request
        conn.connect()
      File "lib/httplib2/__init__.py", line 1036, in connect
        self.disable_ssl_certificate_validation, self.ca_certs)
      File "lib/httplib2/__init__.py", line 80, in _ssl_wrap_socket
        cert_reqs=cert_reqs, ca_certs=ca_certs)
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 911, in wrap_socket
        ciphers=ciphers)
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 520, in __init__
        self._context.load_verify_locations(ca_certs)
    IOError: [Errno 2] No such file or directory

     

×
×
  • Create New...