Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sajith/bc56a1d83b86819137422608804e3817 to your computer and use it in GitHub Desktop.
Save sajith/bc56a1d83b86819137422608804e3817 to your computer and use it in GitHub Desktop.
StatusTests.test_status
coverage run-test: commands[1] | magic-folder --version
Magic Folder version 0.0.0.post761
coverage run-test: commands[2] | coverage run --branch -m twisted.trial --rterrors magic_folder.test.test_status.StatusTests.test_status
Loading Hypothesis profile default
magic_folder.test.test_status
StatusTests
test_status ... Traceback (most recent call last):
File "/Users/sajith/projects/tahoe/magic-folder/.tox/coverage/lib/python2.7/site-packages/twisted/trial/runner.py", line 625, in loadByNames
things.append(self.findByName(name))
File "/Users/sajith/projects/tahoe/magic-folder/.tox/coverage/lib/python2.7/site-packages/twisted/trial/runner.py", line 429, in findByName
return reflect.namedAny(name)
File "/Users/sajith/projects/tahoe/magic-folder/.tox/coverage/lib/python2.7/site-packages/twisted/python/reflect.py", line 319, in namedAny
obj = getattr(obj, n)
exceptions.AttributeError: 'module' object has no attribute 'test_status'
[ERROR]
===============================================================================
[ERROR]
Traceback (most recent call last):
File "/Users/sajith/projects/tahoe/magic-folder/.tox/coverage/lib/python2.7/site-packages/twisted/trial/runner.py", line 625, in loadByNames
things.append(self.findByName(name))
File "/Users/sajith/projects/tahoe/magic-folder/.tox/coverage/lib/python2.7/site-packages/twisted/trial/runner.py", line 429, in findByName
return reflect.namedAny(name)
File "/Users/sajith/projects/tahoe/magic-folder/.tox/coverage/lib/python2.7/site-packages/twisted/python/reflect.py", line 319, in namedAny
obj = getattr(obj, n)
exceptions.AttributeError: 'module' object has no attribute 'test_status'
magic_folder.test.test_status.StatusTests.test_status
-------------------------------------------------------------------------------
Ran 1 tests in 0.013s
FAILED (errors=1)
ERROR: InvocationError for command /Users/sajith/projects/tahoe/magic-folder/.tox/coverage/bin/coverage run --branch -m twisted.trial --rterrors magic_folder.test.test_status.StatusTests.test_status (exited with code 1)
______________________________________________________________________________________ summary ______________________________________________________________________________________
ERROR: coverage: commands failed
@vu3rdd
Copy link

vu3rdd commented Jul 25, 2020

$ python -m twisted.trial magic_folder.test.test_status.StatusTests.test_status
Loading Hypothesis profile default
magic_folder.test.test_status
  StatusTests
    test_status ... Falsifying example: test_status(
    self=<magic_folder.test.test_status.StatusTests.test_status id=0x7efee0417b90>,
    folder_name=u'\x80',
    collective_dircap=u'URI:DIR2:aaaaaaaaaaaaaaaaaaaaaaaaaa:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
    upload_dircap=u'URI:DIR2:aaaaaaaaaaaaaaaaaaaaaaaaaa:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaq',
    token='AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=',
    local_file={'format': u'CHK',
     'metadata': {'deleted': False,
      'tahoe': {'linkcrtime': 0, 'linkmotime': 0},
      'version': 0},
     'ro_uri': u'URI:CHK:aaaaaaaaaaaaaaaaaaaaaaaaaa:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa:1:1:56',
     'size': 0},
    upload_items=[],
    download_items=[],
)
                                                    [ERROR]

===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: testtools.testresult.real._StringException: logged-error: {{{
Traceback (most recent call last):
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 235, in process
    self.render(resrc)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 302, in render
    body = resrc.render(self)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/resource.py", line 265, in render
    return m(request)
  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/web.py", line 267, in render_POST
    magic_folder = self.get_magic_folder(nick)
  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/test/test_status.py", line 532, in <lambda>
  File "/home/ram/work/leastauthority/magic-folder/venv/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeEncodeError: 'ascii' codec can't encode character u'\x80' in position 0: ordinal not in range(128)
}}}

logged-error-1: {{{
Traceback (most recent call last):
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 235, in process
    self.render(resrc)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 302, in render
    body = resrc.render(self)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/resource.py", line 265, in render
    return m(request)
  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/web.py", line 267, in render_POST
    magic_folder = self.get_magic_folder(nick)
  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/test/test_status.py", line 532, in <lambda>
  File "/home/ram/work/leastauthority/magic-folder/venv/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeEncodeError: 'ascii' codec can't encode character u'\x80' in position 0: ordinal not in range(128)
}}}

logged-error-10: {{{
Traceback (most recent call last):
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 235, in process
    self.render(resrc)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 302, in render
    body = resrc.render(self)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/resource.py", line 265, in render
    return m(request)
  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/web.py", line 267, in render_POST
    magic_folder = self.get_magic_folder(nick)
  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/test/test_status.py", line 532, in <lambda>
  File "/home/ram/work/leastauthority/magic-folder/venv/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeEncodeError: 'ascii' codec can't encode character u'\x80' in position 0: ordinal not in range(128)
}}}

logged-error-11: {{{
Traceback (most recent call last):
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 235, in process
    self.render(resrc)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 302, in render
    body = resrc.render(self)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/resource.py", line 265, in render
    return m(request)
  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/web.py", line 267, in render_POST
    magic_folder = self.get_magic_folder(nick)
  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/test/test_status.py", line 532, in <lambda>
  File "/home/ram/work/leastauthority/magic-folder/venv/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeEncodeError: 'ascii' codec can't encode character u'\x80' in position 0: ordinal not in range(128)
}}}

logged-error-2: {{{
Traceback (most recent call last):
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 235, in process
    self.render(resrc)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 302, in render
    body = resrc.render(self)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/resource.py", line 265, in render
    return m(request)
  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/web.py", line 267, in render_POST
    magic_folder = self.get_magic_folder(nick)
  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/test/test_status.py", line 532, in <lambda>
  File "/home/ram/work/leastauthority/magic-folder/venv/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeEncodeError: 'ascii' codec can't encode character u'\x80' in position 0: ordinal not in range(128)
}}}

logged-error-3: {{{
Traceback (most recent call last):
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 235, in process
    self.render(resrc)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 302, in render
    body = resrc.render(self)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/resource.py", line 265, in render
    return m(request)
  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/web.py", line 267, in render_POST
    magic_folder = self.get_magic_folder(nick)
  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/test/test_status.py", line 532, in <lambda>
  File "/home/ram/work/leastauthority/magic-folder/venv/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeEncodeError: 'ascii' codec can't encode character u'\uf435' in position 0: ordinal not in range(128)
}}}

logged-error-4: {{{
Traceback (most recent call last):
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 235, in process
    self.render(resrc)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 302, in render
    body = resrc.render(self)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/resource.py", line 265, in render
    return m(request)
  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/web.py", line 267, in render_POST
    magic_folder = self.get_magic_folder(nick)
  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/test/test_status.py", line 532, in <lambda>
  File "/home/ram/work/leastauthority/magic-folder/venv/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeEncodeError: 'ascii' codec can't encode character u'\uf435' in position 0: ordinal not in range(128)
}}}

logged-error-5: {{{
Traceback (most recent call last):
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 235, in process
    self.render(resrc)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 302, in render
    body = resrc.render(self)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/resource.py", line 265, in render
    return m(request)
  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/web.py", line 267, in render_POST
    magic_folder = self.get_magic_folder(nick)
  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/test/test_status.py", line 532, in <lambda>
  File "/home/ram/work/leastauthority/magic-folder/venv/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeEncodeError: 'ascii' codec can't encode character u'\uf435' in position 0: ordinal not in range(128)
}}}

logged-error-6: {{{
Traceback (most recent call last):
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 235, in process
    self.render(resrc)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 302, in render
    body = resrc.render(self)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/resource.py", line 265, in render
    return m(request)
  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/web.py", line 267, in render_POST
    magic_folder = self.get_magic_folder(nick)
  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/test/test_status.py", line 532, in <lambda>
  File "/home/ram/work/leastauthority/magic-folder/venv/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeEncodeError: 'ascii' codec can't encode character u'\uf435' in position 0: ordinal not in range(128)
}}}

logged-error-7: {{{
Traceback (most recent call last):
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 235, in process
    self.render(resrc)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 302, in render
    body = resrc.render(self)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/resource.py", line 265, in render
    return m(request)
  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/web.py", line 267, in render_POST
    magic_folder = self.get_magic_folder(nick)
  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/test/test_status.py", line 532, in <lambda>
  File "/home/ram/work/leastauthority/magic-folder/venv/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeEncodeError: 'ascii' codec can't encode character u'\uf435' in position 0: ordinal not in range(128)
}}}

logged-error-8: {{{
Traceback (most recent call last):
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 235, in process
    self.render(resrc)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 302, in render
    body = resrc.render(self)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/resource.py", line 265, in render
    return m(request)
  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/web.py", line 267, in render_POST
    magic_folder = self.get_magic_folder(nick)
  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/test/test_status.py", line 532, in <lambda>
  File "/home/ram/work/leastauthority/magic-folder/venv/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeEncodeError: 'ascii' codec can't encode character u'\U0010f435' in position 0: ordinal not in range(128)
}}}

logged-error-9: {{{
Traceback (most recent call last):
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 235, in process
    self.render(resrc)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 302, in render
    body = resrc.render(self)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/resource.py", line 265, in render
    return m(request)
  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/web.py", line 267, in render_POST
    magic_folder = self.get_magic_folder(nick)
  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/test/test_status.py", line 532, in <lambda>
  File "/home/ram/work/leastauthority/magic-folder/venv/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeEncodeError: 'ascii' codec can't encode character u'\U0010f435' in position 0: ordinal not in range(128)
}}}

traceback-1: {{{
Traceback (most recent call last):
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/python/failure.py", line 512, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/eliot/_generators.py", line 141, in wrapper
    value_out = gen.throw(*value_in)
  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/status.py", line 118, in status_from_folder_config
    treq,
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/eliot/_generators.py", line 160, in wrapper
    value_in = yield value_out
magic_folder.common.BadResponseCode: Request for u'http://127.0.0.1:5432/api?t=json&name=%C2%80' received unexpected response code 500:
<html><head><title>Processing Failed</title></head><body><b>Processing Failed</b></body></html>
}}}

traceback-1-2: {{{
Traceback (most recent call last):
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 151, in maybeDeferred
    result = f(*args, **kw)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/testtools/testcase.py", line 723, in _run_test_method
    return self._get_test_method()()
  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/test/test_status.py", line 394, in test_status
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/hypothesis/core.py", line 1071, in wrapped_test
    state.run_engine()
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/hypothesis/core.py", line 789, in run_engine
    info.__expected_traceback,
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/hypothesis/core.py", line 624, in execute_once
    result = self.test_runner(data, run)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/hypothesis/executors.py", line 56, in default_new_style_executor
    return function(data)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/hypothesis/core.py", line 620, in run
    return test(*args, **kwargs)
  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/test/test_status.py", line 394, in test_status
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/hypothesis/core.py", line 544, in test
    result = self.test(*args, **kwargs)
  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/test/test_status.py", line 462, in test_status
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/testtools/testcase.py", line 502, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: Success result expected on <Deferred at 0x7efedc8bef00 current result: None>, found failure result instead: <twisted.python.failure.Failure magic_folder.common.BadResponseCode: Request for u'http://127.0.0.1:5432/api?t=json&name=%C2%80' received unexpected response code 500:
<html><head><title>Processing Failed</title></head><body><b>Processing Failed</b></body></html>>
}}}

traceback-10: {{{
Traceback (most recent call last):
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/python/failure.py", line 512, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/eliot/_generators.py", line 141, in wrapper
    value_out = gen.throw(*value_in)
  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/status.py", line 118, in status_from_folder_config
    treq,
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/eliot/_generators.py", line 160, in wrapper
    value_in = yield value_out
magic_folder.common.BadResponseCode: Request for u'http://127.0.0.1:5432/api?t=json&name=%C2%80' received unexpected response code 500:
<html><head><title>Processing Failed</title></head><body><b>Processing Failed</b></body></html>
}}}

traceback-11: {{{
Traceback (most recent call last):
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/python/failure.py", line 512, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/eliot/_generators.py", line 141, in wrapper
    value_out = gen.throw(*value_in)
  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/status.py", line 118, in status_from_folder_config
    treq,
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/eliot/_generators.py", line 160, in wrapper
    value_in = yield value_out
magic_folder.common.BadResponseCode: Request for u'http://127.0.0.1:5432/api?t=json&name=%C2%80' received unexpected response code 500:
<html><head><title>Processing Failed</title></head><body><b>Processing Failed</b></body></html>
}}}

traceback-2: {{{
Traceback (most recent call last):
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/python/failure.py", line 512, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/eliot/_generators.py", line 141, in wrapper
    value_out = gen.throw(*value_in)
  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/status.py", line 118, in status_from_folder_config
    treq,
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/eliot/_generators.py", line 160, in wrapper
    value_in = yield value_out
magic_folder.common.BadResponseCode: Request for u'http://127.0.0.1:5432/api?t=json&name=%C2%80' received unexpected response code 500:
<html><head><title>Processing Failed</title></head><body><b>Processing Failed</b></body></html>
}}}

traceback-3: {{{
Traceback (most recent call last):
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/python/failure.py", line 512, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/eliot/_generators.py", line 141, in wrapper
    value_out = gen.throw(*value_in)
  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/status.py", line 118, in status_from_folder_config
    treq,
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/eliot/_generators.py", line 160, in wrapper
    value_in = yield value_out
magic_folder.common.BadResponseCode: Request for u'http://127.0.0.1:5432/api?t=json&name=%EF%90%B5' received unexpected response code 500:
<html><head><title>Processing Failed</title></head><body><b>Processing Failed</b></body></html>
}}}

traceback-4: {{{
Traceback (most recent call last):
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/python/failure.py", line 512, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/eliot/_generators.py", line 141, in wrapper
    value_out = gen.throw(*value_in)
  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/status.py", line 118, in status_from_folder_config
    treq,
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/eliot/_generators.py", line 160, in wrapper
    value_in = yield value_out
magic_folder.common.BadResponseCode: Request for u'http://127.0.0.1:5432/api?t=json&name=%EF%90%B5' received unexpected response code 500:
<html><head><title>Processing Failed</title></head><body><b>Processing Failed</b></body></html>
}}}

traceback-5: {{{
Traceback (most recent call last):
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/python/failure.py", line 512, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/eliot/_generators.py", line 141, in wrapper
    value_out = gen.throw(*value_in)
  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/status.py", line 118, in status_from_folder_config
    treq,
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/eliot/_generators.py", line 160, in wrapper
    value_in = yield value_out
magic_folder.common.BadResponseCode: Request for u'http://127.0.0.1:5432/api?t=json&name=%EF%90%B5' received unexpected response code 500:
<html><head><title>Processing Failed</title></head><body><b>Processing Failed</b></body></html>
}}}

traceback-6: {{{
Traceback (most recent call last):
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/python/failure.py", line 512, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/eliot/_generators.py", line 141, in wrapper
    value_out = gen.throw(*value_in)
  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/status.py", line 118, in status_from_folder_config
    treq,
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/eliot/_generators.py", line 160, in wrapper
    value_in = yield value_out
magic_folder.common.BadResponseCode: Request for u'http://127.0.0.1:5432/api?t=json&name=%EF%90%B5' received unexpected response code 500:
<html><head><title>Processing Failed</title></head><body><b>Processing Failed</b></body></html>
}}}

traceback-7: {{{
Traceback (most recent call last):
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/python/failure.py", line 512, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/eliot/_generators.py", line 141, in wrapper
    value_out = gen.throw(*value_in)
  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/status.py", line 118, in status_from_folder_config
    treq,
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/eliot/_generators.py", line 160, in wrapper
    value_in = yield value_out
magic_folder.common.BadResponseCode: Request for u'http://127.0.0.1:5432/api?t=json&name=%EF%90%B5' received unexpected response code 500:
<html><head><title>Processing Failed</title></head><body><b>Processing Failed</b></body></html>
}}}

traceback-8: {{{
Traceback (most recent call last):
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/python/failure.py", line 512, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/eliot/_generators.py", line 141, in wrapper
    value_out = gen.throw(*value_in)
  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/status.py", line 118, in status_from_folder_config
    treq,
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/eliot/_generators.py", line 160, in wrapper
    value_in = yield value_out
magic_folder.common.BadResponseCode: Request for u'http://127.0.0.1:5432/api?t=json&name=%F4%8F%90%B5' received unexpected response code 500:
<html><head><title>Processing Failed</title></head><body><b>Processing Failed</b></body></html>
}}}

traceback-9: {{{
Traceback (most recent call last):
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/python/failure.py", line 512, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/eliot/_generators.py", line 141, in wrapper
    value_out = gen.throw(*value_in)
  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/status.py", line 118, in status_from_folder_config
    treq,
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/eliot/_generators.py", line 160, in wrapper
    value_in = yield value_out
magic_folder.common.BadResponseCode: Request for u'http://127.0.0.1:5432/api?t=json&name=%F4%8F%90%B5' received unexpected response code 500:
<html><head><title>Processing Failed</title></head><body><b>Processing Failed</b></body></html>
}}}

twisted-log: {{{
2020-07-25 20:25:46+0530 [-] Unhandled Error
	Traceback (most recent call last):
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 1755, in dataReceived
	    finishCallback(data[contentLength:])
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 2171, in _finishRequestBody
	    self.allContentReceived()
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 2284, in allContentReceived
	    req.requestReceived(command, path, version)
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 946, in requestReceived
	    self.process()
	--- <exception caught here> ---
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 235, in process
	    self.render(resrc)
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 302, in render
	    body = resrc.render(self)
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/resource.py", line 265, in render
	    return m(request)
	  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/web.py", line 267, in render_POST
	    magic_folder = self.get_magic_folder(nick)
	  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/test/test_status.py", line 532, in <lambda>
	    
	  File "/home/ram/work/leastauthority/magic-folder/venv/lib/python2.7/encodings/utf_8.py", line 16, in decode
	    return codecs.utf_8_decode(input, errors, True)
	exceptions.UnicodeEncodeError: 'ascii' codec can't encode character u'\x80' in position 0: ordinal not in range(128)
	
2020-07-25 20:25:46+0530 [-] Unhandled Error
	Traceback (most recent call last):
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 1755, in dataReceived
	    finishCallback(data[contentLength:])
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 2171, in _finishRequestBody
	    self.allContentReceived()
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 2284, in allContentReceived
	    req.requestReceived(command, path, version)
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 946, in requestReceived
	    self.process()
	--- <exception caught here> ---
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 235, in process
	    self.render(resrc)
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 302, in render
	    body = resrc.render(self)
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/resource.py", line 265, in render
	    return m(request)
	  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/web.py", line 267, in render_POST
	    magic_folder = self.get_magic_folder(nick)
	  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/test/test_status.py", line 532, in <lambda>
	    
	  File "/home/ram/work/leastauthority/magic-folder/venv/lib/python2.7/encodings/utf_8.py", line 16, in decode
	    return codecs.utf_8_decode(input, errors, True)
	exceptions.UnicodeEncodeError: 'ascii' codec can't encode character u'\x80' in position 0: ordinal not in range(128)
	
2020-07-25 20:25:46+0530 [-] Unhandled Error
	Traceback (most recent call last):
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 1755, in dataReceived
	    finishCallback(data[contentLength:])
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 2171, in _finishRequestBody
	    self.allContentReceived()
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 2284, in allContentReceived
	    req.requestReceived(command, path, version)
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 946, in requestReceived
	    self.process()
	--- <exception caught here> ---
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 235, in process
	    self.render(resrc)
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 302, in render
	    body = resrc.render(self)
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/resource.py", line 265, in render
	    return m(request)
	  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/web.py", line 267, in render_POST
	    magic_folder = self.get_magic_folder(nick)
	  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/test/test_status.py", line 532, in <lambda>
	    
	  File "/home/ram/work/leastauthority/magic-folder/venv/lib/python2.7/encodings/utf_8.py", line 16, in decode
	    return codecs.utf_8_decode(input, errors, True)
	exceptions.UnicodeEncodeError: 'ascii' codec can't encode character u'\x80' in position 0: ordinal not in range(128)
	
2020-07-25 20:25:46+0530 [-] Unhandled Error
	Traceback (most recent call last):
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 1755, in dataReceived
	    finishCallback(data[contentLength:])
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 2171, in _finishRequestBody
	    self.allContentReceived()
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 2284, in allContentReceived
	    req.requestReceived(command, path, version)
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 946, in requestReceived
	    self.process()
	--- <exception caught here> ---
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 235, in process
	    self.render(resrc)
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 302, in render
	    body = resrc.render(self)
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/resource.py", line 265, in render
	    return m(request)
	  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/web.py", line 267, in render_POST
	    magic_folder = self.get_magic_folder(nick)
	  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/test/test_status.py", line 532, in <lambda>
	    
	  File "/home/ram/work/leastauthority/magic-folder/venv/lib/python2.7/encodings/utf_8.py", line 16, in decode
	    return codecs.utf_8_decode(input, errors, True)
	exceptions.UnicodeEncodeError: 'ascii' codec can't encode character u'\uf435' in position 0: ordinal not in range(128)
	
2020-07-25 20:25:46+0530 [-] Unhandled Error
	Traceback (most recent call last):
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 1755, in dataReceived
	    finishCallback(data[contentLength:])
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 2171, in _finishRequestBody
	    self.allContentReceived()
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 2284, in allContentReceived
	    req.requestReceived(command, path, version)
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 946, in requestReceived
	    self.process()
	--- <exception caught here> ---
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 235, in process
	    self.render(resrc)
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 302, in render
	    body = resrc.render(self)
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/resource.py", line 265, in render
	    return m(request)
	  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/web.py", line 267, in render_POST
	    magic_folder = self.get_magic_folder(nick)
	  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/test/test_status.py", line 532, in <lambda>
	    
	  File "/home/ram/work/leastauthority/magic-folder/venv/lib/python2.7/encodings/utf_8.py", line 16, in decode
	    return codecs.utf_8_decode(input, errors, True)
	exceptions.UnicodeEncodeError: 'ascii' codec can't encode character u'\uf435' in position 0: ordinal not in range(128)
	
2020-07-25 20:25:46+0530 [-] Unhandled Error
	Traceback (most recent call last):
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 1755, in dataReceived
	    finishCallback(data[contentLength:])
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 2171, in _finishRequestBody
	    self.allContentReceived()
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 2284, in allContentReceived
	    req.requestReceived(command, path, version)
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 946, in requestReceived
	    self.process()
	--- <exception caught here> ---
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 235, in process
	    self.render(resrc)
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 302, in render
	    body = resrc.render(self)
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/resource.py", line 265, in render
	    return m(request)
	  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/web.py", line 267, in render_POST
	    magic_folder = self.get_magic_folder(nick)
	  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/test/test_status.py", line 532, in <lambda>
	    
	  File "/home/ram/work/leastauthority/magic-folder/venv/lib/python2.7/encodings/utf_8.py", line 16, in decode
	    return codecs.utf_8_decode(input, errors, True)
	exceptions.UnicodeEncodeError: 'ascii' codec can't encode character u'\uf435' in position 0: ordinal not in range(128)
	
2020-07-25 20:25:46+0530 [-] Unhandled Error
	Traceback (most recent call last):
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 1755, in dataReceived
	    finishCallback(data[contentLength:])
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 2171, in _finishRequestBody
	    self.allContentReceived()
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 2284, in allContentReceived
	    req.requestReceived(command, path, version)
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 946, in requestReceived
	    self.process()
	--- <exception caught here> ---
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 235, in process
	    self.render(resrc)
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 302, in render
	    body = resrc.render(self)
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/resource.py", line 265, in render
	    return m(request)
	  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/web.py", line 267, in render_POST
	    magic_folder = self.get_magic_folder(nick)
	  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/test/test_status.py", line 532, in <lambda>
	    
	  File "/home/ram/work/leastauthority/magic-folder/venv/lib/python2.7/encodings/utf_8.py", line 16, in decode
	    return codecs.utf_8_decode(input, errors, True)
	exceptions.UnicodeEncodeError: 'ascii' codec can't encode character u'\uf435' in position 0: ordinal not in range(128)
	
2020-07-25 20:25:46+0530 [-] Unhandled Error
	Traceback (most recent call last):
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 1755, in dataReceived
	    finishCallback(data[contentLength:])
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 2171, in _finishRequestBody
	    self.allContentReceived()
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 2284, in allContentReceived
	    req.requestReceived(command, path, version)
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 946, in requestReceived
	    self.process()
	--- <exception caught here> ---
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 235, in process
	    self.render(resrc)
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 302, in render
	    body = resrc.render(self)
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/resource.py", line 265, in render
	    return m(request)
	  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/web.py", line 267, in render_POST
	    magic_folder = self.get_magic_folder(nick)
	  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/test/test_status.py", line 532, in <lambda>
	    
	  File "/home/ram/work/leastauthority/magic-folder/venv/lib/python2.7/encodings/utf_8.py", line 16, in decode
	    return codecs.utf_8_decode(input, errors, True)
	exceptions.UnicodeEncodeError: 'ascii' codec can't encode character u'\uf435' in position 0: ordinal not in range(128)
	
2020-07-25 20:25:46+0530 [-] Unhandled Error
	Traceback (most recent call last):
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 1755, in dataReceived
	    finishCallback(data[contentLength:])
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 2171, in _finishRequestBody
	    self.allContentReceived()
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 2284, in allContentReceived
	    req.requestReceived(command, path, version)
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 946, in requestReceived
	    self.process()
	--- <exception caught here> ---
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 235, in process
	    self.render(resrc)
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 302, in render
	    body = resrc.render(self)
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/resource.py", line 265, in render
	    return m(request)
	  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/web.py", line 267, in render_POST
	    magic_folder = self.get_magic_folder(nick)
	  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/test/test_status.py", line 532, in <lambda>
	    
	  File "/home/ram/work/leastauthority/magic-folder/venv/lib/python2.7/encodings/utf_8.py", line 16, in decode
	    return codecs.utf_8_decode(input, errors, True)
	exceptions.UnicodeEncodeError: 'ascii' codec can't encode character u'\U0010f435' in position 0: ordinal not in range(128)
	
2020-07-25 20:25:47+0530 [-] Unhandled Error
	Traceback (most recent call last):
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 1755, in dataReceived
	    finishCallback(data[contentLength:])
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 2171, in _finishRequestBody
	    self.allContentReceived()
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 2284, in allContentReceived
	    req.requestReceived(command, path, version)
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 946, in requestReceived
	    self.process()
	--- <exception caught here> ---
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 235, in process
	    self.render(resrc)
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 302, in render
	    body = resrc.render(self)
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/resource.py", line 265, in render
	    return m(request)
	  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/web.py", line 267, in render_POST
	    magic_folder = self.get_magic_folder(nick)
	  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/test/test_status.py", line 532, in <lambda>
	    
	  File "/home/ram/work/leastauthority/magic-folder/venv/lib/python2.7/encodings/utf_8.py", line 16, in decode
	    return codecs.utf_8_decode(input, errors, True)
	exceptions.UnicodeEncodeError: 'ascii' codec can't encode character u'\U0010f435' in position 0: ordinal not in range(128)
	
2020-07-25 20:25:47+0530 [-] Unhandled Error
	Traceback (most recent call last):
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 1755, in dataReceived
	    finishCallback(data[contentLength:])
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 2171, in _finishRequestBody
	    self.allContentReceived()
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 2284, in allContentReceived
	    req.requestReceived(command, path, version)
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 946, in requestReceived
	    self.process()
	--- <exception caught here> ---
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 235, in process
	    self.render(resrc)
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 302, in render
	    body = resrc.render(self)
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/resource.py", line 265, in render
	    return m(request)
	  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/web.py", line 267, in render_POST
	    magic_folder = self.get_magic_folder(nick)
	  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/test/test_status.py", line 532, in <lambda>
	    
	  File "/home/ram/work/leastauthority/magic-folder/venv/lib/python2.7/encodings/utf_8.py", line 16, in decode
	    return codecs.utf_8_decode(input, errors, True)
	exceptions.UnicodeEncodeError: 'ascii' codec can't encode character u'\x80' in position 0: ordinal not in range(128)
	
2020-07-25 20:25:47+0530 [-] Unhandled Error
	Traceback (most recent call last):
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 1755, in dataReceived
	    finishCallback(data[contentLength:])
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 2171, in _finishRequestBody
	    self.allContentReceived()
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 2284, in allContentReceived
	    req.requestReceived(command, path, version)
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/http.py", line 946, in requestReceived
	    self.process()
	--- <exception caught here> ---
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 235, in process
	    self.render(resrc)
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/server.py", line 302, in render
	    body = resrc.render(self)
	  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/web/resource.py", line 265, in render
	    return m(request)
	  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/web.py", line 267, in render_POST
	    magic_folder = self.get_magic_folder(nick)
	  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/test/test_status.py", line 532, in <lambda>
	    
	  File "/home/ram/work/leastauthority/magic-folder/venv/lib/python2.7/encodings/utf_8.py", line 16, in decode
	    return codecs.utf_8_decode(input, errors, True)
	exceptions.UnicodeEncodeError: 'ascii' codec can't encode character u'\x80' in position 0: ordinal not in range(128)
}}}

Traceback (most recent call last):
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/twisted/python/failure.py", line 512, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/eliot/_generators.py", line 141, in wrapper
    value_out = gen.throw(*value_in)
  File "/home/ram/work/leastauthority/magic-folder/src/magic_folder/status.py", line 118, in status_from_folder_config
    treq,
  File "/home/ram/work/leastauthority/magic-folder/venv/local/lib/python2.7/site-packages/eliot/_generators.py", line 160, in wrapper
    value_in = yield value_out
magic_folder.common.BadResponseCode: Request for u'http://127.0.0.1:5432/api?t=json&name=%C2%80' received unexpected response code 500:
<html><head><title>Processing Failed</title></head><body><b>Processing Failed</b></body></html>


magic_folder.test.test_status.StatusTests.test_status
-------------------------------------------------------------------------------
Ran 1 tests in 0.607s

FAILED (errors=1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment