-
Notifications
You must be signed in to change notification settings - Fork 11
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
Client session for fetching data from CATMAID throws an error #247
Comments
I'm hoping @clbarnes can chime in here as he implemented the current stack download system. In the meantime: could you please post your code snippet (minus the credentials of course) as a code block by surrounding it with three tick-marks (`)? Saves us from having to copy your code from the screenshot. |
Error message as text would be great too! What version of fsspec do you have installed? The error message is pointing to that library, but the usage seems to match with those in the docs of their latest version. |
Yes, sure! Here is the code:
and the error message:
@clbarnes The fsspec version I have installed is 2024.3.1 |
Hi @clbarnes, have you had a chance to take a look here so far? |
Sorry - harder to find the time for it now I'm out of research! I tried to take a look tonight but seems like there are network issues somewhere between me and PyPI, been trying in vain just to install dependencies for the last half hour and keep getting timeouts. My seymour credentials have also been disabled, but I can try virtualflybrain's mirror. I'll give it another go when I can. |
Got things installed eventually but still having network and other issues. However, as VFB doesn't have any N5 stacks there isn't much I can do to debug this, sorry. |
Hi @clbarnes, So getting this to run again would likely be a major effort. We will use a work around for now (downloading the data at full-scale and downscaling it on the fly). But it would maybe make sense to mark the n5 functionality as deprecated / not working. cc @schlegelp. |
That's very frustrating. Is it a library change or a python one? If library, the version could be pinned. It may only be the HTTP auth which is broken (because otherwise you don't have to construct the aiohttp client yourself), although its possible the construction of a client lower down the stack still causes problems. |
Otherwise, the only solution is clearly to rewrite pymaid to be async-first ;) |
Hi,
I try to fetch data from CATMAID, more precisely I try to download the Seymour CNS EM volume, but I get error messages regarding setting up the client session via aiohttp...
Here is the python code I use:
And that's the error message I get:
What do I have to do to set up the client session correctly?
The text was updated successfully, but these errors were encountered: