Skip to content

Encoding problem? #451

@jpellerin

Description

@jpellerin

What steps will reproduce the problem?
fetch https://bitbucket.org/dreamkxd/hgsubversion.svnmeta
install subvertpy on Windows, Python 2.7.1

https://bitbucket.org/dreamkxd/hgsubversion.svnmeta/downloads/subvertpy-0.8.8.win32-py2.7.exe

D:\CI\bld\hgsubversion.svnmeta\tests>nosetests --cover-html
............................................................................................................ETraceback (most recent call las
t):
File "D:\CI\Tools\Building\Python\Scripts\nosetests-script.py", line 9, in
load_entry_point('nose==1.1.2', 'console_scripts', 'nosetests')()
File "D:\CI\Tools\Building\Python\lib\site-packages\nose\core.py", line 118, in init
*_extra_args)
File "D:\CI\Tools\Building\Python\lib\unittest\main.py", line 95, in init
self.runTests()
File "D:\CI\Tools\Building\Python\lib\site-packages\nose\core.py", line 197, in runTests
result = self.testRunner.run(self.test)
File "D:\CI\Tools\Building\Python\lib\site-packages\nose\core.py", line 61, in run
test(result)
File "D:\CI\Tools\Building\Python\lib\site-packages\nose\suite.py", line 176, in call
return self.run(_arg, *_kw)
File "D:\CI\Tools\Building\Python\lib\site-packages\nose\suite.py", line 223, in run
test(orig)
File "D:\CI\Tools\Building\Python\lib\unittest\suite.py", line 65, in call
return self.run(_args, *_kwds)
File "D:\CI\Tools\Building\Python\lib\site-packages\nose\suite.py", line 74, in run
test(result)
File "D:\CI\Tools\Building\Python\lib\site-packages\nose\suite.py", line 176, in call
return self.run(_arg, *_kw)
File "D:\CI\Tools\Building\Python\lib\site-packages\nose\suite.py", line 223, in run
test(orig)
File "D:\CI\Tools\Building\Python\lib\site-packages\nose\suite.py", line 176, in call
return self.run(_arg, *_kw)
File "D:\CI\Tools\Building\Python\lib\site-packages\nose\suite.py", line 223, in run
test(orig)
File "D:\CI\Tools\Building\Python\lib\site-packages\nose\case.py", line 45, in call
return self.run(_arg, *_kwarg)
File "D:\CI\Tools\Building\Python\lib\site-packages\nose\case.py", line 138, in run
result.addError(self, err)
File "D:\CI\Tools\Building\Python\lib\site-packages\nose\proxy.py", line 131, in addError
formatted = plugins.formatError(self.test, err)
File "D:\CI\Tools\Building\Python\lib\site-packages\nose\plugins\manager.py", line 94, in call
return self.call(_arg, *_kw)
File "D:\CI\Tools\Building\Python\lib\site-packages\nose\plugins\manager.py", line 136, in chain
result = meth(_arg, **kw)
File "D:\CI\Tools\Building\Python\lib\site-packages\nose\plugins\capture.py", line 73, in formatError
test.capturedOutput = output = self.buffer
File "D:\CI\Tools\Building\Python\lib\site-packages\nose\plugins\capture.py", line 125, in _get_buffer
return self._buf.getvalue()
File "D:\CI\Tools\Building\Python\lib\StringIO.py", line 270, in getvalue
self.buf += ''.join(self.buflist)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xff in position 0: ordinal not in range(128)

D:\CI\bld\hgsubversion.svnmeta\tests>nosetests
..
What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Google Code Info:
Issue #: 457
Author: luoyongg...@gmail.com
Created On: 2011-10-16T17:03:52.000Z
Closed On:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions