Traceback (most recent call last):

 "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)

 "/Users/smidj/.virtualenvs/ls/lib/python2.7/site-packages/joblib/pool.py", line 552, in <lambda>
atexit.register(lambda: delete_folder(pool_folder))TypeError: 'NoneType' object is not callable
Traceback (most recent call last):


 "/home/gopal_admin/firebase-rest-api/firebase-env/lib/python3.5/site-packages/flask/app.py", line 2309, in __call__

return self.wsgi_app(environ, start_response)


 "/home/gopal_admin/firebase-rest-api/firebase-env/lib/python3.5/site-packages/flask/app.py", line 2295, in wsgi_app

response = self.handle_exception(e)


 "/home/gopal_admin/firebase-rest-api/firebase-env/lib/python3.5/site-packages/flask_restful/__init__.py", line 273, in error_router

return original_handler(e)


 "/home/gopal_admin/firebase-rest-api/firebase-env/lib/python3.5/site-packages/flask/app.py", line 1741, in handle_exception

reraise(exc_type, exc_value, tb)


 "/home/gopal_admin/firebase-rest-api/firebase-env/lib/python3.5/site-packages/flask/_compat.py", line 34, in reraise

raise value.with_traceback(tb)


 "/home/gopal_admin/firebase-rest-api/firebase-env/lib/python3.5/site-packages/flask/app.py", line 2292, in wsgi_app

response = self.full_dispatch_request()


 "/home/gopal_admin/firebase-rest-api/firebase-env/lib/python3.5/site-packages/flask/app.py", line 1815, in full_dispatch_request

rv = self.handle_user_exception(e)


 "/home/gopal_admin/firebase-rest-api/firebase-env/lib/python3.5/site-packages/flask_restful/__init__.py", line 273, in error_router

return original_handler(e)


 "/home/gopal_admin/firebase-rest-api/firebase-env/lib/python3.5/site-packages/flask/app.py", line 1718, in handle_user_exception

reraise(exc_type, exc_value, tb)


 "/home/gopal_admin/firebase-rest-api/firebase-env/lib/python3.5/site-packages/flask/_compat.py", line 34, in reraise

raise value.with_traceback(tb)


 "/home/gopal_admin/firebase-rest-api/firebase-env/lib/python3.5/site-packages/flask/app.py", line 1813, in full_dispatch_request

rv = self.dispatch_request()


 "/home/gopal_admin/firebase-rest-api/firebase-env/lib/python3.5/site-packages/flask/app.py", line 1799, in dispatch_request

return self.view_functions[rule.endpoint](**req.view_args)


 "/home/gopal_admin/firebase-rest-api/firebase-env/lib/python3.5/site-packages/flask_restful/__init__.py", line 480, in wrapper

resp = resource(*args, **kwargs)


 "/home/gopal_admin/firebase-rest-api/firebase-env/lib/python3.5/site-packages/flask/views.py", line 88, in view

return self.dispatch_request(*args, **kwargs)


 "/home/gopal_admin/firebase-rest-api/firebase-env/lib/python3.5/site-packages/flask_restful/__init__.py", line 595, in dispatch_request

resp = meth(*args, **kwargs)


 "/home/gopal_admin/firebase-rest-api/firebase/python/app.py", line 20, in get

analytics.analytics_data_into_db()


 "/home/gopal_admin/firebase-rest-api/firebase/python/analytics_data_into_db.py", line 152, in analytics_data_into_db

main()


 "/home/gopal_admin/firebase-rest-api/firebase/python/analytics_data_into_db.py", line 138, in main

analytics = initialize_analyticsreporting()


 "/home/gopal_admin/firebase-rest-api/firebase/python/analytics_data_into_db.py", line 25, in initialize_analyticsreporting

KEY_FILE_LOCATION, SCOPES)


 "/home/gopal_admin/firebase-rest-api/firebase-env/lib/python3.5/site-packages/oauth2client/service_account.py", line 224, in from_json_keyfile_name

revoke_uri=revoke_uri)


 "/home/gopal_admin/firebase-rest-api/firebase-env/lib/python3.5/site-packages/oauth2client/service_account.py", line 186, in _from_parsed_json_keyfile

signer = crypt.Signer.from_string(private_key_pkcs8_pem)


 "/home/gopal_admin/firebase-rest-api/firebase-env/lib/python3.5/site-packages/oauth2client/_pycrypto_crypt.py", line 118, in from_string

pkey = RSA.importKey(parsed_pem_key)


 "/home/gopal_admin/firebase-rest-api/firebase-env/lib/python3.5/site-packages/Crypto/PublicKey/RSA.py", line 739, in import_key

return _import_keyDER(der, passphrase)


 "/home/gopal_admin/firebase-rest-api/firebase-env/lib/python3.5/site-packages/Crypto/PublicKey/RSA.py", line 683, in _import_keyDER

raise ValueError("RSA key format is not supported")
ValueError: RSA key format is not supported
