Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

FileNotFoundError opening files with pandas that were previously visible #165

Open
psychemedia opened this issue Oct 4, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@psychemedia
Copy link

I've just started migrating to the xeus-python-kernel and I'm experiencing some unusual behaviour with opening local files using pandas.

I was opening files distributed with the JupyterLite as expected, but then updated the kernel on Github Pages, reloaded the JupyterLite environment, restarted kernels etc and tried to load the same files in from the same notebooks, but now the pandas file reads report as FileNotFoundError [Errno 44] No such file or directory.

The data files are visible in the file browser.

If I open and save the data files as is, they are still not found when I try to load them in.

I could clear the cache / local storage of all files and try a clean start, but the files saved to storage include many changes and would rather not have to export all the files and update the original repo with the changes, or import the files back in. (In part, I'm trying to shakedown the environment for student use and find issues and workarounds before things go live.)

Are there any tricks I could try / debug steps I could take to help identify any glitches?

@psychemedia psychemedia added the bug Something isn't working label Oct 4, 2023
@psychemedia psychemedia changed the title FileNotFoundError opening files that were previously visible FileNotFoundError opening files with pandas that were previously visible Oct 4, 2023
@martinRenou
Copy link
Member

Could you please provide your jupyterlite and jupyterlite-xeus-python versions?

Also, can you try with a private window? Getting rid of the cache may not be enough to workaround this. You may need to also remove any service worker registered.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants