Unhandled error during reporting

#1

I am running into an issue when I run the test suite against a websocket server. The test suite doesn’t proceed afterwards.

···

2014-02-18 11:25:34-0800 [FuzzingClientProtocol,client] Unhandled Error

Traceback (most recent call last):

  File "/Library/Python/2.7/site-packages/autobahntestsuite-0.6.0-py2.7.egg/autobahntestsuite/wstest.py", line 257, in start

    reactor.run()

  File "/Library/Python/2.7/site-packages/Twisted-13.2.0-py2.7-macosx-10.9-intel.egg/twisted/internet/base.py", line 1192, in run

    self.mainLoop()

  File "/Library/Python/2.7/site-packages/Twisted-13.2.0-py2.7-macosx-10.9-intel.egg/twisted/internet/base.py", line 1204, in mainLoop

    self.doIteration(t)

  File "/Library/Python/2.7/site-packages/Twisted-13.2.0-py2.7-macosx-10.9-intel.egg/twisted/internet/kqreactor.py", line 254, in doKEvent

    log.callWithLogger(selectable, _drdw, selectable, fd, event)

--- <exception caught here> ---

  File "/Library/Python/2.7/site-packages/Twisted-13.2.0-py2.7-macosx-10.9-intel.egg/twisted/python/log.py", line 88, in callWithLogger

    return callWithContext({"system": lp}, func, *args, **kw)

  File "/Library/Python/2.7/site-packages/Twisted-13.2.0-py2.7-macosx-10.9-intel.egg/twisted/python/log.py", line 73, in callWithContext

    return context.call({ILogContext: newCtx}, func, *args, **kw)

  File "/Library/Python/2.7/site-packages/Twisted-13.2.0-py2.7-macosx-10.9-intel.egg/twisted/python/context.py", line 118, in callWithContext

    return self.currentContext().callWithContext(ctx, func, *args, **kw)

  File "/Library/Python/2.7/site-packages/Twisted-13.2.0-py2.7-macosx-10.9-intel.egg/twisted/python/context.py", line 81, in callWithContext

    return func(*args,**kw)

  File "/Library/Python/2.7/site-packages/Twisted-13.2.0-py2.7-macosx-10.9-intel.egg/twisted/internet/kqreactor.py", line 289, in _doWriteOrRead

    self._disconnectSelectable(selectable, why, inRead)

  File "/Library/Python/2.7/site-packages/Twisted-13.2.0-py2.7-macosx-10.9-intel.egg/twisted/internet/posixbase.py", line 257, in _disconnectSelectable

    selectable.readConnectionLost(f)

  File "/Library/Python/2.7/site-packages/Twisted-13.2.0-py2.7-macosx-10.9-intel.egg/twisted/internet/tcp.py", line 279, in readConnectionLost

    self.connectionLost(reason)

  File "/Library/Python/2.7/site-packages/Twisted-13.2.0-py2.7-macosx-10.9-intel.egg/twisted/internet/tcp.py", line 486, in connectionLost

    self.connector.connectionLost(reason)

  File "/Library/Python/2.7/site-packages/Twisted-13.2.0-py2.7-macosx-10.9-intel.egg/twisted/internet/base.py", line 1085, in connectionLost

    self.factory.clientConnectionLost(self, reason)

  File "/Library/Python/2.7/site-packages/autobahntestsuite-0.6.0-py2.7.egg/autobahntestsuite/fuzzing.py", line 1250, in clientConnectionLost

    self.createReports()

  File "/Library/Python/2.7/site-packages/autobahntestsuite-0.6.0-py2.7.egg/autobahntestsuite/fuzzing.py", line 465, in createReports

    self.createAgentCaseReportHTML(agentId, caseId, self.outdir)

  File "/Library/Python/2.7/site-packages/autobahntestsuite-0.6.0-py2.7.egg/autobahntestsuite/fuzzing.py", line 882, in createAgentCaseReportHTML

    f.write('         <tr class="stats_row"><td>%s</td><td class="left">%s</td><td class="left">%s</td></tr>\n' % (c[0], case[c[0]], c[1]))

exceptions.UnicodeEncodeError: 'ascii' codec can't encode characters in position 74-79: ordinal not in range(128)
0 Likes