Skip to content

Instantly share code, notes, and snippets.

@krusty
Created June 21, 2012 17:27
Show Gist options
  • Save krusty/2967168 to your computer and use it in GitHub Desktop.
Save krusty/2967168 to your computer and use it in GitHub Desktop.
012-06-21 14:18:59,051 - root - 5348 - ERROR [127.0.0.1 ALL DEV 5348] - generate_alerts_from_subscription error: 'NoneType' object does not support item assignment
Traceback (most recent call last):
File "/opt/source/src/dataaccess/alert_action.py", line 672, in generate_alerts_from_subscription
subscription.update_last_alert_rescan()
File "/opt/source/src/dataaccess/Containers.py", line 896, in update_last_alert_rescan
mitem.update_last_alert_rescan(date=date)
File "/opt/source/src/dataaccess/Containers.py", line 754, in update_last_alert_rescan
self._update_track_data('alert_rescan', date)
File "/opt/source/src/dataaccess/Containers.py", line 748, in _update_track_data
self['track_data']['last_%s' % (date_type,)] = date.isoformat()
TypeError: 'NoneType' object does not support item assignment
2012-06-21 14:18:59,058 - root - 5348 - ERROR [127.0.0.1 ALL DEV 5348] - aggregator_search_job error: 'NoneType' object does not support item assignment
Traceback (most recent call last):
File "/opt/source/src/workers/smb_search_jobs.py", line 115, in aggregator_search_job
aggregate_search(user_id, identity)
File "/opt/source/src/workers/smb_search_jobs.py", line 158, in aggregate_search
verify_new_instances_for_existing_businesses(sg, groups)
File "/opt/source/src/dataaccess/alert_action.py", line 1032, in verify_new_instances_for_existing_businesses
generate_alerts_from_subscription(subscription, subscription_group=subscription_group)
File "/opt/source/src/dataaccess/alert_action.py", line 820, in generate_alerts_from_subscription
raise e
TypeError: 'NoneType' object does not support item assignment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment