Skip to content

Instantly share code, notes, and snippets.

@krusty
Created April 24, 2012 21:14
Show Gist options
  • Save krusty/2483875 to your computer and use it in GitHub Desktop.
Save krusty/2483875 to your computer and use it in GitHub Desktop.
2012-04-24 18:12:38,094 - root - 10516 - INFO [127.0.0.1 ALL DEV 10516] - aggregator_update_job states: [2, 2, 2, 2, 2, 2, 2, 2]
2012-04-24 18:12:40,186 - root - 10516 - INFO [127.0.0.1 ALL DEV 10516] - add_not_owner_alert: facebook
2012-04-24 18:12:41,938 - root - 10516 - WARNING [127.0.0.1 ALL DEV 10516] - HttpSource error: {"error":"Could not authenticate you.","request":"\/1\/account\/verify_credentials.json?include_entities=0"}
2012-04-24 18:12:41,940 - root - 10516 - WARNING [127.0.0.1 ALL DEV 10516] - HttpSource header: {'status': '401', 'content-length': '108', 'set-cookie': 'k=10.34.251.117.1335301962820029; path=/; expires=Tue, 01-May-12 21:12:42 GMT; domain=.twitter.com, guest_id=v1%3A13353019628231437; domain=.twitter.com; path=/; expires=Fri, 25-Apr-2014 09:12:42 GMT, _twitter_sess=BAh7CCIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo%250ASGFzaHsABjoKQHVzZWR7ADoPY3JlYXRlZF9hdGwrCEr8MuY2AToHaWQiJTFj%250AODg0ZTNlZTg3MzcyNjljY2E4YjdkZDJmYjk0YjBj--40cd17442127dd61b06bfb2b6733f52a260912c4; domain=.twitter.com; path=/; HttpOnly', 'expires': 'Tue, 24 Apr 2012 21:17:42 GMT', 'vary': 'Accept-Encoding', 'server': 'tfe', 'x-runtime': '0.00395', '-content-encoding': 'gzip', 'cache-control': 'no-cache, max-age=300', 'date': 'Tue, 24 Apr 2012 21:12:42 GMT', 'content-type': 'application/json; charset=utf-8', 'www-authenticate': 'OAuth realm="https://api.twitter.com"'}
2012-04-24 18:12:41,941 - root - 10516 - WARNING [127.0.0.1 ALL DEV 10516] - HttpSource content: {"error":"Could not authenticate you.","request":"\/1\/account\/verify_credentials.json?include_entities=0"}
2012-04-24 18:12:41,942 - root - 10516 - ERROR [127.0.0.1 ALL DEV 10516] - generate_alerts_from_subscription error: HttpSource request error: {"error":"Could not authenticate you.","request":"\/1\/account\/verify_credentials.json?include_entities=0"}
Traceback (most recent call last):
File "/opt/source/src/dataaccess/alert_action.py", line 702, in generate_alerts_from_subscription
elif not check_listing_ownership(c, i):
File "/opt/source/src/dataaccess/alert_action.py", line 713, in check_listing_ownership
return source.its_owned(instance, credentials)
File "/opt/source/src/dataaccess/sources/twitter_src.py", line 330, in its_owned
cred_inst = self.get_credentials_instance(identity=None, credentials=credentials)
File "/opt/source/src/dataaccess/sources/twitter_src.py", line 162, in get_credentials_instance
r = self.get_json_content(_base_user_verify_url, params, credentials)
File "/opt/source/src/dataaccess/sources/source.py", line 153, in get_json_content
return json.loads(self.get_content(url, params=params, credentials=credentials, usecache=usecache))
File "/opt/source/src/dataaccess/sources/source.py", line 209, in get_content
raise Exception('HttpSource request error: ' + err)
Exception: HttpSource request error: {"error":"Could not authenticate you.","request":"\/1\/account\/verify_credentials.json?include_entities=0"}
2012-04-24 18:12:41,960 - root - 10516 - ERROR [127.0.0.1 ALL DEV 10516] - aggregator_update_job error: HttpSource request error: {"error":"Could not authenticate you.","request":"\/1\/account\/verify_credentials.json?include_entities=0"}
Traceback (most recent call last):
File "/opt/source/src/workers/smb_update_jobs.py", line 114, in aggregator_update_job
aggregate_update(acct_id, bus_id, src_names)
File "/opt/source/src/workers/smb_update_jobs.py", line 158, in aggregate_update
generate_alerts_from_subscription(sub)
File "/opt/source/src/dataaccess/alert_action.py", line 709, in generate_alerts_from_subscription
raise e
Exception: HttpSource request error: {"error":"Could not authenticate you.","request":"\/1\/account\/verify_credentials.json?include_entities=0"}
2012-04-24 18:12:41,981 - root - 10516 - INFO [127.0.0.1 ALL DEV 10516] - get_update_state state: error
2012-04-24 18:13:26,303 - root - 10516 - INFO [127.0.0.1 ALL DEV 10516] - get_posts_state called
2012-04-24 18:13:26,308 - root - 10516 - INFO [127.0.0.1 ALL DEV 10516] - get_posts_state COMPLETE/PARTIAL
2012-04-24 18:13:26,309 - root - 10516 - INFO [127.0.0.1 ALL DEV 10516] - get_posts_state COMPLETE: 0:00:54.529863
2012-04-24 18:13:26,495 - root - 10516 - INFO [127.0.0.1 ALL DEV 10516] - get_posts_state in cache
2012-04-24 18:13:26,499 - root - 10516 - INFO [127.0.0.1 ALL DEV 10516] - get_posts_state state: complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment