Skip to content

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

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

Closed
5 tasks done
alishangtian opened this issue Dec 5, 2024 · 2 comments
Closed
5 tasks done
Labels
🐞 bug Something isn't working

Comments

@alishangtian
Copy link

alishangtian commented Dec 5, 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

Copy link

dosubot bot commented Dec 5, 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 dosubot bot added the 🐞 bug Something isn't working label Dec 5, 2024
@yihong0618
Copy link
Contributor

yihong0618 commented Dec 5, 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

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

3 participants