---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-61-1b2775fea6e3> in <module>()
----> 1 for con in mincom:
2 #print con.body
3 minels.append(con)
4 dausr.update({str(con.id): str(con.body)})
/usr/local/lib/python2.7/dist-packages/praw/__init__.pyc in get_content(self, url, params, limit, place_holder, root_field, thing_field, after_field, _use_oauth, object_filter)
469 self._use_oauth = _use_oauth # pylint: disable-msg=W0201
470 try:
--> 471 page_data = self.request_json(url, params=params)
472 if object_filter:
473 page_data = page_data[object_filter]
/usr/local/lib/python2.7/dist-packages/praw/decorators.pyc in wrapped(reddit_session, *args, **kwargs)
159 @wraps(function)
160 def wrapped(reddit_session, *args, **kwargs):
--> 161 return_value = function(reddit_session, *args, **kwargs)
162 if isinstance(return_value, dict):
163 if return_value.get('error') == 304: # Not modified exception
/usr/local/lib/python2.7/dist-packages/praw/__init__.pyc in request_json(self, url, params, data, as_objects, retry_on_error)
514 # Request url just needs to be available for the objecter to use
515 self._request_url = url # pylint: disable-msg=W0201
--> 516 data = json.loads(response, object_hook=hook)
517 delattr(self, '_request_url')
518 # Update the modhash
/usr/lib/python2.7/json/__init__.pyc in loads(s, encoding, cls, object_hook, parse_float, parse_int, parse_constant, object_pairs_hook, **kw)
337 if parse_constant is not None:
338 kw['parse_constant'] = parse_constant
--> 339 return cls(encoding=encoding, **kw).decode(s)
/usr/lib/python2.7/json/decoder.pyc in decode(self, s, _w)
363
364 """
--> 365 obj, end = self.raw_decode(s, idx=_w(s, 0).end())
366 end = _w(s, end).end()
367 if end != len(s):
/usr/lib/python2.7/json/decoder.pyc in raw_decode(self, s, idx)
379 """
380 try:
--> 381 obj, end = self.scan_once(s, idx)
382 except StopIteration:
383 raise ValueError("No JSON object could be decoded")
/usr/local/lib/python2.7/dist-packages/praw/__init__.pyc in _json_reddit_objecter(self, json_data)
401 return json_data['json']
402 else:
--> 403 return object_class.from_api_response(self, json_data['data'])
404 return json_data
405
/usr/local/lib/python2.7/dist-packages/praw/objects.pyc in from_api_response(cls, reddit_session, json_dict)
56 page = parts[6].split('.', 1)[0]
57 return cls(reddit_session, subreddit, page, json_dict=json_dict)
---> 58 return cls(reddit_session, json_dict=json_dict)
59
60 def __init__(self, reddit_session, json_dict=None, fetch=True,
/usr/local/lib/python2.7/dist-packages/praw/objects.pyc in __init__(self, reddit_session, json_dict)
512 def __init__(self, reddit_session, json_dict):
513 super(Comment, self).__init__(reddit_session, json_dict,
--> 514 underscore_names=['replies'])
515 if self._replies:
516 self._replies = self._replies['data']['children']
/usr/local/lib/python2.7/dist-packages/praw/objects.pyc in __init__(self, reddit_session, json_dict, fetch, info_url, underscore_names)
70 self.reddit_session = reddit_session
71 self._underscore_names = underscore_names
---> 72 self.has_fetched = self._populate(json_dict, fetch)
73 self.json_dict = (json_dict if reddit_session.config.store_json_result
74 is True else None)
/usr/local/lib/python2.7/dist-packages/praw/objects.pyc in _populate(self, json_dict, fetch)
139 if self._underscore_names and name in self._underscore_names:
140 name = '_' + name
--> 141 setattr(self, name, value)
142 return bool(json_dict) or fetch
143
/usr/local/lib/python2.7/dist-packages/praw/objects.pyc in __setattr__(self, name, value)
100 else:
101 value = Redditor(self.reddit_session, value, fetch=False)
--> 102 object.__setattr__(self, name, value)
103
104 def __str__(self):
AttributeError: can't set attribute