Traceback (most recent call last):


 "C:\Users\Test\AppData\Local\Programs\Python\Python38\lib\site-packages\cherrypy\_cprequest.py", line 604, in run

self.respond(pi)


 "C:\Users\Test\AppData\Local\Programs\Python\Python38\lib\site-packages\cherrypy\_cprequest.py", line 653, in respond

self.handle_error()


 "C:\Users\Test\AppData\Local\Programs\Python\Python38\lib\site-packages\cherrypy\_cprequest.py", line 766, in handle_error

self.error_response()


 "C:\Users\Test\spiderfoot\sfwebui.py", line 80, in error_page

cherrypy.response.body = '<html><body>Error</body></html>'


 "C:\Users\Test\AppData\Local\Programs\Python\Python38\lib\site-packages\cherrypy\__init__.py", line 231, in __setattr__

setattr(child, name, value)


 "C:\Users\Test\AppData\Local\Programs\Python\Python38\lib\site-packages\cherrypy\_cprequest.py", line 792, in __set__

raise ValueError(self.unicode_err)
ValueError: Page handlers MUST return bytes. Use tools.encode if you wish to return unicode.
Traceback (most recent call last):


 "/Users/pkuclosed/anaconda2/lib/python2.7/site-packages/nipype/pipeline/plugins/linear.py", line 44, in run

node.run(updatehash=updatehash)


 "/Users/pkuclosed/anaconda2/lib/python2.7/site-packages/nipype/pipeline/engine/nodes.py", line 487, in run

result = self._run_interface(execute=True)


 "/Users/pkuclosed/anaconda2/lib/python2.7/site-packages/nipype/pipeline/engine/nodes.py", line 571, in _run_interface

return self._run_command(execute)


 "/Users/pkuclosed/anaconda2/lib/python2.7/site-packages/nipype/pipeline/engine/nodes.py", line 650, in _run_command

result = self._interface.run(cwd=outdir)


 "/Users/pkuclosed/anaconda2/lib/python2.7/site-packages/nipype/interfaces/base/core.py", line 516, in run

runtime = self._run_interface(runtime)


 "/Users/pkuclosed/anaconda2/lib/python2.7/site-packages/nipype/interfaces/base/core.py", line 1020, in _run_interface

runtime = run_command(runtime, output=self.terminal_output)


 "/Users/pkuclosed/anaconda2/lib/python2.7/site-packages/nipype/interfaces/base/core.py", line 761, in run_command

Stream('stdout', proc.stdout),


 "/Users/pkuclosed/anaconda2/lib/python2.7/site-packages/nipype/interfaces/base/support.py", line 253, in __init__

self.default_encoding = locale.getdefaultlocale()[1] or 'UTF-8'


 "/Users/pkuclosed/anaconda2/lib/python2.7/locale.py", line 545, in getdefaultlocale

return _parse_localename(localename)


 "/Users/pkuclosed/anaconda2/lib/python2.7/locale.py", line 477, in _parse_localename

raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: UTF-8
