Skip to content
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

Distributed file name is too long for windows #12

Open
bollwyvl opened this issue Mar 23, 2022 · 0 comments
Open

Distributed file name is too long for windows #12

bollwyvl opened this issue Mar 23, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@bollwyvl
Copy link

Description

At least one file name in the released package is too long for stock windows.

References

Reproduce

  1. be on windows
  2. extract the file
  3. see it fails when used by anything (e.g. del, dir)

Expected behavior

  • can use file correctly

Context

  • JupyterLite version: v0.1.0b3
  • Operating System and version: Windows 10, 21H2
  • Browser and version: n/a
. pre_build:federated_extensions:extract:wheel:https://github.com/jupyterlite/p5-kernel-extension
TaskError - taskid:pre_build:federated_extensions:extract:wheel:@jupyterlite/p5-kernel-extension
PythonAction Error
Traceback (most recent call last):
File "C:\mf\envs\jupyterlite-dev\lib\site-packages\doit\action.py", line 437, in execute
returned_value = self.py_callable(*self.args, **kwargs)
File "C:\Users\DanieleMoroni\Documents\dev\jupyterlite\py\jupyterlite\src\jupyterlite\addons\federated_extensions.py", line 188, in _extract
zf.extractall(td, members)
File "C:\mf\envs\jupyterlite-dev\lib\zipfile.py", line 1633, in extractall
self._extract_member(zipinfo, path, pwd)
File "C:\mf\envs\jupyterlite-dev\lib\zipfile.py", line 1687, in _extract_member
open(targetpath, "wb") as target:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\DANIEL~1\AppData\Local\Temp\tmpw3svaf97\jupyterlite_p5_kernel-0.1.0a12.data\data\share\jupyter\labextensions\@jupyterlite\p5-kernel-extension\static\vendors-node_modules_css-loader_dist_runtime_api_js-node_modules_css-loader_dist_runtime_cssW-926fd9.34687ead919a402e3146.js'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant