# Pastebin NfvUXcu9 veyepar) juser@storage:~/veyepar/dj/scripts$ python addeps.py --test /home/juser/.virtualenvs/veyepar/lib/python3.5/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: . """) working {} /usr/lib/python3/dist-packages/urllib3/connectionpool.py:845: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings InsecureRequestWarning) '\n\n{\n "schedule": [{\n "' /home/juser/.virtualenvs/veyepar/lib/python3.5/site-packages/oauth2client/_helpers.py:255: UserWarning: Cannot access credentials.json: No such file or directory warnings.warn(_MISSING_FILE_MESSAGE.format(filename)) Traceback (most recent call last): File "/home/juser/.virtualenvs/veyepar/lib/python3.5/site-packages/oauth2client/clientsecrets.py", line 121, in _loadfile with open(filename, 'r') as fp: FileNotFoundError: [Errno 2] No such file or directory: 'client_secret.json' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "addeps.py", line 5288, in p.main() File "/srv/storage/veyepar/dj/scripts/process.py", line 619, in main ret = self.work() File "addeps.py", line 5272, in work self.one_show(show) File "addeps.py", line 5009, in one_show return self.pyconau18(schedule, show) File "addeps.py", line 1786, in pyconau18 '1jVJ__7GeaNhQMJ7u1GDyykR1KfQLv1d-ltiTHRkYSOU' File "addeps.py", line 232, in goog_sheet 'client_secret.json', SCOPES) File "/home/juser/.virtualenvs/veyepar/lib/python3.5/site-packages/oauth2client/_helpers.py", line 133, in positional_wrapper return wrapped(*args, **kwargs) File "/home/juser/.virtualenvs/veyepar/lib/python3.5/site-packages/oauth2client/client.py", line 2135, in flow_from_clientsecrets cache=cache) File "/home/juser/.virtualenvs/veyepar/lib/python3.5/site-packages/oauth2client/clientsecrets.py", line 165, in loadfile return _loadfile(filename) File "/home/juser/.virtualenvs/veyepar/lib/python3.5/site-packages/oauth2client/clientsecrets.py", line 125, in _loadfile exc.strerror, exc.errno) oauth2client.clientsecrets.InvalidClientSecretsError: ('Error opening file', 'client_secret.json', 'No such file or directory', 2) (veyepar) juser@storage:~/veyepar/dj/scripts$ cp client_secrets.json client_secret.json (veyepar) juser@storage:~/veyepar/dj/scripts$ python addeps.py --test /home/juser/.virtualenvs/veyepar/lib/python3.5/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: . """) working {} /usr/lib/python3/dist-packages/urllib3/connectionpool.py:845: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings InsecureRequestWarning) '\n\n{\n "schedule": [{\n "' /home/juser/.virtualenvs/veyepar/lib/python3.5/site-packages/oauth2client/_helpers.py:255: UserWarning: Cannot access credentials.json: No such file or directory warnings.warn(_MISSING_FILE_MESSAGE.format(filename)) Traceback (most recent call last): File "addeps.py", line 5288, in p.main() File "/srv/storage/veyepar/dj/scripts/process.py", line 619, in main ret = self.work() File "addeps.py", line 5272, in work self.one_show(show) File "addeps.py", line 5009, in one_show return self.pyconau18(schedule, show) File "addeps.py", line 1786, in pyconau18 '1jVJ__7GeaNhQMJ7u1GDyykR1KfQLv1d-ltiTHRkYSOU' File "addeps.py", line 233, in goog_sheet creds = oauth2client.tools.run_flow(flow, store) AttributeError: module 'oauth2client' has no attribute 'tools'