h2oai / nitro

Create apps 10x quicker, without Javascript/HTML/CSS.
https://nitro.h2o.ai
Apache License 2.0
200 stars 14 forks source link

hello world example not showing last page #62

Closed tfriedel closed 2 years ago

tfriedel commented 2 years ago

Describe the bug The hello world app shows a red popup for a short moment, after entering answers to the first two questions: Unexpected message id: want p66 got p68 (numbers change)

Expected behavior A view showing a sentence like "What a coincidence, {name}, I feel {feel}, too!"

Actual behavior A red popup with "Unexpected message id: " is shown, then the app jumps to the first page and asks for a name again.

To Reproduce I followed the instructions at https://nitro.h2o.ai/install/ Also ran pip install "h2o-nitro[web]" because I got " No module named 'h2o_nitro_web'". Then ran python3 hello.py, opened the page in google chrome and clicked submit to the first two prompts, acknowledging the prefilled values.

Environment (please complete the following information):

lo5 commented 2 years ago

@tfriedel - Thanks for reporting.

The unexpected message id is a bug introduced recently. Already fixed via https://github.com/h2oai/nitro/commit/48ec71519ff3197596fedd56d39c037ae32d902a. A new release will be out in 1-2 days.

I'll also correct the pip-install references on the installation page - thanks for catching that. This was a recent change introduced in v0.11.