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

Error when running workarena-install #13

Closed
flbyrne opened this issue May 27, 2024 · 8 comments
Closed

Error when running workarena-install #13

flbyrne opened this issue May 27, 2024 · 8 comments
Assignees

Comments

@flbyrne
Copy link

flbyrne commented May 27, 2024

(browsergym) flor@flor-VirtualBox:~$ workarena-install Traceback (most recent call last): File "/home/flor/.local/bin/workarena-install", line 5, in <module> from browsergym.workarena.install import main File "/home/flor/.local/lib/python3.9/site-packages/browsergym/workarena/__init__.py", line 3, in <module> from browsergym.core.registration import register_task File "/home/flor/.local/lib/python3.9/site-packages/browsergym/core/__init__.py", line 24, in <module> from .registration import register_task File "/home/flor/.local/lib/python3.9/site-packages/browsergym/core/registration.py", line 4, in <module> from .env import BrowserEnv File "/home/flor/.local/lib/python3.9/site-packages/browsergym/core/env.py", line 13, in <module> from .chat import Chat File "/home/flor/.local/lib/python3.9/site-packages/browsergym/core/chat.py", line 14, in <module> CHATBOX_DIR = resources.files(chat_files) File "/usr/lib/python3.9/importlib/resources.py", line 147, in files return _common.from_package(_get_package(package)) File "/usr/lib/python3.9/importlib/_common.py", line 14, in from_package return fallback_resources(package.__spec__) File "/usr/lib/python3.9/importlib/_common.py", line 18, in fallback_resources package_directory = pathlib.Path(spec.origin).parent File "/usr/lib/python3.9/pathlib.py", line 1082, in __new__ self = cls._from_parts(args, init=False) File "/usr/lib/python3.9/pathlib.py", line 707, in _from_parts drv, root, parts = self._parse_args(args) File "/usr/lib/python3.9/pathlib.py", line 691, in _parse_args a = os.fspath(a) TypeError: expected str, bytes or os.PathLike object, not NoneType

@gasse
Copy link
Collaborator

gasse commented May 27, 2024

Hi @flbyrne , can you please provide details about your specific config? (pip list)

@flbyrne
Copy link
Author

flbyrne commented May 27, 2024 via email

@gasse
Copy link
Collaborator

gasse commented May 29, 2024

We are still investigating, but this issue might be related to pip. Can you upgrade pip to latest version (24) and test again?

@gasse
Copy link
Collaborator

gasse commented May 30, 2024

Hi @flbyrne , it turns out the problem is the python version. We were able to replicate the error with python=3.9, but with python=3.10 it works.

Can you update your version of Python and tell us if it works? Meanwhile we will update the requirements to python>= 3.10 in the package specifications.

@flbyrne
Copy link
Author

flbyrne commented May 30, 2024 via email

@aldro61
Copy link
Collaborator

aldro61 commented Jun 12, 2024

Thank you for pointing this out. Will close the issue, but we are on it.

@aldro61 aldro61 closed this as completed Jun 12, 2024
@aldro61
Copy link
Collaborator

aldro61 commented Oct 24, 2024

Hi @flbyrne! Our data center team has identified an issue that might be causing some developer instances to be unhealthy. I think this is what was causing your issue.

Diagnostic: Navigate to YOUR_INSTANCE_URL/stats.do and check if the Connected to cluster node value contains ord. If it does, the node is affected by the current issue.

Solution: Unfortunately, the only way to get a healthy instance right now is to release your current instance and request a new one until it lives on a healthy cluster node. Now that the issue has been identified, I'm confident our data center team will resolve it quickly.

Hope this helps!

@flbyrne
Copy link
Author

flbyrne commented Oct 24, 2024

I'll get a new instance then. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants