{"action":"created","issue":{"url":"https://api.github.com/repos/sirfoga/pygce/issues/4","repository_url":"https://api.github.com/repos/sirfoga/pygce","labels_url":"https://api.github.com/repos/sirfoga/pygce/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/sirfoga/pygce/issues/4/comments","events_url":"https://api.github.com/repos/sirfoga/pygce/issues/4/events","html_url":"https://github.com/sirfoga/pygce/issues/4","id":366340946,"node_id":"MDU6SXNzdWUzNjYzNDA5NDY=","number":4,"title":"'NoneType' object has no attribute 'date'","user":{"login":"eastabrooka","id":11888681,"node_id":"MDQ6VXNlcjExODg4Njgx","avatar_url":"https://avatars1.githubusercontent.com/u/11888681?v=4","gravatar_id":"","url":"https://api.github.com/users/eastabrooka","html_url":"https://github.com/eastabrooka","followers_url":"https://api.github.com/users/eastabrooka/followers","following_url":"https://api.github.com/users/eastabrooka/following{/other_user}","gists_url":"https://api.github.com/users/eastabrooka/gists{/gist_id}","starred_url":"https://api.github.com/users/eastabrooka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eastabrooka/subscriptions","organizations_url":"https://api.github.com/users/eastabrooka/orgs","repos_url":"https://api.github.com/users/eastabrooka/repos","events_url":"https://api.github.com/users/eastabrooka/events{/privacy}","received_events_url":"https://api.github.com/users/eastabrooka/received_events","type":"User","site_admin":false},"labels":[{"id":580492210,"node_id":"MDU6TGFiZWw1ODA0OTIyMTA=","url":"https://api.github.com/repos/sirfoga/pygce/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-03T13:32:54Z","updated_at":"2018-10-06T08:50:04Z","closed_at":null,"author_association":"NONE","body":"Hi, \r\nSo 1st, I wanted to say a Massive Thankyou. \r\nI've been pestering the Garmin people for API and they turn you away saying - Pay the Money, or Jog on!\r\n\r\nSo - I have got Virtualbox, and installed Ubuntu LTS 18.04.1.\r\n\r\nI have got Python 3.6 on Ubuntu - This satisfies some of the min installation critera of Numpy, \r\nhttps://stackoverflow.com/questions/42662104/how-to-install-pip-for-python-3-6-on-ubuntu-16-10\r\n\r\nAnyway - I have run the Setup for pygce as you have suggested in your detailed Readme. \r\nI have given the correct parameters, to the pygce application. \r\n\r\nIt starts Chromium in Automation mode.  It logs in successfully as me. \r\nIt goes to \"https://connect.garmin.com/modern/\" and then stops with the following exception. \r\n\r\nGetting day 2018-10-02 00:00:00\r\nGetting user dashboard from https://connect.garmin.com/modern/\r\nMessage:\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/pygce\", line 11, in <module>\r\n    load_entry_point('pygce==1.9.8', 'console_scripts', 'pygce')()\r\n  File \"/home/eastabrooka/.local/lib/python3.6/site-packages/pygce/cli.py\", line 133, in main\r\n    bot.save_json_days(days[0], days[1], path_out)\r\n  File \"/home/eastabrooka/.local/lib/python3.6/site-packages/pygce/models/bot.py\", line 227, in save_json_days\r\n    print(\"Parsing day\", str(d.date))\r\nAttributeError: 'NoneType' object has no attribute 'date'\r\n\r\n\r\n## Expected Behavior\r\nThe pygce to pull the daily-summary for yesterday\r\n\r\n## Actual Behavior\r\nException. \r\n\r\n## Steps to Reproduce the Problem\r\n  1. pygce -user user@account.com -p password -c /home/eastabrooka/Downloads/chromedriver -d 2018-10-02 -f json -o ./output.txt\r\n  1.exception occurs. \r\n\r\n## Specifications\r\n\r\n  - pygce version (check `pip3 show pygce`):\r\nName: pygce\r\nVersion: 1.9.8\r\nSummary: pygce is an unofficial Garmin Connect data exporter.\r\nHome-page: https://github.com/sirfoga/pygce\r\nAuthor: sirfoga\r\nAuthor-email: sirfoga@protonmail.com\r\nLicense: UNKNOWN\r\nLocation: /home/eastabrooka/.local/lib/python3.6/site-packages\r\nRequires: bs4, pyhal, lxml, numpy, sklearn\r\n\r\n\r\n  - Platform (e.g `Windows 8`, `Mac OSX Sierra`, `Ubuntu 18.04` ...):\r\nUbuntu LTS 18.04.1.\r\n\r\n  - Url of connection (e.g `https://connect.garmin.com`):\r\nStock - Whatever Pygce uses as default \r\n\r\n  - Python version (check `python --version`):\r\n\r\neastabrooka@GarminScraper:~/pygce$ python3 --version\r\nPython 3.6.6\r\n\r\n\r\nThank you again for posting Pygce, its very useful !\r\n"},"comment":{"url":"https://api.github.com/repos/sirfoga/pygce/issues/comments/427557694","html_url":"https://github.com/sirfoga/pygce/issues/4#issuecomment-427557694","issue_url":"https://api.github.com/repos/sirfoga/pygce/issues/4","id":427557694,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNzU1NzY5NA==","user":{"login":"eastabrooka","id":11888681,"node_id":"MDQ6VXNlcjExODg4Njgx","avatar_url":"https://avatars1.githubusercontent.com/u/11888681?v=4","gravatar_id":"","url":"https://api.github.com/users/eastabrooka","html_url":"https://github.com/eastabrooka","followers_url":"https://api.github.com/users/eastabrooka/followers","following_url":"https://api.github.com/users/eastabrooka/following{/other_user}","gists_url":"https://api.github.com/users/eastabrooka/gists{/gist_id}","starred_url":"https://api.github.com/users/eastabrooka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eastabrooka/subscriptions","organizations_url":"https://api.github.com/users/eastabrooka/orgs","repos_url":"https://api.github.com/users/eastabrooka/repos","events_url":"https://api.github.com/users/eastabrooka/events{/privacy}","received_events_url":"https://api.github.com/users/eastabrooka/received_events","type":"User","site_admin":false},"created_at":"2018-10-06T08:50:04Z","updated_at":"2018-10-06T08:50:04Z","author_association":"NONE","body":"Hi Sirfoga, \r\n\r\nThanks again for looking into this, but I think I still have the issue. \r\nI have screen-capped the process I have taken, in checking out the update you have pushed, and the error that I encounter. \r\nI have uploaded it here. https://www.youtube.com/watch?v=wkGiytDYWVg\r\n\r\nI hope this helps. I don't fully know why Garmin would give some users a ID and some users a Name in the URL Bar. \r\n\r\n( I just wish they had just given us an API ! ) \r\nThanks Again"}}
{"actor":{"display_login":"eastabrooka"}}