Error git clone: invalid path 'data/futures/roll_calendars_csv/BTC*SPREAD.csv' #1395
Replies: 5 comments 1 reply
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
The error in the screenshot is caused by the presence of an invalid file path in the repository you are trying to clone. Specifically, the file path data/futures/roll_calendars_csv/BTCSPREAD.csv contains an asterisk () which is not allowed in file names on Windows file systems. You can bypass the problematic file by checking out the repository without that specific file: git clone https://github.com/robcarver17/pysystemtrade.git --no-checkout This process will clone the repository but will exclude the problematic file from being checked out. If you do not need that file: You can simply delete the file after cloning if you don't need it, or ignore it during the cloning process using sparse checkout as shown above. |
Beta Was this translation helpful? Give feedback.
-
Hi Craig may thanks for the above. Seems when cloning the folder is empty. hence, when doing -> git sparse-checkout set ":!data/futures/roll_calendars_csv/BTC*SPREAD.csv" Below a screen shot. |
Beta Was this translation helpful? Give feedback.
-
For info - I encountered the same problem and, although I had a temporary work around, issue #1427 was fixed to solve this problem. The problem files were renamed and moved. |
Beta Was this translation helpful? Give feedback.
-
If nobody is using these, they could be deleted. They are an artifact of work I was doing writing AFTS, not a core part of pst which doesn't support these spread contracts natively. |
Beta Was this translation helpful? Give feedback.
-
Hi all,
Trying to install pysystemtrade on Windows 11.
When running the comand git clone https://github.com/robcarver17/pysystemtrade.git
hits the following Error:
I also tried the git clone flag --no-checkout same result -> empty pysystemtrade directory.
Is it possible to install this in Windows or only Linux works?
Many thanks
Beta Was this translation helpful? Give feedback.
All reactions