pool.close() pool.join() except: comm.printException(comm.updateErrorsFilePath, errString="update") pass #import getpass #print("USER: "******" " + str(nrOfJobs) + " " + str(span) + " " + str(comm.chunksize) + " " + str(sum(nrOfChanges_)) + " ") jf.close() except: comm.printException(comm.updateErrorsFilePath, errString="update") pass '''''' try: commeth.measureDownloadsTime(monthly_updates_path, timedir) except: comm.printException(comm.updateErrorsFilePath, errString="update") pass
comm.printException(comm.initRdfErrorsFilePath, "get_ORG_entities_leftover") #print("LOC") if(od.sharedList_loc._callmethod('__len__') > 0): #print(od.sharedList_loc._callmethod('__len__')) try: locManager = initRdf.LocationManager(od) locManager.addTriples(od.sharedList_loc) except: comm.printException(comm.initRdfErrorsFilePath, "get_LOC_entities_leftover") #statistics end = datetime.datetime.now() span = end-start jf = open(processed_logfiles_path, 'a', encoding='utf-8') jf.write(currTime + " " + logfileName.replace(" ", "").replace("..", "") + " " + str(nrOfJobs) + " " + str(span) + " " + str(comm.chunksize) + " " + str(nr_of_log_rows) + " ") jf.close() '''''' #print("SPAN: ", span) print("totalseconds: ", span.total_seconds()) '''''' commeth.measureDownloadsTime(processed_logfiles_path, ajadir)