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] Canot start swarms because of undefined ENV var WORKSPACE_DIR #618

Closed
Fadope1 opened this issue Oct 28, 2024 · 3 comments
Closed

[BUG] Canot start swarms because of undefined ENV var WORKSPACE_DIR #618

Fadope1 opened this issue Oct 28, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@Fadope1
Copy link
Contributor

Fadope1 commented Oct 28, 2024

Describe the bug
Happened directly after installing. Can't interact with the cli nor can I start a script. I always get the same error.
It seems that the variable WORKSPACE_DIR needs to be set for some reason.

To Reproduce

  1. Install swarms
  2. Run anything with swarms

Expected behavior
It should run.

*Traceback
.venv/lib/python3.11/site-packages/swarms/utils/loguru_logger.py", line 10, in
os.path.join(WORKSPACE_DIR, "swarms.log"),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 76, in join
TypeError: expected str, bytes or os.PathLike object, not NoneType

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar
@Fadope1 Fadope1 added the bug Something isn't working label Oct 28, 2024
Copy link

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

@Fadope1
Copy link
Contributor Author

Fadope1 commented Oct 28, 2024

Found that in the docs it says to add this ENV var. But in the github README its not there.

@Fadope1 Fadope1 closed this as completed Oct 28, 2024
@kyegomez
Copy link
Owner

@Fadope1 Hey excuse the error, we showcase the setting in the requirements section of the README.md let me know if you would like more assistance!

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

2 participants