You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (Jira)" <ji...@apache.org> on 2023/02/06 22:25:00 UTC

[jira] [Created] (THRIFT-5681) TestSocket.py: TypeError: sequence item 0: expected str instance, NoneType found

Jens Geyer created THRIFT-5681:
----------------------------------

             Summary: TestSocket.py: TypeError: sequence item 0: expected str instance, NoneType found
                 Key: THRIFT-5681
                 URL: https://issues.apache.org/jira/browse/THRIFT-5681
             Project: Thrift
          Issue Type: Sub-task
          Components: Python - Library
            Reporter: Jens Geyer


Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/thrift-0.17.0/test/py/RunClientServer.py", line 323, in <module>
    sys.exit(main())
  File "/home/tkloczko/rpmbuild/BUILD/thrift-0.17.0/test/py/RunClientServer.py", line 302, in main
    runScriptTest(options.libdir, options.gen_base, genpydir, script)
  File "/home/tkloczko/rpmbuild/BUILD/thrift-0.17.0/test/py/RunClientServer.py", line 94, in runScriptTest
    env = setup_pypath(libdir, os.path.join(genbase, genpydir))
  File "/home/tkloczko/rpmbuild/BUILD/thrift-0.17.0/test/py/RunClientServer.py", line 87, in setup_pypath
    env['PYTHONPATH'] = os.pathsep.join(dirs)
TypeError: sequence item 0: expected str instance, NoneType found
97% tests passed, 13 tests failed out of 384Total Test time (real) = 185.78 secThe following tests FAILED:
        347 - SecurityTest (Failed)
        348 - SecurityFromBufferTest (Failed)
        355 - testapplicationexception (SIGTRAP)
        361 - testfdtransport (SIGTRAP)
        370 - testthriftfdreadcheck (SIGTRAP)
        376 - PythonTestSSLSocket (Failed)
        377 - PythonThriftJson (Failed)
        378 - PythonThriftTransport (Failed)
        379 - PythonThriftTBinaryProtocol (Failed)
        380 - PythonThriftTZlibTransport (Failed)
        381 - PythonThriftProtocol (Failed)
        382 - PythonThriftTNonblockingServer (Failed)
        384 - python_test (Failed)
Errors while running CTest
make: *** [Makefile:94: test] Error 8
make: Leaving directory '/home/tkloczko/rpmbuild/BUILD/thrift-0.17.0/x86_64-redhat-linux-gnu'
 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)