Trace collected at: 2016-12-02 11:29:16.975000 ---------------------------------------------------------------------- ../GSEOS_scripts/General\send_efwcmds.py[232]: if((year != None) and (week != None)): ../GSEOS_scripts/General\send_efwcmds.py[239]: elif(get_week): ../GSEOS_scripts/General\send_efwcmds.py[250]: now = datetime.datetime.now() ../GSEOS_scripts/General\send_efwcmds.py[251]: year = int(now.strftime('%Y')) ../GSEOS_scripts/General\send_efwcmds.py[252]: week = int(now.strftime('%U')) ../GSEOS_scripts/General\send_efwcmds.py[254]: if(cmd_file_info.startswith('https')): ../GSEOS_scripts/General\send_efwcmds.py[257]: elif(cmd_file_info.startswith('http')): ../GSEOS_scripts/General\send_efwcmds.py[267]: elif(cmd_file_info == 'this_week'): ../GSEOS_scripts/General\send_efwcmds.py[274]: elif(cmd_file_info == 'next_week'): ../GSEOS_scripts/General\send_efwcmds.py[275]: url = find_latest_cmds_file(spacecraft_id, year, week+1, version=version) ../GSEOS_scripts/General\send_efwcmds.py[178]: latest_url = None ../GSEOS_scripts/General\send_efwcmds.py[179]: current_version = 0 ../GSEOS_scripts/General\send_efwcmds.py[181]: if(version != None): ../GSEOS_scripts/General\send_efwcmds.py[191]: while(True): ../GSEOS_scripts/General\send_efwcmds.py[192]: filename = "rbsp%s_%04d_%02d_%02d.efwcmds" % (scid, year, week, current_version) ../GSEOS_scripts/General\send_efwcmds.py[193]: current_url = urlparse.urljoin(efwcmds_url_base, filename) ../GSEOS_scripts/General\send_efwcmds.py[194]: if(url_exists(current_url)): ../GSEOS_scripts/General\send_efwcmds.py[138]: try: ../GSEOS_scripts/General\send_efwcmds.py[139]: urllib.urlopen(url).info()['Last-Modified'] ../GSEOS_scripts/General\send_efwcmds.py[140]: except KeyError: ../GSEOS_scripts/General\send_efwcmds.py[141]: retval = False ../GSEOS_scripts/General\send_efwcmds.py[145]: return retval ../GSEOS_scripts/General\send_efwcmds.py[198]: break ../GSEOS_scripts/General\send_efwcmds.py[199]: return latest_url ../GSEOS_scripts/General\send_efwcmds.py[276]: if(url == None): ../GSEOS_scripts/General\send_efwcmds.py[278]: print >> log, "There was no efwcmds file for next week (week %d)." % (week) ../GSEOS_scripts/General\send_efwcmds.py[279]: return