BotBuilder-Samples icon indicating copy to clipboard operation
BotBuilder-Samples copied to clipboard

Samples directory doesn't appear

Open wap-bruno-nandi opened this issue 1 year ago • 5 comments

After cloning the project using git clone https://github.com/microsoft/BotBuilder-Samples.git, the samples directory (and others) doesn't appear.

Screenshot_1

Any ideas how to fix it?

Thanks for any help!

wap-bruno-nandi avatar Aug 07 '24 12:08 wap-bruno-nandi

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 image

Please check the README for more details.

gandiddi avatar Aug 12 '24 13:08 gandiddi

@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?

stevkan avatar Aug 19 '24 16:08 stevkan

@gandiddi Hi, thanks for your help!

Unfortunately, the samples folder doesn't appear. I cloned again and nothing..

wap-bruno-nandi avatar Aug 22 '24 13:08 wap-bruno-nandi

@stevkan Hi, thanks for your help!

Answering your questions:

  1. Yes, I have more than 300gb free in disk

  2. 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

  3. The full path is not long: C:\Users\bruno.nandi\Projects\Python. I did not test in another path.

  4. I've never used GH CLI, but I can try and show the results later.

wap-bruno-nandi avatar Aug 22 '24 13:08 wap-bruno-nandi

@stevkan About the error that I write above.. is that a problem with my path or the repository itself?

wap-bruno-nandi avatar Aug 22 '24 13:08 wap-bruno-nandi

@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.

stevkan avatar Aug 30 '24 23:08 stevkan

Closing due to inactivity. Please feel free to reopen if the issue persists or you have new details to share.

stevkan avatar Sep 06 '24 21:09 stevkan