python /home/admin/mtr/script_for_cron.py -j default -m 20 -a 'python3 /home/admin/workarea/git/API/TestApiRouteJs/routeTestState/apiTestRoute.py -d /home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/ -f /home/admin/workarea/git/API//TestApiRouteJs/routeTestState/jsonFile/ -u https://vision.fotonower.com/ -v -i /home/admin/workarea/git/API/TestApiRouteJs/routeTestState/list_test.json ' -s Test_route_vision -M 0 -S 0 -U 90,80,95 import MySQLdb succeeded Ceci est un script de test api (test route) error: , req: , authentication_url : https://vision.fotonower.com/authenticate/userpass error: , req: , authentication_url : https://vision.fotonower.com/authenticate/userpass error: , req: , authentication_url : https://vision.fotonower.com/authenticate/userpass error: , req: , authentication_url : https://vision.fotonower.com/authenticate/userpass error: , req: , authentication_url : https://vision.fotonower.com/authenticate/userpass error: , req: , authentication_url : https://vision.fotonower.com/authenticate/userpass error: , req: , authentication_url : https://vision.fotonower.com/authenticate/userpass error: , req: , authentication_url : https://vision.fotonower.com/authenticate/userpass error: , req: , authentication_url : https://vision.fotonower.com/authenticate/userpass error: , req: , authentication_url : https://vision.fotonower.com/authenticate/userpass error: , req: , authentication_url : https://vision.fotonower.com/authenticate/userpass Traceback (most recent call last): File "/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/apiTestRoute.py", line 265, in status_list = urlTestStatus(param_url_test, opt.url, opt.file_dir, opt.filename, opt.feed_id, opt.verbose, opt.werbose, opt.self_log) File "/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/apiTestRoute.py", line 74, in urlTestStatus connectFotonower(api, credentials.conf.get('nonregtest')["USER"], credentials.conf.get('nonregtest')["PWD"]) File "/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/apiTestRoute.py", line 60, in connectFotonower return response UnboundLocalError: local variable 'response' referenced before assignment Command exited with non-zero status 1 0.35user 0.20system 24:23.97elapsed 0%CPU (0avgtext+0avgdata 54204maxresident)k 552inputs+8outputs (6major+12607minor)pagefaults 0swaps