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

Gno Playground: Problems with Safari and Chrome. #2270

Closed
thinhnx-var opened this issue Jun 4, 2024 · 8 comments
Closed

Gno Playground: Problems with Safari and Chrome. #2270

thinhnx-var opened this issue Jun 4, 2024 · 8 comments

Comments

@thinhnx-var
Copy link
Contributor

thinhnx-var commented Jun 4, 2024

Problems when accessing Gno PlayGround with Safari and Chrome.

Not works as expect: Gno Playground in Safari and Render(path string) string in landing page. RUN option in both browsers and TEST option in Safari.

Description

I tried to play with gno playground with my Safari, when I pressed Test button. Also with Run button after I filled in the value of expression to evaluate. Nothing happened.
I did tried with other functions that returns string. Same behavior.

Your environment

  • MacOS 13.5 / M1
  • Gno v0.0.1-dev.2024.04.1
  • Safari / Chrome browser.

Steps to reproduce

Expected behaviour

With safari, at least it should open the terminal windows and display "Hello world"
With chrome, should display "Hello world"

Actual behaviour

With safari nothing opened up.
With chrome, nothing returned/ displayed in the terminal with Run option.

Logs

No logs.

@thinhnx-var
Copy link
Contributor Author

@leohhhn
Did you encountered this problem?

@leohhhn
Copy link
Contributor

leohhhn commented Jun 5, 2024

Hey @thinhnx-var, thanks.

@salmad3 @ilgooz can we take a look at this?

@x1unix
Copy link

x1unix commented Jun 5, 2024

@x1unix
Copy link

x1unix commented Jun 5, 2024

@leohhhn

Chrome:
https://play.gno.land/ -> Run -> enter Render("test")
Terminal opens up without any output displayed.

Terminal prints nothing because program prints nothing.
Wrap the expression with println() and it will work.

Unfortunately, REPL also works in the same way.

image

Regarding Safari - see issue in the comment above.

@grepsuzette
Copy link
Contributor

@x1unix Yes, it works here when using println. By the way, gnostudio/studio/issues/462 doesn't reach at the moment (because there is no repo anymore in https://github.com/gnostudio).

So the part with Chrome is not a bug.
Remains to see about Safari and then we can close this.

@x1unix
Copy link

x1unix commented Jun 6, 2024

@grepsuzette another point regarding Safari or Firefox - Adena Wallet isn't available there or even when Safari compat issue will be fixed, idk if Playground will still be usable enough.

Safari doesn't support REPL, test and run due to a missing ReadableByteStreamController that is necessary for WebAssembly filesystem.

@x1unix
Copy link

x1unix commented Jun 6, 2024

By the way, https://github.com/gnostudio/studio/issues/462 doesn't reach at the moment (because there is no repo anymore in https://github.com/gnostudio).

It's a private repo atm and probably you can't access the issue as you have no access to it.

@grepsuzette

@Kouteki
Copy link
Contributor

Kouteki commented Jun 7, 2024

Duplicate issue: Gno Studio team has an issue open in the private repo.

Closing this one. Thanks for reporting it @thinhnx-var

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

No branches or pull requests

5 participants