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

The filename or extension is too long #33

Closed
lebedov opened this issue Apr 20, 2018 · 11 comments
Closed

The filename or extension is too long #33

lebedov opened this issue Apr 20, 2018 · 11 comments

Comments

@lebedov
Copy link

lebedov commented Apr 20, 2018

The problem described in #12 appears to have recurred with 9.11.0 on Windows 7:

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    nodejs-9.11.0              |                0        12.6 MB  conda-forge

The following NEW packages will be INSTALLED:

    nodejs: 9.11.0-0 conda-forge

Proceed ([y]/n)? y


Downloading and Extracting Packages
nodejs 9.11.0#######6   |  76%

FileNotFoundError(2, 'The filename or extension is too long')
@minrk
Copy link
Member

minrk commented Apr 23, 2018

@lebedov what is your Python version in your root conda environment?

@lebedov
Copy link
Author

lebedov commented Apr 23, 2018

3.6.5

@minrk
Copy link
Member

minrk commented Apr 23, 2018

Hm, I thought this bug was fixed by recent Python. The Python bug on this topic: https://bugs.python.org/issue18199

@minrk
Copy link
Member

minrk commented Apr 23, 2018

What version of conda?

@lebedov
Copy link
Author

lebedov commented Apr 23, 2018

Conda 4.5.1 from conda-forge.

@jakirkham
Copy link
Member

Can you please share conda info? Also what is the path of the environment this package is being installed into?

@lebedov
Copy link
Author

lebedov commented Apr 25, 2018

The package is being installed in the base environment mentioned below.

     active environment : None
       user config file : C:\Users\lebedov\DOCUME~1\MOBAXT~1\home\.condarc
 populated config files : C:\Users\lebedov\DOCUME~1\MOBAXT~1\home\.condarc
          conda version : 4.5.1
    conda-build version : 3.8.1
         python version : 3.6.5.final.0
       base environment : C:\Users\lebedov\AppData\Local\Continuum\anaconda3  (writable)
           channel URLs : https://conda.anaconda.org/conda-forge/win-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/free/win-64
                          https://repo.anaconda.com/pkgs/free/noarch
                          https://repo.anaconda.com/pkgs/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/pro/win-64
                          https://repo.anaconda.com/pkgs/pro/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
          package cache : C:\Users\lebedov\AppData\Local\Continuum\anaconda3\pkgs
                          C:\Users\lebedov\AppData\Local\conda\conda\pkgs
       envs directories : C:\Users\lebedov\AppData\Local\Continuum\anaconda3\envs
                          C:\Users\lebedov\AppData\Local\conda\conda\envs
                          C:\Users\lebedov\DOCUME~1\MOBAXT~1\home\.conda\envs
               platform : win-64
             user-agent : conda/4.5.1 requests/2.18.4 CPython/3.6.5 Windows/7 Windows/6.1.7601
          administrator : True
             netrc file : None
           offline mode : False

@jakirkham
Copy link
Member

Could you please share this report in issue ( conda/conda#7203 ), @lebedov?

@jakirkham
Copy link
Member

This is ultimately a conda problem that has been filed as issue ( conda/conda#7203 ). Please follow along and share info there. FWIW there is a suggested workaround for this issue. Going to close to consolidate the discussion in that issue. Thanks for reporting and sharing details.

@jakirkham
Copy link
Member

FWIW the 9.11.1 release notes state, "An infrastructure issue caused a non-functioning msi installer for x64 to be promoted. The patch release is to ensure that all binaries and installers work as expected." This makes me wonder if this issue still exists in the 9.11.1 release. Have you tried that one, @lebedov?

@lebedov
Copy link
Author

lebedov commented May 25, 2018

@jakirkham I encountered the same issue with 9.11.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants