From: Tom A. <re...@bu...> - 2015-12-08 17:06:25
|
New submission from Tom Alexander: 'NoneType' is not iterable in _nt_quote_args in spawn.py when setup() is called. This was tested using Jython 2.7.1b2. Here is a stacktrace: 08:42:12 File "setup.py", line 25, in <module> 08:42:12 setup( 08:42:12 File "/jenkins_data/jenkins/workspace/Util_OpsCenterBuild_Faster/ripcord/opscenterd/lib/jvm/com/datastax/opscenter/jython/2.7.1-rc2/jython-2.7.1-rc2.jar/Lib/distutils/core.py", line 152, in setup 08:42:12 File "/jenkins_data/jenkins/workspace/Util_OpsCenterBuild_Faster/ripcord/opscenterd/lib/jvm/com/datastax/opscenter/jython/2.7.1-rc2/jython-2.7.1-rc2.jar/Lib/distutils/core.py", line 152, in setup 08:42:12 File "/jenkins_data/jenkins/workspace/Util_OpsCenterBuild_Faster/ripcord/opscenterd/lib/jvm/com/datastax/opscenter/jython/2.7.1-rc2/jython-2.7.1-rc2.jar/Lib/distutils/dist.py", line 953, in run_commands 08:42:12 File "/jenkins_data/jenkins/workspace/Util_OpsCenterBuild_Faster/ripcord/opscenterd/lib/jvm/com/datastax/opscenter/jython/2.7.1-rc2/jython-2.7.1-rc2.jar/Lib/distutils/dist.py", line 972, in run_command 08:42:12 File "/jenkins_data/jenkins/workspace/Util_OpsCenterBuild_Faster/ripcord/opscenterd/lib/jvm/com/datastax/opscenter/jython/2.7.1-rc2/jython-2.7.1-rc2.jar/Lib/distutils/command/install.py", line 589, in run 08:42:12 File "/jenkins_data/jenkins/workspace/Util_OpsCenterBuild_Faster/ripcord/opscenterd/lib/jvm/com/datastax/opscenter/jython/2.7.1-rc2/jython-2.7.1-rc2.jar/Lib/distutils/cmd.py", line 326, in run_command 08:42:12 File "/jenkins_data/jenkins/workspace/Util_OpsCenterBuild_Faster/ripcord/opscenterd/lib/jvm/com/datastax/opscenter/jython/2.7.1-rc2/jython-2.7.1-rc2.jar/Lib/distutils/dist.py", line 972, in run_command 08:42:12 File "/jenkins_data/jenkins/workspace/Util_OpsCenterBuild_Faster/ripcord/opscenterd/lib/jvm/com/datastax/opscenter/jython/2.7.1-rc2/jython-2.7.1-rc2.jar/Lib/distutils/command/install_lib.py", line 101, in run 08:42:12 File "/jenkins_data/jenkins/workspace/Util_OpsCenterBuild_Faster/ripcord/opscenterd/lib/jvm/com/datastax/opscenter/jython/2.7.1-rc2/jython-2.7.1-rc2.jar/Lib/distutils/command/install_lib.py", line 140, in byte_compile 08:42:12 File "/jenkins_data/jenkins/workspace/Util_OpsCenterBuild_Faster/ripcord/opscenterd/lib/jvm/com/datastax/opscenter/jython/2.7.1-rc2/jython-2.7.1-rc2.jar/Lib/distutils/util.py", line 528, in byte_compile 08:42:12 File "/jenkins_data/jenkins/workspace/Util_OpsCenterBuild_Faster/ripcord/opscenterd/lib/jvm/com/datastax/opscenter/jython/2.7.1-rc2/jython-2.7.1-rc2.jar/Lib/distutils/spawn.py", line 40, in spawn 08:42:12 File "/jenkins_data/jenkins/workspace/Util_OpsCenterBuild_Faster/ripcord/opscenterd/lib/jvm/com/datastax/opscenter/jython/2.7.1-rc2/jython-2.7.1-rc2.jar/Lib/distutils/spawn.py", line 158, in _spawn_java 08:42:12 File "/jenkins_data/jenkins/workspace/Util_OpsCenterBuild_Faster/ripcord/opscenterd/lib/jvm/com/datastax/opscenter/jython/2.7.1-rc2/jython-2.7.1-rc2.jar/Lib/distutils/spawn.py", line 57, in _nt_quote_args 08:42:12 TypeError: 'NoneType' object is not iterable And here is a patch: https://github.com/jythontools/jython/pull/26 Explanation: This arguments list eventually gets joined via a ' '.join([arguments]) and there is a None in that list. Obviously you can't join None to a string. I'm not sure *how* the arguments list has a None value, but I ran into this. ---------- components: Library messages: 10518 nosy: teeohhem severity: normal status: open title: 'NoneType' is not iterable in _nt_quote_args in spawn.py when setup() is called versions: Jython 2.7 _______________________________________ Jython tracker <re...@bu...> <http://bugs.jython.org/issue2441> _______________________________________ |