saleor: Can't checkout saleor repo
What I’m trying to achieve
Locally clone a fork of Saleor
Steps to reproduce the problem
1.Fork mirumee/saleor 2. Locallly execute git clone myfork
What I expected to happen
Expected the checkout process to succeed but instead got the error
fatal: cannot create directory at 'saleor/graphql/core/tests/cassettes/test_get_oembed_data[http:': Invalid argument warning: Clone succeeded, but checkout failed.
Seems to be due to the colon in the path name as colons are not acceptable characters for Windows paths…
The error is also present with another neigbourhing path using https instead of http.
Screenshot
Here is a screenshot of one of the malformed path names

About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 3
- Comments: 15 (2 by maintainers)
Commits related to this issue
- #7135 - removed test cassettes for windows users — committed to lioden/saleor by lucas-diamond 3 years ago
- Try to solve those issues: #8069 #9012 #7385 #7135 #7279 — committed to slamer59/saleor by slamer59 2 years ago
I’ve just hit this problem. It looks like the
[and]characters in the filename that are causing Windows problems. Is it not possible to just rename these files? This is a pretty serios problem for devs using Windows and it seems like a pretty straight-forward fix, just wondering if there’s something stopping the Saleor devs from doing it?Thanks @lioden for forking the project 👍
@Megidd : Not to my knowledge. I ended up installing an ubuntu vm and building it from the vm.
Thanks @yoxud
This approach worked for me:
rm -rf saleor/graphql/core/tests/cassettes/test_get_oembed_data\[http*Having removed the bad file paths, the API server is built by instructions and runs just fine as far as tested.