Comment #4 on issue 1477 by a...@infokinetika.ru: Robotdiff fails if test names are not in ASCII
http://code.google.com/p/robotframework/issues/detail?id=1477

I have a similar problem.

<robot generator="Robot 2.8.1 (Jython 2.5.3 on java1.7.0_45)" generated="20131105 13:32:28.787"> <msg timestamp="20131105 13:32:31.721" level="ERROR">Unexpected error: UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-2: ordinal not in range(128)
Traceback (most recent call last):
  File "C:\Python27\Lib\site-packages\robot\run.py", line 385, in main
    result = suite.run(settings)
...
File "C:\Python27\Lib\site-packages\robot\running\outputcapture.py", line 36, in __exit__
    self.release_and_log()
File "C:\Python27\Lib\site-packages\robot\running\outputcapture.py", line 45, in release_and_log
    sys.__stderr__.write(stderr+'\n')</msg>

I corrected line 45 in outputcapture.py:
sys.__stderr__.write(stderr+'\n') ==> sys.__stderr__.write(stderr.encode('utf-8')+'\n')



--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to robotframework-commit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to