Samples directory doesn't appear
After cloning the project using git clone https://github.com/microsoft/BotBuilder-Samples.git, the samples directory (and others)
doesn't appear.
Any ideas how to fix it?
Thanks for any help!
After cloning the repository using git clone https://github.com/microsoft/BotBuilder-Samples.git, the repository will be cloned into a folder named BotBuilder-Samples, with all language samples located under BotBuilder-Samples/samples
Please check the README for more details.
@wap-bruno-nandi - I'm using a Windows OS when testing but, unfortunately, I was unable to repro this. Are you on a Linux OS or MacOS or are you just using Bash as the terminal?
As for why this might be happening, I don't have a clear reason. Here are a few things you can check:
-
Is there enough space on the target drive? It could be silently erroring out because of that.
-
Is there another way to check the location for the missing folder? For instance, in Windows I can use both the Command prompt as well as Windows Explorer.
-
Does it happen repeatedly? Have you tried re-cloning the folder? Is there any reason to believe that the path is too long? Is
~/Projects/Python/deep (it doesn't look like it)? If so, or even if not, try moving the target directory to something closer to the root and try again. -
Does this happen if you use GH CLI instead of using Git?
@gandiddi Hi, thanks for your help!
Unfortunately, the samples folder doesn't appear. I cloned again and nothing..
@stevkan Hi, thanks for your help!
Answering your questions:
-
Yes, I have more than 300gb free in disk
-
I tried again with Git Bash and PowerShell and same problem occurred. But, using PowerShell, an error was shown:
fatal: cannot create directory at 'composer-samples/csharp_dotnetcore/pipelines/CICDPipelineSampleCLU/BasicAssistantCLU/BasicAssistantCLU/dialogs/imported/Microsoft.Bot.Components.HelpAndCancel/CancelDialog/knowledge-base/en-us': Filename too long -
The full path is not long:
C:\Users\bruno.nandi\Projects\Python. I did not test in another path. -
I've never used GH CLI, but I can try and show the results later.
@stevkan About the error that I write above.. is that a problem with my path or the repository itself?
@wap-bruno-nandi - The Filename too long error is generated from the complete path to the file. So, if you are cloning the project in C:\Users\bruno.nandi\Projects\Python, then the full path will be C:\Users\bruno.nandi\Projects\Python\BotBuilder-Samples\composer-samples\csharp_dotnetcore\pipelines\...\en-us\[filename.ext]. Typically, this can be resolved by cloning the repo into a higher-level directory. The easiest choice would be to use the drive's root (C:\) folder and clone there.
Let me know if this works or not.
Closing due to inactivity. Please feel free to reopen if the issue persists or you have new details to share.