[DESDM-212] Submission error when using submit_run_dir Created: 26/Jun/14 27/Jun/14 Resolved: 27/Jun/14 Status: Project: Component/s: Affects Version/s: Fix Version/s: Closed DESDM Framework None Type: Reporter: Resolution: Labels: Remaining Estimate: Time Spent: Original Estimate: Bug Michelle Gower Done None Not Specified None Priority: Assignee: Votes: Not Specified Not Specified Description Date: Thu, 26 Jun 2014 16:46:12 -0500 From: Brian Yanny <yanny@fnal.gov> To: "Johnson, Michael Dennis" <mjohns44@illinois.edu> CC: <mgower@fnal.gov>, <mslyz@fnal.gov> Subject: RE: Minutes of DESDM testing phone con Jun 23, 2014 <snip> We tried setting the: submit_run_dir = r$ {reqnum} /D$ {expnum:8} /p$ {attnum:2} Normal Michelle Gower 0 Updated: variable in the submit.des file but when we do that we get an immediate error: ABORTING SUBMISSION Traceback (most recent call last): File "/cvmfs/descfs.fnal.gov/eeups/SL6/eups/packages/Linux64/ProcessingFW/0.8.8+ 0/bin/dessubmit", line 184, in <module> sys.exit(main(sys.argv)) File "/cvmfs/descfs.fnal.gov/eeups/SL6/eups/packages/Linux64/ProcessingFW/0.8.8+ 0/bin/dessubmit", line 161, in main config.save_file('%s/config.des' % uberctrl) File "/cvmfs/descfs.fnal.gov/eeups/SL6/eups/packages/Linux64/ProcessingFW/0.8.8+ 0/python/processingfw/pfwconfig.py", line 133, in save_file fh = open(filename, "w") IOError: [Errno 2] No such file or directory: 'r86/D00155368/p01/uberctrl/config.des' ================================= If we comment out #submit_run_dir and let it just make a dir with a timestamp, then things work.... ======================= <snip> Comments Comment by Michelle Gower [ 26/Jun/14 ] The making of the submit_run_dir worked fine. Other files were written to the submit_run_dir fine. The error came when specifically trying to write the config.des file. That code assumed that the submit_run_dir was an absolute path. Generated at Tue Feb 09 08:15:16 CST 2016 using JIRA 7.0.10#70120sha1:37e3d7a6fc4d580639533e7f7c232c925e554a6a.