-
Notifications
You must be signed in to change notification settings - Fork 61
Closed
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
While attempting to make this package run on Julia 0.7-beta2, I ran into this (I cannot reproduce this on Julia 0.6.2!)
I'm on a Windows 10 machine, and this error keeps popping up while running the tests on the very last line where rm("output_tables.xlsx") is called:
ERROR: LoadError: unlink: resource busy or locked (EBUSY)
Stacktrace:
[1] uv_error at .\libuv.jl:80 [inlined]
[2] unlink(::String) at .\file.jl:741
[3] #rm#9(::Bool, ::Bool, ::Function, ::String) at .\file.jl:253
[4] rm(::String) at .\file.jl:245
[5] top-level scope at none:0
[6] include at .\boot.jl:317 [inlined]
[7] include_relative(::Module, ::String) at .\loading.jl:1034
[8] include(::Module, ::String) at .\sysimg.jl:29
[9] include(::String) at .\client.jl:393
[10] top-level scope at none:0
in expression starting at C:\Users\Gebruiker\.julia\dev\XLSX\test\runtests.jl:1035
ERROR: Package XLSX errored during testing
Apparantly, this is a common problem on Windows with respect to file IO, see for instance https://discourse.julialang.org/t/windows-specific-uv-error/3127/8.
I suspect that it might (partially) be a base Julia bug, but for some reason it only fails at the last rm("output_tables.xlsx"), and not on previous calls. Do you have any idea what is so special about this last time, are there operations in the final set of tests that make it lock the file?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed