-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows: image file delete impossible after adding it to project when using Bioformats #23
Comments
yes, I rerun the job already but it kept refusing the upload; I will package 0.2.2 and let's cross fingers that the CI completes this time |
0.2.2 is now up in the channel and this time windows upload did not get stuck Note that while I had been testing both the qupath packages and pimping it from python for a few months in linux and mac, how these things work in windows is terra incognita. If it gets nasty we probably will be better off testing using one of these free VMs from microsoft, or maybe we can use the "mycloud" thingy? |
Okay, So I can reproduce locally. And other than failing one test, we're hitting: |
windows pytest output is now spam free: a5b5cb6 |
can we use pyproject.toml instead of pytest.ini? |
Now that pytest 6.0 is out: yes 😄 |
@sdvillal is there (and if yes what is) the best way to get openslide working with our conda qupath? |
Note: The test's on windows are using the bioformatsimageserver backend. I believe that some filehandles are still open, because bioformats readers are not explicitly closed here: |
Ah 💡 Is probably the difference between openslide and bioformats... |
This solves the mystery why macos used a different image backend which caused the downsampling test to report a different set of levels... #23 (comment)
Update
So it seems as if deleting an image file on windows in the same session that is was added via
QuPathProject.add_image
causes a Permission exception on Windows.Causes I'm investigating currently:
.close
method is not implemented correctlyInitial issue
So windows had two failing tests (AND loads of thread error messages that might be pytest related...)
1951a56 fixed one of them.
A potential reason why the windows tests fails is, that we don't have a https://anaconda.org/sdvillal/qupath QuPath v0.2.1 pkg for windows. And we're currently testing against 0.2.0-m11...@sdvillal it looks like
you cancelled the CI when it was building the windows packages.the job failed to uploadcould you rerun them? ❤️
The text was updated successfully, but these errors were encountered: