linbug / Glock

Clock in and out of google calendar events from the command line

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Glock does not ask for authorization, nor send events to my calendar

jeffalstott opened this issue · comments

I can run track/untrack, but nothing appears to happen. My file:

#!/usr/bin/env python
le_nom_de_calendrier = "jeff.... (my email address)

...

le_clef_dapi = '228084.... (what was there before)
le_secret_de_client = '0IzXQ9J.... (what was there before)

what happens if you change 'calendar.dat' to 'calender1.dat'?

No change in behavior.

On Sat, Oct 18, 2014 at 6:12 PM, linbug notifications@github.com wrote:

what happens if you change 'calendar.dat' to 'calender1.dat'?


Reply to this email directly or view it on GitHub
#5 (comment).

It had something to do with my Python environment. When I made a fresh environment it all worked.

I think the issue is with httplib2. The one that the Google API installs automatically (from a Google repository) may be different from the one that others download from PyPI, etc. I will look into this further.

I am now using a Python environment with appropriate versions of the packages loaded. I have altered the top of googlecal_functional.py to be:
#!/Users/jeff/anaconda3/envs/Glock/bin/python

Which denotes the Python in my "Glock" virtual environment, which has the appropriate packages installed.