MetricsGrimoire / Bicho

Bicho is a command line based tool used to parse bug/issue tracking systems
http://metricsgrimoire.github.com/Bicho/
GNU General Public License v2.0
68 stars 30 forks source link

Error analyzing GitHub issues for Bicho #115

Closed canasdiaz closed 10 years ago

canasdiaz commented 10 years ago

I used the following line

luis@tahine:~/repos/Bicho$ bicho --db-user-out=root --db-password-out=root --db-database-out=bicho_gh -b github -u "https://api.github.com/repos/MetricsGrimoire/Bicho/issues" --backend-user=sanacl --backend-password=***** -d 0 -g

.. and I got the result below after downloading a bunch of issues

Traceback (most recent call last):
  File "/usr/local/bin/bicho", line 25, in <module>
    retval = Bicho.main.main()
  File "/usr/local/lib/python2.7/dist-packages/Bicho/main.py", line 56, in main
    backend.run()
  File "/usr/local/lib/python2.7/dist-packages/Bicho/backends/github.py", line 597, in run
    issue_data = self.analyze_bug(bug)
  File "/usr/local/lib/python2.7/dist-packages/Bicho/backends/github.py", line 437, in analyze_bug
    entries = self.__get_batch_activities(bug['number'])
  File "/usr/local/lib/python2.7/dist-packages/Bicho/backends/github.py", line 485, in __get_batch_activities
    result = urllib2.urlopen(request)
  File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 404, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 422, in _open
    '_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 1222, in https_open
    return self.do_open(httplib.HTTPSConnection, req)
  File "/usr/lib/python2.7/urllib2.py", line 1184, in do_open
    raise URLError(err)
urllib2.URLError: <urlopen error [Errno -2] Name or service not known>
jgbarah commented 10 years ago

I cannot reproduce this one with current bicho. Maybe this was a temporary connection problem?

I suggest to just close this issue, except that you can still reproduce it, or target a specific bicho revision.