pserv is oopsing: "exceptions.TypeError: not all arguments converted during string formatting"

Bug #1062031 reported by Julian Edwards on 2012-10-05
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Jeroen T. Vermeulen
python-tx-tftp (Ubuntu)
James Page

Bug Description

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/python/", line 69, in callWithContext
    return{ILogContext: newCtx}, func, *args, **kw)
  File "/usr/lib/python2.7/dist-packages/twisted/python/", line 118, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/usr/lib/python2.7/dist-packages/twisted/python/", line 81, in callWithContext
    return func(*args,**kw)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/", line 626, in _doReadOrWrite
    why = selectable.doRead()
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/", line 147, in doRead
    self.protocol.datagramReceived(data, addr)
  File "/usr/lib/python2.7/dist-packages/tftp/", line 173, in datagramReceived
    return self.tftp_ERROR(datagram)
  File "/usr/lib/python2.7/dist-packages/tftp/", line 183, in tftp_ERROR
    log.msg("Got error: " % datagram)
exceptions.TypeError: not all arguments converted during string formatting

Related branches

Changed in maas:
status: New → Confirmed
status: Confirmed → Triaged
importance: Undecided → Critical
tags: added: oops
tags: added: pserv
Changed in maas:
assignee: nobody → Jeroen T. Vermeulen (jtv)
status: Triaged → In Progress
Jeroen T. Vermeulen (jtv) wrote :

The same patch as in the merge-proposal diff also needs to be applied in the package. Two of those three instances of the problem have already been fixed upstream though.

Changed in maas:
status: In Progress → Fix Released
James Page (james-page) on 2012-10-09
Changed in python-tx-tftp (Ubuntu):
importance: Undecided → High
James Page (james-page) on 2012-10-09
Changed in python-tx-tftp (Ubuntu):
assignee: nobody → James Page (james-page)
status: New → In Progress
James Page (james-page) wrote :

Patched and uploaded for release team approval

Changed in python-tx-tftp (Ubuntu):
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-tx-tftp - 0.1~bzr31-0ubuntu6

python-tx-tftp (0.1~bzr31-0ubuntu6) quantal; urgency=low

  * d/p/logmsg-ftbfs.patch: Added an extra log.msg() bug fix for bad string
    formatting, annotated patch with upstream bug report (LP: #1062031).
 -- James Page <email address hidden> Tue, 09 Oct 2012 16:42:41 +0100

Changed in python-tx-tftp (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers