Closed tingtron closed 4 years ago
In jkernel.py there is code, which attempts to remove plot HTML and bitmap image files while they are still open (in both places in code):
jkernel.py
with open(imgnam,'rb') as fp: imgdat = base64.b64encode(fp.read()).decode() os.remove(imgnam)
which causes the following error:
JKernel: Internal Error. [WinError 32] The process cannot access the file because it is being used by another process: '...user\\temp\\plot.html'
This is easily fixed by indenting the "remove()" line of code back, so it happens after the file is closed:
Thanks! Fixed in latest upload.
In
jkernel.py
there is code, which attempts to remove plot HTML and bitmap image files while they are still open (in both places in code):which causes the following error:
This is easily fixed by indenting the "remove()" line of code back, so it happens after the file is closed: