Skip to content
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

Samples directory doesn't appear #4007

Closed
wap-bruno-nandi opened this issue Aug 7, 2024 · 7 comments
Closed

Samples directory doesn't appear #4007

wap-bruno-nandi opened this issue Aug 7, 2024 · 7 comments
Assignees

Comments

@wap-bruno-nandi
Copy link

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!

@gandiddi
Copy link
Collaborator

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.

@stevkan stevkan self-assigned this Aug 19, 2024
@stevkan
Copy link
Collaborator

stevkan commented Aug 19, 2024

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

@wap-bruno-nandi
Copy link
Author

@gandiddi Hi, thanks for your help!

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

@wap-bruno-nandi
Copy link
Author

@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
Copy link
Author

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

@stevkan
Copy link
Collaborator

stevkan commented Aug 30, 2024

@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
Copy link
Collaborator

stevkan commented Sep 6, 2024

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

@stevkan stevkan closed this as completed Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants