question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The filename is too long

See original GitHub issue

Hello @conda-forge/staged-recipes ,

My recipe failed because of long pathnames in source:

FileNotFoundError: [WinError 206] The filename or extension is too long

Azure CI Win64 Source

We did use long pathname: we have a many subfolders to describe French Taxes. We limit them to 195 characters max (including source folder name), as Windows have a default limit of 256 characters.

The Windows CI failed because of that : We need to reduce length by 30 characters to make it work in staged-recipes CI. That’s too much to keep understandable path.

On my Windows the package build well with conda build --croot d:\tmp .conda to shorten the build folder.

Do you think it’s acceptable to do the same tricks in staged-recipes ? It seem that it need only a modification of https://github.com/conda-forge/staged-recipes/blob/eacdb0130d5174d5dd5bcd4c33b86ebc542996a4/.ci_support/build_all.py#L126

Are we allowed to have a specific script for our feedstock ?

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
jakirkhamcommented, Jan 19, 2022

This looks potentially related ( https://github.com/BurntSushi/ripgrep/issues/364 )

1reaction
benoit-ctycommented, Jan 17, 2022

Thank you very much, it works !

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Fix 'Filename Is Too Long' Issue In Windows
It's obvious who the offender is in this case. Find the file in Windows Explorer, or File Explorer as it's called in Windows...
Read more >
SOLVED: The File Name Is Too Long
This error represents that the file name is either too long to open, delete, or edit considering the given file location or path...
Read more >
[SOLVED] How to Fix The File Name Too Long Error Problem
1. Shorten the Filename or Zip it – ... Since the File Name Too Long for destination folder windows 10 error is all...
Read more >
Can't open an Office file that has a long folder name
Workaround · Rename the file so that it has a shorter name. · Rename one or more folders that contain the file so...
Read more >
Fix: The filename or extension is too long in Windows 11
Fix 1 – Keep the Filename Short · Fix 2 – Copy the files to another folder with shorter name · Fix 3...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found