We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If there are non-string values self._distributions this line does not work:
self._distributions
direvius@debuild-trusty:~/robe/yandex-tank$ pex -f wheelhouse/ yandextank -c yandex.tank -o yandex-tank.pex Traceback (most recent call last): File "/usr/local/bin/pex", line 11, in <module> sys.exit(main()) File "/usr/local/lib/python2.7/dist-packages/pex/bin/pex.py", line 509, in main pex_builder = build_pex(reqs, options, resolver_options_builder) File "/usr/local/lib/python2.7/dist-packages/pex/bin/pex.py", line 486, in build_pex pex_builder.set_script(options.script) File "/usr/local/lib/python2.7/dist-packages/pex/pex_builder.py", line 214, in set_script script, ', '.join(self._distributions))) TypeError: sequence item 0: expected string, DistInfoDistribution found
The solution is to convert them into strings before joining:
', '.join(str(d) for d in self._distributions)
The text was updated successfully, but these errors were encountered:
Repair issue pex-tool#220.
198ce2f
Merge pull request #221 from kwlzn/kwlzn/pex/issue_220
cfcfe70
Repair issue #220.
thanks for the bug report! this should be fixed in master and will go out with the 1.1.5 pex release.
Sorry, something went wrong.
No branches or pull requests
If there are non-string values
self._distributions
this line does not work:The solution is to convert them into strings before joining:
The text was updated successfully, but these errors were encountered: