KBNLresearch / iromsgl

Single-disc version of Iromlab
Apache License 2.0
2 stars 2 forks source link

FileNotFoundError on isobuster.log #2

Closed bitsgalore closed 2 years ago

bitsgalore commented 2 years ago

This sometimes happens (using Windows 10 VM with virtual floppy):

  File "z:\ipmlab\pmworker.py", line 124, in processMedium
    resultIsoBuster = isobuster.extractData(dirDisc)
  File "z:\ipmlab\isobuster.py", line 45, in extractData
    with io.open(logFile, "r", encoding="cp1252") as fLog:
FileNotFoundError: [Errno 2] No such file or directory: 'X:\\iromlab-test\\kb-c8f34409-dc40-11ec-96fb-0800272c26ff\\e2a3e029-dc40-11ec-8cb6-0800272c26ff\\isobuster.log'

Could be some race condition, but log file does exist (and code already uses a 2-second pause before checking for this file). Or maybe there's a delay in writing the file because of general VM slowness?