Closed mturoci closed 2 years ago
Hi there, can I work on this issue?
Hi there, can I work on this issue?
Sure!
I'm new to opensource development and was hoping for some assistance setting up the development environment. I'm following the installation instructions in wave/website/README.md. When I run the setup command I get the following error:
git clone --depth 1 --branch v0.8.0 https://github.com/h2oai/wave-ml.git h2o_wave_ml Cloning into 'h2o_wave_ml'... remote: Enumerating objects: 42, done. remote: Counting objects: 100% (42/42), done. remote: Compressing objects: 100% (38/38), done. remote: Total 42 (delta 3), reused 19 (delta 1), pack-reused 0 Unpacking objects: 100% (42/42), 2.33 MiB | 3.99 MiB/s, done. Note: switching to 'c823b58db11c364d1dd904ec9d1165c417663065'.
You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in thisstate without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example:
git switch -c
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
python3 -m venv venv The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command.
apt install python3.8-venv
You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment.
Failing command: ['/mnt/c/Users/bentl/OneDrive/Desktop/100Devs/open-source-practice/wave/py/venv/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']
make: *** [Makefile:18: setup] Error 1
So I try the "sudo apt install python3.8-venv" command it recommends and get this error:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
python3.8-venv
0 upgraded, 1 newly installed, 0 to remove and 47 not upgraded.
Need to get 5448 B of archives.
After this operation, 27.6 kB of additional disk space will be used.
Ign:1 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 python3.8-venv amd64 3.8.10-0ubuntu1~20.04.4
Err:1 http://security.ubuntu.com/ubuntu focal-updates/universe amd64 python3.8-venv amd64 3.8.10-0ubuntu1~20.04.4
404 Not Found [IP: 91.189.91.38 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/universe/p/python3.8/python3.8-venv_3.8.10-0ubuntu1~20.04.4_amd64.deb 404 Not Found [IP: 91.189.91.38 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Any assistance would be greatly appreciated! I'm on Windows using WSL.
You have to clone this repo https://github.com/h2oai/wave
Thanks for the help! I've gotten to the npm start command and now get the following error:
website@0.0.0 start docusaurus start
[INFO] Starting the development server... [ERROR] Loading of version failed for version current [ERROR] Error: Invalid sidebar file at "sidebars.js". These sidebar document ids do not exist:
Available document ids are:
Any assistance on this would be greatly appreciated!
After cloning the repo, did you run make all
in the root folder?
Hey @BBentleyDev, it's indeed the best if you could run make all
to prepare for every aspect of Wave development. However, it's also perfectly fine with starting small. I updated docs installation instructions, hope it can help :) Feel free to comment here in case you need any further assistance.
@BBentleyDev Feel free to reach out. I am willing to help you with this issue.
Thanks for all the assistance! I tried following the new instructions linked above and got the 'make generate' command, when I run it I get the following error:
./venv/bin/python showcase.py
make[1]: Entering directory '/mnt/c/Users/bentl/OneDrive/Desktop/100Devs/open-source-practice/wave'
go run cmd/wave/main.go -web-dir ./ui/build -debug -editable -proxy -public-dir /assets/@./assets
Cannot connect to Wave server, retrying...
Cannot connect to Wave server, retrying...
Cannot connect to Wave server, retrying...
Done
Traceback (most recent call last):
File "showcase.py", line 231, in
oops, I completely forgot you need to have everything setup as it needs to run wave server. Your only option then is running make all
from the root of the project. Post any errors you encounter.
Following the instructions in the main contributing docs I was able to get the wave server running on local host. So I went back to the instructions in the website readme, and when running the generate command get the following error:
╔════════════════════════════════════════════════════════════╗ ║ Host system is missing a few dependencies to run browsers. ║ ║ Please install them with the following command: ║ ║ ║ ║ sudo playwright install-deps ║ ║ ║ ║ <3 Playwright Team ║ ╚════════════════════════════════════════════════════════════╝ make: *** [Makefile:14: generate] Error 1
When I run the suggested command I get:
sudo: playwright: command not found
Interesting, never seen that before (probably windows issue). The reason the command is not found is that you need to be within a python virtual env and the corresponding folder first:
cd tools/showcase
source venv/bin/activate
sudo playwright install-deps
This also assumes you have run make setup
within tools/showcase
before thus having the venv
folder created.
Hi @BBentleyDev any updates? Feel free to use Discord server for more real-time help. In case of inactivity, I will free up this issue for others to grab.
@mturoci Kindly allow me to work on this if this issue is freed up. I would like to work on this. Thank you
Hi @mturoci, I would like to work on this issue.
Hi @Mukul-svg. Unfortunately, this issue is already taken by @BBentleyDev and in case he will abandon it, @YashasviChaurasia will take over. Feel free to grab some other good first issue though :)
Sure, Thank you very much for replying.
@YashasviChaurasia you are good to go. I will reopen your previous PR so you can continue to work there.
Sorry for the delay, I could not get it to work on my machine. Good luck moving forward!
Since 4 days have passed, this issue is up for grabs again for anyone who would like to work on it.
Hi @mturoci, I'd like to contribute to wave and have the server set up and running. Can I work on this issue for Hacktoberfest?
Go for it @rubyruins! You have 4 days for completion before this issue becomes up for grabs again. Good luck!
Would like to work on this next :)
@mturoci Wasn't sure where you wanted the star count to be exactly, but I have placed it under the Introduction section of Getting started. Let me know how it looks and if we want to move it somewhere around
Add a big star count Github button to https://wave.h2o.ai/ (probably under Get started button).