Improper file naming caused the code pull to fail on the Windows system. #7063

Closed
opened 2026-02-21 18:18:40 -05:00 by yindo · 2 comments
Owner

Originally created by @alishangtian on GitHub (Dec 4, 2024).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

0.13.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

filepath:https://github.com/langgenius/dify/blob/main/api/core/model_runtime/model_providers/bedrock/rerank/cohere.rerank-v3-5%3A0.yaml
path contain :cause git pull error
image

✔️ Expected Behavior

fix

Actual Behavior

No response

Originally created by @alishangtian on GitHub (Dec 4, 2024). ### Self Checks - [X] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [X] Please do not modify this template :) and fill in all the required fields. ### Dify version 0.13.0 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce filepath:https://github.com/langgenius/dify/blob/main/api/core/model_runtime/model_providers/bedrock/rerank/cohere.rerank-v3-5%3A0.yaml path contain :cause git pull error ![image](https://github.com/user-attachments/assets/27a89248-68df-472e-8097-ddcf78b06611) ### ✔️ Expected Behavior fix ### ❌ Actual Behavior _No response_
yindo added the 🐞 bug label 2026-02-21 18:18:40 -05:00
yindo closed this issue 2026-02-21 18:18:40 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Dec 4, 2024):

Hello @alishangtian! I'm here to help you with bugs, questions, and contributing. If you need assistance, feel free to ask.

A similar issue has been discussed, where the use of the colon character (":") in filenames caused problems on Windows systems because it's a reserved character. The suggested workaround is to clone the repository in a Linux environment or use Windows Subsystem for Linux (WSL) on Windows 10. This allows you to bypass the issue temporarily. However, a long-term solution would involve renaming the files to avoid using reserved characters [1].

To continue talking to Dosu, mention @dosu.

@dosubot[bot] commented on GitHub (Dec 4, 2024): <!-- Greeting --> Hello @alishangtian! I'm here to help you with bugs, questions, and contributing. If you need assistance, feel free to ask. <!-- Answer --> A similar issue has been discussed, where the use of the colon character (":") in filenames caused problems on Windows systems because it's a reserved character. The suggested workaround is to clone the repository in a Linux environment or use Windows Subsystem for Linux (WSL) on Windows 10. This allows you to bypass the issue temporarily. However, a long-term solution would involve renaming the files to avoid using reserved characters <sup>[[1]](https://github.com/langgenius/dify/issues/2153)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
Author
Owner

@yihong0618 commented on GitHub (Dec 4, 2024):

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

0.13.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

filepath:https://github.com/langgenius/dify/blob/main/api/core/model_runtime/model_providers/bedrock/rerank/cohere.rerank-v3-5%3A0.yaml path contain :cause git pull error image

✔️ Expected Behavior

fix

Actual Behavior

No response

git config --global core.protectNTFS false

https://stackoverflow.com/questions/63727594/github-git-checkout-returns-error-invalid-path-on-windows

@yihong0618 commented on GitHub (Dec 4, 2024): > ### Self Checks > * [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). > * [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. > * [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). > * [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) > * [x] Please do not modify this template :) and fill in all the required fields. > > ### Dify version > 0.13.0 > > ### Cloud or Self Hosted > Self Hosted (Docker) > > ### Steps to reproduce > filepath:https://github.com/langgenius/dify/blob/main/api/core/model_runtime/model_providers/bedrock/rerank/cohere.rerank-v3-5%3A0.yaml path contain :cause git pull error ![image](https://private-user-images.githubusercontent.com/3463296/392647509-27a89248-68df-472e-8097-ddcf78b06611.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzMzNzM0NzQsIm5iZiI6MTczMzM3MzE3NCwicGF0aCI6Ii8zNDYzMjk2LzM5MjY0NzUwOS0yN2E4OTI0OC02OGRmLTQ3MmUtODA5Ny1kZGNmNzhiMDY2MTEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MTIwNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDEyMDVUMDQzMjU0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9M2E5NTRiZjMyYWNlNzYzNDE1ZjA0NWNjODNkMjdjYzRmZjlhZjExZDA5NGI1NzQ5MzAxNDY4YTQ0ODRjMzg4MCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.aIxV-0X4stXB4W1nxx3RlU12qkoM7Adg4SGgG_rUp7c) > > ### ✔️ Expected Behavior > fix > > ### ❌ Actual Behavior > _No response_ ``` git config --global core.protectNTFS false ``` https://stackoverflow.com/questions/63727594/github-git-checkout-returns-error-invalid-path-on-windows
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#7063