open-rmf/rmf-web

No such file or directory

Closed this issue · 4 comments

Before proceeding, is there an existing issue or discussion for this?

OS and version

Ubuntu 22.04

Open-RMF installation type

Source build

Other Open-RMF installation methods

https://github.com/open-rmf/rmf#binary-installation

Open-RMF version or commit hash

2.3.0

ROS distribution

Rolling

ROS installation type

Binaries

Other ROS installation methods

No response

Package or library, if applicable

No response

Description of the bug

when executing the following in rmf-web:
image

The following error is displayed after entering pnpm start
image

Steps to reproduce the bug

  1. Follow the instructions in rmf-web optimized build section (https://github.com/open-rmf/rmf-web)
  2. Execute pnpm start

Expected behavior

No response

Actual behavior

No response

Additional information or screenshots

Seems like there is a missing directory

Hello @Steven-NYP! Just a sanity check before we look further into this, did you perhaps run the pnpm install step at the root of the repository? This installs all the dependencies and sets up the python virtual environment which makes .venv available

Hi @aaronchongth, it's running well now. However I am getting the following error when I run "pnpm start" under Optimized Build

image

Please refrain from posting screenshots of logs or errors, this makes it difficult to search or selectively copy any meaningful text for debugging, use https://gist.github.com instead in the future.

Seeing that our nightly CI is still passing, I would guess that it may be an issue on your system. The first search result for the error, https://levelup.gitconnected.com/fix-attributeerror-module-lib-has-no-attribute-openssl-521a35d83769, seems to indicate that you might have an outdated pip which does not have the newest cryptography or openssl libraries

I am facing the same issue as well. What I have done to resolve was upgrade pip to newest version and downgrade crytography package to version 38.0.4 .

pip install --upgrade pip
pip install cryptography==38.0.4