Circular reference while putting item

Bug #1417616 reported by Andrii Ostapenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MagnetoDB
New
Medium
Unassigned

Bug Description

2015-02-03 13:47:46.229 3913 ERROR oslo_messaging.notify.notifier [-] Problem 'Circular reference detected' attempting to send to notification system. Payload={'if_not_exist': False, 'table_name': u'tempesttest1001782434', 'attribute_map': {u'message': {'_data': {'encoded_value': None, 'attr_type': {'_data': {'type': u'S'}, '_hash': None}, 'decoded_value': u'message'}, '_hash': None}, u'other': {'_data': {'encoded_value': {'234': '33.13223', '45.2': '123'}, 'attr_type': {'_data': {'type': u'NNM'}, '_hash': None}, 'decoded_value': {234: Decimal('33.13223'), Decimal('45.2'): 123}}, '_hash': None}, u'author': {'_data': {'encoded_value': {'345': '1', '546': '345', '345.345': '3123.123'}, 'attr_type': {'_data': {'type': u'NNM'}, '_hash': None}, 'decoded_value': {345: 1, 546: 345, Decimal('345.345'): Decimal('3123.123')}}, '_hash': None}}, 'return_values': {'_data': {'type': 'NONE'}, '_hash': None}, 'expected_condition_map': {}}
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/notify/notifier.py", line 177, in do_notify
    ext.obj.notify(ctxt, msg, priority, retry or self.retry)
  File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/notify/_impl_log.py", line 41, in notify
    method(jsonutils.dumps(message))
  File "/usr/local/lib/python2.7/dist-packages/oslo_serialization/jsonutils.py", line 186, in dumps
    return json.dumps(obj, default=default, **kwargs)
  File "/usr/lib/python2.7/json/__init__.py", line 250, in dumps
    sort_keys=sort_keys, **kw).encode(obj)
  File "/usr/lib/python2.7/json/encoder.py", line 207, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/lib/python2.7/json/encoder.py", line 270, in iterencode
    return _iterencode(o, 0)
ValueError: Circular reference detected

Changed in magnetodb:
milestone: none → kilo-2
importance: Undecided → Medium
Changed in magnetodb:
milestone: kilo-2 → kilo-3
Changed in magnetodb:
milestone: kilo-3 → l-1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.