You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running e2e test in the terminal from dashboard-e2e package, the following error occured.
pkg_resources.ContextualVersionConflict: (fastapi 0.65.2 (/home/chawin/rmf-web/.venv/lib/python3.8/site-packages), Requirement.parse('fastapi~=0.63.0'), {'api-server'})
[2]
[2] During handling of the above exception, another exception occurred:
[2]
[2] Traceback (most recent call last):
[2] File "/home/chawin/rmf-web/.venv/bin/rmf_api_server", line 6, in <module>
[2] from pkg_resources import load_entry_point
[2] File "/home/chawin/rmf-web/.venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3243, in <module>
[2] def _initialize_master_working_set():
[2] File "/home/chawin/rmf-web/.venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3226, in _call_aside
[2] f(*args, **kwargs)
[2] File "/home/chawin/rmf-web/.venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3255, in _initialize_master_working_set
[2] working_set = WorkingSet._build_master()
[2] File "/home/chawin/rmf-web/.venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 570, in _build_master
[2] return cls._build_from_requirements(__requires__)
[2] File "/home/chawin/rmf-web/.venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 583, in _build_from_requirements
[2] dists = ws.resolve(reqs, Environment())
[2] File "/home/chawin/rmf-web/.venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 772, in resolve
[2] raise DistributionNotFound(req, requirers)
[2] pkg_resources.DistributionNotFound: The 'fastapi~=0.63.0' distribution was not found and is required by api-server
Steps to reproduce the bug
Go into packages/dashboard-e2e folder
Run npm run test
Additional information
The text was updated successfully, but these errors were encountered:
Updating the Pipfile to add fastapi = "~=0.63.0" to [packages] or pipenv install 'fastapi~=0.63.0' and making sure that port 8000 is not in use (lsof -i TCP:8000 | grep LISTEN) allows the e2e to run correctly. but I'm still not sure why it is this way because the dependency of api-server does not need to change.
Bug report
Description of the bug
When running e2e test in the terminal from
dashboard-e2e
package, the following error occured.Steps to reproduce the bug
packages/dashboard-e2e
foldernpm run test
Additional information
The text was updated successfully, but these errors were encountered: