From 9bc0162dc0bdb90c4312ee3945444da4f2c08cdc Mon Sep 17 00:00:00 2001 From: Stuart Mitchell Date: Mon, 16 Mar 2015 23:47:28 +1300 Subject: [PATCH] more debug3 --- src/pulp/solvers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pulp/solvers.py b/src/pulp/solvers.py index 29b348f..e02f7d3 100644 --- a/src/pulp/solvers.py +++ b/src/pulp/solvers.py @@ -1466,9 +1466,10 @@ class PULP_CBC_CMD(COIN_CMD): This solver uses a precompiled version of cbc provided with the package """ pulp_cbc_path = pulp_cbc_path - print(pulp_cbc_path) + print('in PULP_CBC_CMD ', pulp_cbc_path) try: if os.name != 'nt': + print('os.access(pulp_cbc_path, os.X_OK) ', os.access(pulp_cbc_path, os.X_OK)) if not os.access(pulp_cbc_path, os.X_OK): import stat os.chmod(pulp_cbc_path, stat.S_IXUSR + stat.S_IXOTH)