search for: error_unless_python_binary_on_path

Displaying 3 results from an estimated 3 matches for "error_unless_python_binary_on_path".

2018 Jul 17
1
[PATCH] v2v: -o rhv-upload: check for ovirtsdk4 (RHBZ#1601943)
...it installed? See previous messages for problems.") + in + (* Check that nbdkit is available and new enough. *) let error_unless_nbdkit_working () = if 0 <> Sys.command "nbdkit --version >/dev/null" then @@ -231,6 +238,7 @@ object method precheck () = error_unless_python_binary_on_path (); + error_unless_ovirtsdk4_module_available (); error_unless_nbdkit_working (); error_unless_nbdkit_python3_working (); error_unless_output_alloc_sparse (); -- 2.17.1
2018 Apr 10
0
[PATCH v9] v2v: Add -o rhv-upload output mode (RHBZ#1557273).
...utput_string chan Output_rhv_upload_createvm_source.code); + createvm in + + (* Is SELinux enabled and enforcing on the host? *) + let have_selinux = + 0 = Sys.command "getenforce 2>/dev/null | grep -isq Enforcing" in + + (* Check that the Python binary is available. *) + let error_unless_python_binary_on_path () = + try ignore (which python3) + with Executable_not_found _ -> + error (f_"no python binary called ‘%s’ can be found on the $PATH") + python3 + in + + (* Check that nbdkit is available and new enough. *) + let error_unless_nbdkit_working () = + if 0 <...
2018 Apr 10
2
[PATCH v9] v2v: Add -o rhv-upload output mode (RHBZ#1557273).
v8 was here: https://www.redhat.com/archives/libguestfs/2018-April/msg00022.html v8 -> v9: - Addresses the only feedback from Tomáš. Rich.