[ 
https://issues.apache.org/jira/browse/THRIFT-2413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15011434#comment-15011434
 ] 

Jens Geyer commented on THRIFT-2413:
------------------------------------

Not sure if it belongs here, but I get this:

{code}
/usr/bin/python test/test.py -s --server 
cpp,c_glib,java,csharp,py,py3,rb,hs,perl,php,go,nodejs,dart, --client 
cpp,c_glib,java,csharp,py,py3,rb,hs,perl,php,go,nodejs,dart,
Apache Thrift - Integration Test Suite
Wed Nov 18 16:46:50 2015
======================================================================
server-client:     protocol:    transport:               result:
Traceback (most recent call last):
  File "test/test.py", line 123, in <module>
    sys.exit(main(sys.argv[1:]))
  File "test/test.py", line 119, in main
    res = run_tests(server_match, client_match, options.jobs, 
options.skip_known_failures)
  File "test/test.py", line 63, in run_tests
    for r in [dispatcher.dispatch(test) for test in tests]:
  File "/home/jens/Arbeitsfläche/Thrift/test/crossrunner/run.py", line 296, in 
dispatch
    index = self._report.add_test(test)
  File "/home/jens/Arbeitsfläche/Thrift/test/crossrunner/report.py", line 367, 
in add_test
    test = TestEntry(self.testdir, **test_dict)
  File "/home/jens/Arbeitsfläche/Thrift/test/crossrunner/test.py", line 97, in 
__init__
    self.server = TestProgram('server', 
**self._fix_workdir(merge_dict(self._config, server)))
  File "/home/jens/Arbeitsfläche/Thrift/test/crossrunner/test.py", line 116, in 
_fix_workdir
    path = os.path.realpath(os.path.join(self.testdir, path))
  File "/usr/lib/python2.7/posixpath.py", line 80, in join
    path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 20: 
ordinal not in range(128)
Makefile:1043: recipe for target 'cross' failed
make: *** [cross] Error 1
{code}

Version is 

{code}
Python 2.7.8 (default, Sep 30 2014, 15:34:38) [GCC] on linux2
{code}



> Python: UTF-8 sent by PHP as JSON is not understood by TJsonProtocol
> --------------------------------------------------------------------
>
>                 Key: THRIFT-2413
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2413
>             Project: Thrift
>          Issue Type: Sub-task
>          Components: Python - Library
>            Reporter: Jens Geyer
>            Assignee: Phongphan Phuttha
>             Fix For: 1.0
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to