python /home/admin/mtr/script_for_cron.py -j check_batch_cod -m 50 -a '' -s check_batch_cod -M 0 -S 0 -U 101,101,101 import MySQLdb succeeded Import error (python version) ['/Users/moilerat/Documents/Fotonower/install/caffe/distribute/python', '/home/admin/workarea/git/Velours/python/prod', '/home/admin/workarea/install/darknet', '/home/admin/workarea/git/Velours/python', '/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python', '/home/admin/mtr/.credentials', '/home/admin/workarea/install/caffe/python', '/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools', '/home/admin/workarea/git/fotonowerpip', '/home/admin/workarea/install/segment-anything', '/home/admin/workarea/git/pyfvs', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/admin/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] Namespace(auto=False, cert_args='/home/fotonower/https/cert.pem', contextDataFile='', custom_size=0, database='', datou_id=0, datou_id_excluded='', fifo=False, host='', is_cpu_mode=False, job='check_batch_cod', json_args='', key_args='/home/fotonower/https/vision.fotonower.com.key', limit=1000, list_photo_ids='', local='', mtr_current_id=0, mtr_portfolio_ids='', nb_thread=1, no_current=False, offset=0, only_client=False, output_file='', password='', port=5100, rand=0, save=2, use_client=False, user_id=440, username='', verbose=True) process id : 3742536 No network : Unable to connect to sql.fotonower.com : (2003, "Can't connect to MySQL server on 'sql.fotonower.com:3306' (111)") Running datou job : check_batch_cod Traceback (most recent call last): File "prod/datou.py", line 311, in datouReset(context, limit, verbose, check_batch_cod=1) File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 1216, in datouReset dc_to_delete = get_dc_id_for_cod(context.gq,1,"533,4310,4219,4187",verbose) AttributeError: 'NoneType' object has no attribute 'gq' Command exited with non-zero status 1 2.19user 0.42system 0:15.70elapsed 16%CPU (0avgtext+0avgdata 102352maxresident)k 0inputs+8outputs (0major+28374minor)pagefaults 0swaps