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

[BUG] #716

Open
zrqgood opened this issue Jan 5, 2025 · 5 comments
Open

[BUG] #716

zrqgood opened this issue Jan 5, 2025 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@zrqgood
Copy link

zrqgood commented Jan 5, 2025

Describe the bug

D:\project\swarms> git.exe checkout master
invalid path 'new_features_examples/new_spreadsheet_swarm_examples/workspace/Spreedsheet-Swarm-Crypto-Tax-Optimization-Swarm/Crypto-Tax-Optimization-Swarm/spreedsheet-swarm-spreadsheet_swarm_run_2024-12-26T15:43:05.658653_metadata.json'

invalid path 'new_features_examples/new_spreadsheet_swarm_examples/workspace/Spreedsheet-Swarm-Financial-Analysis-Swarm/Financial-Analysis-Swarm/spreedsheet-swarm-spreadsheet_swarm_run_2024-12-25T14:28:32.568788_metadata.json'

invalid path 'new_features_examples/new_spreadsheet_swarm_examples/workspace/Spreedsheet-Swarm-Financial-Analysis-Swarm/Financial-Analysis-Swarm/spreedsheet-swarm-spreadsheet_swarm_run_2024-12-25T15:00:31.933250_metadata.json'

invalid path 'new_features_examples/new_spreadsheet_swarm_examples/workspace/Spreedsheet-Swarm-Financial-Analysis-Swarm/Financial-Analysis-Swarm/spreedsheet-swarm-spreadsheet_swarm_run_2024-12-26T15:39:44.890581_metadata.json'

The reason for the issue:
The path is too long, exceeding the default limit of 260 characters in the Windows operating system. The file names mentioned above should be shortened.

@zrqgood zrqgood added the bug Something isn't working label Jan 5, 2025
Copy link

github-actions bot commented Jan 5, 2025

Hello there, thank you for opening an Issue ! 🙏🏻 The team was notified and they will get back to you asap.

@RedQueenAgent
Copy link

image
It seems that there are some problems with the threading module, but it does not affect normal use

@kyegomez
Copy link
Owner

kyegomez commented Jan 6, 2025

@RedQueenAgent did you update your swarms?

@kyegomez
Copy link
Owner

kyegomez commented Jan 6, 2025

@zrqgood try updating your swarms repository as well

@evelynmitchell
Copy link
Contributor

You can also modify your Windows environment to support longer paths:


1. Open the Group Policy Editor by typing `gpedit.msc` in the Run dialog (Win + R).
2. Navigate to `Local Computer Policy > Computer Configuration > Administrative Templates > System > Filesystem`.
3. Find the policy named `Enable Win32 long paths` and set it to `Enabled`.

Alternatively, you can enable long paths via the registry:

1. Open the Registry Editor by typing `regedit` in the Run dialog (Win + R).
2. Navigate to `HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem`.
3. Find the `LongPathsEnabled` key and set its value to `1`.

After enabling long path support, you should be able to work with longer file paths in Git.```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants