Talks and posters will be presented in the Department of Earth Sciences in central Cambridge, situated 15 minutes walk from the train station and around the corner from the accommodation. Lunch and refreshments will be provided during the conference.

--> -->

 
 
<type 'exceptions.IOError'>
Python 2.7.6: /usr/bin/python
Sun Mar 26 12:04:10 2017

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /home/bullard/bga2013/public_html/cgi-bin/getProgramme.py in ()
    191     output+="<br><hr width=60%><br>"
    192     return output
    193 if __name__ == '__main__':
    194    print "Content-type:text/html\n\n<br>"
=>  195    print main(sys.argv)
main = <function main>, sys = <module 'sys' (built-in)>, sys.argv = ['/home/bullard/bga2013/public_html/cgi-bin/getProgramme.py', '--noauth_local_webserver']
 /home/bullard/bga2013/public_html/cgi-bin/getProgramme.py in main(argv=['/home/bullard/bga2013/public_html/cgi-bin/getProgramme.py'])
    128     #
    129     #   https://developers.google.com/api-client-library/python/start/get_started
=>  130     programmeResponse=service.events().list(calendarId='9juph4bo6inhjhtif5b409ptq0@group.calendar.google.com',orderBy='startTime',singleEvents=True,showDeleted=False).execute()
    131     abstractResponse=service.events().list(calendarId='ia177e8ckmqn6j86b23hotrr5s@group.calendar.google.com',orderBy='startTime',singleEvents=True,showDeleted=False).execute()
    132     output=parseCalendars(programmeResponse,abstractResponse)
programmeResponse undefined, service = <apiclient.discovery.Resource object>, service.events = <bound method Resource.methodResource of <apiclient.discovery.Resource object>>, ).list undefined, calendarId undefined, orderBy undefined, singleEvents undefined, builtin True = True, showDeleted undefined, builtin False = False, ).execute undefined
 /home/bullard/bga2013/calendarAPI/oauth2client/util.py in positional_wrapper(*args=(<apiclient.http.HttpRequest object>,), **kwargs={})
    118         else: # IGNORE
    119           pass
=>  120       return wrapped(*args, **kwargs)
    121     return positional_wrapper
    122 
wrapped = <function execute>, args = (<apiclient.http.HttpRequest object>,), kwargs = {}
 /home/bullard/bga2013/calendarAPI/apiclient/http.py in execute(self=<apiclient.http.HttpRequest object>, http=<httplib2.Http object>)
    674       resp, content = http.request(self.uri, method=self.method,
    675                                    body=self.body,
=>  676                                    headers=self.headers)
    677       if resp.status >= 300:
    678         raise HttpError(resp, content, uri=self.uri)
headers undefined, self = <apiclient.http.HttpRequest object>, self.headers = {'Authorization': u'Bearer ya29.1.AADtN_Vnjm81cUnYF0Nx0fTTtgBkJlSrm0bg6iCtpz8GTZaX3qfoaYBh83pPQn2IbQ', 'accept': 'application/json', 'accept-encoding': 'gzip, deflate', 'content-length': '0', 'user-agent': 'google-api-python-client/1.0'}
 /home/bullard/bga2013/calendarAPI/oauth2client/util.py in positional_wrapper(*args=(u'https://www.googleapis.com/calendar/v3/calendars...Time&showDeleted=false&alt=json&singleEvents=true',), **kwargs={'body': None, 'headers': {'Authorization': u'Bearer ya29.1.AADtN_Vnjm81cUnYF0Nx0fTTtgBkJlSrm0bg6iCtpz8GTZaX3qfoaYBh83pPQn2IbQ', 'accept': 'application/json', 'accept-encoding': 'gzip, deflate', 'content-length': '0', 'user-agent': 'google-api-python-client/1.0'}, 'method': u'GET'})
    118         else: # IGNORE
    119           pass
=>  120       return wrapped(*args, **kwargs)
    121     return positional_wrapper
    122 
wrapped = <function new_request>, args = (u'https://www.googleapis.com/calendar/v3/calendars...Time&showDeleted=false&alt=json&singleEvents=true',), kwargs = {'body': None, 'headers': {'Authorization': u'Bearer ya29.1.AADtN_Vnjm81cUnYF0Nx0fTTtgBkJlSrm0bg6iCtpz8GTZaX3qfoaYBh83pPQn2IbQ', 'accept': 'application/json', 'accept-encoding': 'gzip, deflate', 'content-length': '0', 'user-agent': 'google-api-python-client/1.0'}, 'method': u'GET'}
 /home/bullard/bga2013/calendarAPI/oauth2client/client.py in new_request(uri=u'https://www.googleapis.com/calendar/v3/calendars...Time&showDeleted=false&alt=json&singleEvents=true', method=u'GET', body=None, headers={'Authorization': u'Bearer ya29.1.AADtN_Vnjm81cUnYF0Nx0fTTtgBkJlSrm0bg6iCtpz8GTZaX3qfoaYBh83pPQn2IbQ', 'accept': 'application/json', 'accept-encoding': 'gzip, deflate', 'content-length': '0', 'user-agent': 'google-api-python-client/1.0'}, redirections=5, connection_type=None)
    423       if resp.status in [401, 403]:
    424         logger.info('Refreshing due to a %s' % str(resp.status))
=>  425         self._refresh(request_orig)
    426         self.apply(headers)
    427         return request_orig(uri, method, body, headers,
self = <oauth2client.client.OAuth2Credentials object>, self._refresh = <bound method OAuth2Credentials._refresh of <oauth2client.client.OAuth2Credentials object>>, request_orig = <bound method Http.request of <httplib2.Http object>>
 /home/bullard/bga2013/calendarAPI/oauth2client/client.py in _refresh(self=<oauth2client.client.OAuth2Credentials object>, http_request=<bound method Http.request of <httplib2.Http object>>)
    581           self._updateFromCredential(new_cred)
    582         else:
=>  583           self._do_refresh_request(http_request)
    584       finally:
    585         self.store.release_lock()
self = <oauth2client.client.OAuth2Credentials object>, self._do_refresh_request = <bound method OAuth2Credentials._do_refresh_requ...f <oauth2client.client.OAuth2Credentials object>>, http_request = <bound method Http.request of <httplib2.Http object>>
 /home/bullard/bga2013/calendarAPI/oauth2client/client.py in _do_refresh_request(self=<oauth2client.client.OAuth2Credentials object>, http_request=<bound method Http.request of <httplib2.Http object>>)
    612         self.token_expiry = None
    613       if self.store:
=>  614         self.store.locked_put(self)
    615     else:
    616       # An {'error':...} response body means the token is expired or revoked,
self = <oauth2client.client.OAuth2Credentials object>, self.store = <oauth2client.file.Storage object>, self.store.locked_put = <bound method Storage.locked_put of <oauth2client.file.Storage object>>
 /home/bullard/bga2013/calendarAPI/oauth2client/file.py in locked_put(self=<oauth2client.file.Storage object>, credentials=<oauth2client.client.OAuth2Credentials object>)
    111     self._create_file_if_needed()
    112     self._validate_file()
=>  113     f = open(self._filename, 'wb')
    114     f.write(credentials.to_json())
    115     f.close()
f undefined, builtin open = <built-in function open>, self = <oauth2client.file.Storage object>, self._filename = '/home/bullard/bga2013/calendarAPI/programme.dat'

<type 'exceptions.IOError'>: [Errno 13] Permission denied: '/home/bullard/bga2013/calendarAPI/programme.dat'
      args = (13, 'Permission denied')
      errno = 13
      filename = '/home/bullard/bga2013/calendarAPI/programme.dat'
      message = ''
      strerror = 'Permission denied'

Find us on:
  

In Association With:


BGA BP BG Group