Exception logging mis-formatting error

Bug #1084689 reported by Allan LeSage
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Coverity Launchpad Sync Tool
Fix Released
Undecided
Allan LeSage

Bug Description

Small problem encountered when an exception is being raised when a bug isn't found, this happened during a Launchpad outage.

2012-11-29 19:16:48,582 - DEBUG - Creating report for CID 10645
2012-11-29 19:16:48,583 - WARNING - Warning: no severity provided for checker PARSE_ERROR
2012-11-29 19:16:49,041 - DEBUG - Updating
2012-11-29 19:17:31,471 - ERROR - Failed to export defect 10645 to Launchpad: Traceback (most recent call last):
  File "/home/ubuntu/coverity-launchpad-sync-tool/covlpsync/covlpsync.py", line 177, in sync_cid
    self.update_lp_bug(defect_report, lp_bug_id)
  File "/home/ubuntu/coverity-launchpad-sync-tool/covlpsync/covlpsync.py", line 129, in update_lp_bug
    self.lp.update_defect(defect_report, lp_bug_id)
  File "/home/ubuntu/coverity-launchpad-sync-tool/covlpsync/launchpad.py", line 21, in wrapper
    return func(*args, **kwargs)
  File "/home/ubuntu/coverity-launchpad-sync-tool/covlpsync/launchpad.py", line 141, in update_defect
    lp_bug = self.get_bug(lp_bug_id)
  File "/home/ubuntu/coverity-launchpad-sync-tool/covlpsync/launchpad.py", line 21, in wrapper
    return func(*args, **kwargs)
  File "/home/ubuntu/coverity-launchpad-sync-tool/covlpsync/launchpad.py", line 66, in get_bug
    raise LaunchpadException("Bug not in Launchpad: %d" % lp_bug_id)
TypeError: %d format: a number is required, not Text

Changed in coverity-launchpad-sync-tool:
status: New → Fix Released
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.