Perl validation fails on startup with 'Filename too long' or 'CreateProcess error=267'

Troubleshooting Git

On this page

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

When starting Stash on Windows, the following error message are visible:

Error validating Perl: 'An error occurred while executing an external process: CreateProcess error=267, The directory name is invalid's

or:

Error validating Perl: 'An error occurred while executing an external process: [..]: Filename too long'

Cause

The error is caused by the absolute limit on the length of a directory's path on Windows. For more information, consult the following knowledge base article: Stash always shows incorrect Merge Conflict in PRs

Workaround

The Workaround section of the knowledge base article Stash always shows incorrect Merge Conflict in PRs discusses solutions to resolve the problem.

 

Last modified on Dec 10, 2012

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.