option --pythonVersion not recognized #7673
-
DIRAC py3 server 7.3.17, py3 pilot jobs and py3 diracos2 client Still running an old version on our dirac production server but I'm in the process of updating my dirac test machine to the latest version :) Since a couple of days pilot job crash with the following error message: option --pythonVersion not recognized The command that is being run is: Executing: python dirac-pilot.py -S DIRAC-Production --pythonVersion=3 -ddd -N arc01.gina.surfsara.nl -Q long-4core -n GRID.SURF.nl --modules=https://github.com/chaen/DIRAC.git:::DIRAC:::rel-v7r3_FEAT_proxyStrength This started all of a sudden. I asked the admins of the compute cluster if something changed that could explain this. But the dirac command that is being run is not the one on the worker node but the one in the python environment setup by the pilot, right? Anyway, hope you can tell me where to look. Kind regards, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 12 replies
-
Hi, We recently merged the following PR into the master branch of the Pilot: DIRACGrid/Pilot#235 And I think we don't maintain DIRAC/src/DIRAC/WorkloadManagementSystem/Agent/SiteDirector.py Lines 996 to 997 in 5938d10 It should prevent having Cheers |
Beta Was this translation helpful? Give feedback.
-
Hi, I have tried that solution. But for version 8.0.36 it did not work. The problem is that in that version the option is appended automatically. Commenting that line in code helped! |
Beta Was this translation helpful? Give feedback.
Please delete your https://github.com/ernstpijper/DIRAC repository
And then "fork" the existing DIRAC
https://github.com/DIRACGrid/DIRAC/fork
instead.
And then use the commands I posted above, for example.