id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,launchpad_bug 2375,make tests work under a non-ASCII path,daira,daira,"Currently when I run tests for a checkout of Tahoe-LAFS (at [/9ac392802b6034aefd4c742ea9dd02813f4667d9/trunk]) on Linux under a directory with ""€"" in its name, there are many test failures: {{{ FAILED (skips=5, expectedFailures=3, failures=2, errors=79, successes=1075) }}} After working around a shallow problem with `os.statvfs` not accepting a Unicode path, this becomes: {{{ FAILED (skips=5, expectedFailures=3, failures=2, errors=71, successes=1083) }}} Most of the remaining errors have this traceback: {{{ File ""/usr/lib/python2.7/dist-packages/twisted/python/threadpool.py"", line 172, in _worker result = context.call(ctx, function, *args, **kwargs) File ""/usr/lib/python2.7/dist-packages/twisted/python/context.py"", line 118, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File ""/usr/lib/python2.7/dist-packages/twisted/python/context.py"", line 81, in callWithContext return func(*args,**kw) File ""/home/davidsarah/tahoe/git/€/tahoe-lafs/src/allmydata/scripts/runner.py"", line 107, in runner config.parseOptions(argv) File ""/usr/lib/python2.7/dist-packages/twisted/python/usage.py"", line 252, in parseOptions self._dispatch[optMangled].dispatch(optMangled, arg) File ""/usr/lib/python2.7/dist-packages/twisted/python/usage.py"", line 56, in dispatch raise UsageError(""Parameter type enforcement failed: %s"" % (e,)) twisted.python.usage.UsageError: Parameter type enforcement failed: 'ascii' codec can't encode character u'\u20ac' in position 27: ordinal not in range(128) }}} ",defect,assigned,normal,soon,code,1.10.0,,unicode tests i18n,,