damondouglas commented on code in PR #23378:
URL: https://github.com/apache/beam/pull/23378#discussion_r995918318
##########
playground/frontend/README.md:
##########
@@ -21,27 +21,24 @@
## About
-Beam Playground is an interactive environment to try out Beam transforms and
examples. The vision for the Playground is to be a web application where users
can try out Beam without having to install/initialize a Beam environment.
+Beam Playground is an interactive environment to try out Beam transforms and
examples.
+The vision for the Playground is to be a web application where users can try
out Beam
+without having to install/initialize a Beam environment.
## Getting Started
Running, debugging, and testing all require this first step that fetches
-dependencies and generates code:
+dependencies and generates code. Run this in the Beam root:
```bash
-cd playground_components
-flutter pub get
-flutter pub run build_runner build
-cd ..
-flutter pub get
-flutter pub run build_runner build
+$ ./gradlew :playground:frontend:configure
Review Comment:
Running the above commands will show I tested on Linux Debian and that
flutter is in my path. I don't want to delay this PR further and thank you for
this information. However, running `./gradlew :playground:frontend:configure`
resulted in a `Module not found yaml` error which I resolved by installing the
missing python library. Now `./gradlew :playground:frontend:configure
--stacktrace` reveals this error:
```
> Task :playground:frontend:playground_components:extractBeamSymbolsPython
FAILED
Traceback (most recent call last):
File
"playground/frontend/playground_components/tools/extract_symbols_python/extract_symbols_python.py",
line 109, in <module>
class_names = get_dir_symbols_recursive(args.dir)
File
"playground/frontend/playground_components/tools/extract_symbols_python/extract_symbols_python.py",
line 100, in get_dir_symbols_recursive
class_names.update(get_file_symbols(file_path))
File
"playground/frontend/playground_components/tools/extract_symbols_python/extract_symbols_python.py",
line 66, in get_file_symbols
[target] = member_node.targets
ValueError: too many values to unpack (expected 1)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]