ArchiveTeam / seesaw-kit

Making a reusable toolkit for writing seesaw scripts
Other
69 stars 30 forks source link

test_executable: TypeError: Type str doesn't support the buffer API #83

Closed chfoo closed 9 years ago

chfoo commented 9 years ago

Reported from IRC using run-pipeline3

Looking for Wget+Lua in ./wget-lua
Traceback (most recent call last):
  File "/usr/local/bin/run-pipeline3", line 13, in <module>
    main()
  File "/usr/local/lib/python3.4/dist-packages/seesaw/script/run_pipeline.py", line 221, in main
    runner = init_runner(args)
  File "/usr/local/lib/python3.4/dist-packages/seesaw/script/run_pipeline.py", line 250, in init_runner
    (project, pipeline) = load_pipeline(args.pipeline, context)
  File "/usr/local/lib/python3.4/dist-packages/seesaw/script/run_pipeline.py", line 37, in load_pipeline
    exec(pipeline_str, local_context, global_context)
  File "<string>", line 47, in <module>
  File "/usr/local/lib/python3.4/dist-packages/seesaw/util.py", line 51, in find_executable
    if test_executable(name, version, path, version_arg):
  File "/usr/local/lib/python3.4/dist-packages/seesaw/util.py", line 33, in test_executable
    if not any((v in result) for v in version):
  File "/usr/local/lib/python3.4/dist-packages/seesaw/util.py", line 33, in <genexpr>
    if not any((v in result) for v in version):
TypeError: Type str doesn't support the buffer API