Electa-Git / PowerModelsDistributionStateEstimation.jl

A Julia Package for Power System State Estimation.
BSD 3-Clause "New" or "Revised" License
32 stars 12 forks source link

Errors when running tests internally #27

Closed timmyfaraday closed 3 years ago

timmyfaraday commented 3 years ago

When running the tests internally, many tests fail due to

SystemError: opening file "/Users/tvanacke/.julia/packages/PowerModelsDistributionStateEstimation/QCTn0/test/data/enwl/measurements/temp.csv": Permission denied

MartaVanin commented 3 years ago

This is annoying, we can't make sure that directory has write access for each user. I see two possible solutions: 1) We either save and store a measurement CSV for each test, or 2) we create a temporary directory with write access with "cd(mktempdir())". I would suspect this might also create issues, but it actually seemed to work here: https://github.com/JuliaLang/julia/issues/17829

I will try the second one tomorrow or so

MartaVanin commented 3 years ago

I merged to master my branch with the 2. solution, testing works locally for me, but it was also the case before, so would be great if you could check whenever you have a minute

MartaVanin commented 3 years ago

closed by #28