Comment 3 for bug 341997

Revision history for this message
Tim Hatch (timhatch) wrote :

AFAIK that error in Python normally only happens in string formatting, i.e.:

>>> "%d" % "a"
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: int argument required

I can reproduce the error by passing in the bug id as a string, i.e.

>>> server.launchpad.set_launchpad_bug("1", 123)
*** Fault: <Fault 2: "'int argument required' while executing 'launchpad.set_launchpad_bug()'">

Do your OOPSes save locals with types to know if that's the cause?