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
71 stars 31 forks source link

More than one result available in a result returning from a query, storm moans about that #143

Open dicortazar opened 9 years ago

dicortazar commented 9 years ago

DBG: [08/Jan/2015-00:32:36] Retrieving activity of issue #431849 from https://bugs.eclipse.org/bugs/show_activity.cgi?id=431849 Traceback (most recent call last): File "/usr/local/bin/bicho", line 25, in retval = bicho.main.main() File "/usr/local/lib/python2.7/site-packages/bicho/main.py", line 56, in main backend.run() File "/usr/local/lib/python2.7/site-packages/bicho/backends/bg.py", line 956, in run self._process_issues() File "/usr/local/lib/python2.7/site-packages/bicho/backends/bg.py", line 1052, in _process_issues self._retrieve_issues(ids, url, self.tracker.id) File "/usr/local/lib/python2.7/site-packages/bicho/backends/bg.py", line 1117, in _retrieve_issues self._store_issue(issue, trk_id) File "/usr/local/lib/python2.7/site-packages/bicho/backends/bg.py", line 1133, in _store_issue self.bugsdb.insert_issue(issue, trk_id) File "/usr/local/lib/python2.7/site-packages/bicho/db/database.py", line 195, in insert_issue db_comment = self._get_db_comment(comment, db_issue.id, tracker_id) File "/usr/local/lib/python2.7/site-packages/bicho/db/database.py", line 485, in _get_db_comment DBComment.submitted_on == comment.submitted_on).one() File "/usr/lib64/python2.7/site-packages/storm/store.py", line 1145, in one raise NotOneError("one() used with more than one result available") storm.exceptions.NotOneError: one() used with more than one result available