exceptions.AttributeError: '_UnpickleDispatch' object has no attribute '__name__'
/usr/lib/python2.7/dist-packages/buildbot/process/buildstep.py:301 in startStep
300            else:
301                doStep = yield self.doStepIf(self)
302
/data/buildbot/masters/firmware/master.cfg:179 in checkDoClean
178    build = step.build
179    ser =  jsonpickle.encode(build)
180    print json.dumps( json.loads(ser), indent=2 )
/usr/lib/python2.7/dist-packages/jsonpickle/__init__.py:132 in encode
131                          max_depth=max_depth,
132                          warn=warn)
133
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:41 in encode
40                          max_iter=max_iter)
41    return backend.encode(context.flatten(value, reset=reset))
42
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:141 in flatten
140            self.reset()
141        return self._flatten(obj)
142
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:145 in _flatten
144        self._push()
145        return self._pop(self._flatten_obj(obj))
146
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:161 in _flatten_obj
160
161        return flatten_func(obj)
162
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:213 in _ref_obj_instance
212            # json representation.
213            return self._flatten_obj_instance(obj)
214        # We've seen this object before so place an object
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:358 in _flatten_obj_instance
357            getattr(obj, '_', None)
358            return self._flatten_dict_obj(obj.__dict__, data)
359
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:383 in _flatten_dict_obj
382        for k, v in sorted(obj.items(), key=util.itemgetter):
383            flatten(k, v, data)
384
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:440 in _flatten_key_value_pair
439                    k = unicode(k)
440        data[k] = self._flatten(v)
441        return data
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:145 in _flatten
144        self._push()
145        return self._pop(self._flatten_obj(obj))
146
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:161 in _flatten_obj
160
161        return flatten_func(obj)
162
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:213 in _ref_obj_instance
212            # json representation.
213            return self._flatten_obj_instance(obj)
214        # We've seen this object before so place an object
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:303 in _flatten_obj_instance
302            else:
303                return self._getstate(state, data)
304
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:455 in _getstate
454    def _getstate(self, obj, data):
455        state = self._flatten_obj(obj)
456        if self.unpicklable:
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:161 in _flatten_obj
160
161        return flatten_func(obj)
162
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:383 in _flatten_dict_obj
382        for k, v in sorted(obj.items(), key=util.itemgetter):
383            flatten(k, v, data)
384
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:440 in _flatten_key_value_pair
439                    k = unicode(k)
440        data[k] = self._flatten(v)
441        return data
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:145 in _flatten
144        self._push()
145        return self._pop(self._flatten_obj(obj))
146
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:161 in _flatten_obj
160
161        return flatten_func(obj)
162
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:213 in _ref_obj_instance
212            # json representation.
213            return self._flatten_obj_instance(obj)
214        # We've seen this object before so place an object
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:303 in _flatten_obj_instance
302            else:
303                return self._getstate(state, data)
304
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:455 in _getstate
454    def _getstate(self, obj, data):
455        state = self._flatten_obj(obj)
456        if self.unpicklable:
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:161 in _flatten_obj
160
161        return flatten_func(obj)
162
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:383 in _flatten_dict_obj
382        for k, v in sorted(obj.items(), key=util.itemgetter):
383            flatten(k, v, data)
384
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:440 in _flatten_key_value_pair
439                    k = unicode(k)
440        data[k] = self._flatten(v)
441        return data
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:145 in _flatten
144        self._push()
145        return self._pop(self._flatten_obj(obj))
146
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:161 in _flatten_obj
160
161        return flatten_func(obj)
162
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:213 in _ref_obj_instance
212            # json representation.
213            return self._flatten_obj_instance(obj)
214        # We've seen this object before so place an object
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:303 in _flatten_obj_instance
302            else:
303                return self._getstate(state, data)
304
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:455 in _getstate
454    def _getstate(self, obj, data):
455        state = self._flatten_obj(obj)
456        if self.unpicklable:
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:161 in _flatten_obj
160
161        return flatten_func(obj)
162
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:383 in _flatten_dict_obj
382        for k, v in sorted(obj.items(), key=util.itemgetter):
383            flatten(k, v, data)
384
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:440 in _flatten_key_value_pair
439                    k = unicode(k)
440        data[k] = self._flatten(v)
441        return data
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:145 in _flatten
144        self._push()
145        return self._pop(self._flatten_obj(obj))
146
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:161 in _flatten_obj
160
161        return flatten_func(obj)
162
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:213 in _ref_obj_instance
212            # json representation.
213            return self._flatten_obj_instance(obj)
214        # We've seen this object before so place an object
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:303 in _flatten_obj_instance
302            else:
303                return self._getstate(state, data)
304
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:455 in _getstate
454    def _getstate(self, obj, data):
455        state = self._flatten_obj(obj)
456        if self.unpicklable:
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:161 in _flatten_obj
160
161        return flatten_func(obj)
162
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:383 in _flatten_dict_obj
382        for k, v in sorted(obj.items(), key=util.itemgetter):
383            flatten(k, v, data)
384
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:440 in _flatten_key_value_pair
439                    k = unicode(k)
440        data[k] = self._flatten(v)
441        return data
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:145 in _flatten
144        self._push()
145        return self._pop(self._flatten_obj(obj))
146
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:161 in _flatten_obj
160
161        return flatten_func(obj)
162
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:213 in _ref_obj_instance
212            # json representation.
213            return self._flatten_obj_instance(obj)
214        # We've seen this object before so place an object
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:303 in _flatten_obj_instance
302            else:
303                return self._getstate(state, data)
304
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:455 in _getstate
454    def _getstate(self, obj, data):
455        state = self._flatten_obj(obj)
456        if self.unpicklable:
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:161 in _flatten_obj
160
161        return flatten_func(obj)
162
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:383 in _flatten_dict_obj
382        for k, v in sorted(obj.items(), key=util.itemgetter):
383            flatten(k, v, data)
384
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:440 in _flatten_key_value_pair
439                    k = unicode(k)
440        data[k] = self._flatten(v)
441        return data
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:145 in _flatten
144        self._push()
145        return self._pop(self._flatten_obj(obj))
146
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:161 in _flatten_obj
160
161        return flatten_func(obj)
162
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:213 in _ref_obj_instance
212            # json representation.
213            return self._flatten_obj_instance(obj)
214        # We've seen this object before so place an object
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:358 in _flatten_obj_instance
357            getattr(obj, '_', None)
358            return self._flatten_dict_obj(obj.__dict__, data)
359
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:383 in _flatten_dict_obj
382        for k, v in sorted(obj.items(), key=util.itemgetter):
383            flatten(k, v, data)
384
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:440 in _flatten_key_value_pair
439                    k = unicode(k)
440        data[k] = self._flatten(v)
441        return data
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:145 in _flatten
144        self._push()
145        return self._pop(self._flatten_obj(obj))
146
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:161 in _flatten_obj
160
161        return flatten_func(obj)
162
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:213 in _ref_obj_instance
212            # json representation.
213            return self._flatten_obj_instance(obj)
214        # We've seen this object before so place an object
/usr/lib/python2.7/dist-packages/jsonpickle/pickler.py:336 in _flatten_obj_instance
335
336            if rv_as_list[0].__name__ == '__newobj__':
337                rv_as_list[0] = tags.NEWOBJ
exceptions.AttributeError: '_UnpickleDispatch' object has no attribute '__name__'