If you have no other hints about what is going wrong (for example, in your unit tests indicating specific cases that cause this, or if pyfunc's answer does not make it obvious why this will happen), enable Delayed debugging to get information about that , where the first (and only permitted) Delay result is indicated:
from twisted.internet import defer
defer.setDebugging(True)
or
twistd --debug [...]
or
trial --debug [...]
, , . , "", ( .callback() .errback()).
inlineCallbacks, , , , , , .
, - inlineCallbacks . , , , - .