> Try this:
>
>
> from twisted.logger import globalLogBeginner, textFileLogObserver
> from twisted.internet.defer import Deferred
> import sys
>
> globalLogBeginner.beginLoggingTo([textFileLogObserver(sys.stdout)])
>
> def raiseErr(what):
> raise Exception(what)
>
> d = Deferred()
>
This is an unfortunate implementation detail that you can address by starting
the logging system.
Try this:
from twisted.logger import globalLogBeginner, textFileLogObserver
from twisted.internet.defer import Deferred
import sys
On Thu, May 17, 2018, at 11:51 PM, Werner Thie wrote:
> Aloha
>
> Are there any suggestions on how to run trial on a given package to be
> ported to Python 3
>
Use an editable installation. trial won't automatically find unported modules
in an editable installation, but you run it against any
Hi,
Running the following script prints "Unhandled Error", but doesn't
contain the traceback of where the exception is raised. In a massive
codebase, it's hard to locate where is the malfunctioning code is.
from twisted.internet.defer import Deferred
def raiseErr(what):
raise