-
Notifications
You must be signed in to change notification settings - Fork 605
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
BUILD / Make deps working, make en or make languages not working? #195
Comments
I just tried Try executing
|
Look closely at the 2nd character in "LİTERAL" above. It looks like maybe something got corrupted. |
My java version: |
Hi, I'm running Zulu java 8, Ubuntu 20.04.
|
@huydhoang That sounds an awful lot like a Python 2 vs Python 3 mismatch. I'll see if I can recreate. |
@huydhoang Yes, that's exactly the issue. In the mean time, you should be able to fix the issue by editing the first line of of |
Currently closurebuilder.py throws this when run in Python 3: ``` Traceback (most recent call last): File "third-party-downloads/build/closurebuilder.py", line 300, in <module> main() File "third-party-downloads/build/closurebuilder.py", line 260, in main out.writelines([js_source.GetPath() + '\n' for js_source in deps]) TypeError: a bytes-like object is required, not 'str' ``` Writing to `sys.stdout` rather than `sys.stdout.buffer` fixes this. Reported at google/blockly-games#195 (comment)
Watch my video on Youtube step by step 💕 https://youtu.be/uJ9Jz6CeiyE?t=10 My doc: https://gist.github.com/JEZIGA01/dbaedc0fae4b7cde6bddf9b3c5412fe8 |
~/blockly-games$ make en
mkdir -p appengine/generated/en/
java -jar third-party-downloads/SoyToJsSrcCompiler.jar --shouldProvideRequireSoyNamespaces --isUsingIjData --outputPathFormat appengine/index/generated/en/soy.js --srcs appengine/index/template.soy
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$2 (file:/home/yncsoft/blockly-games/third-party-downloads/SoyToJsSrcCompiler.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$2
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Exception in thread "main" java.lang.IllegalArgumentException: No enum constant com.google.template.soy.shared.SoyGeneralOptions.CssHandlingScheme.LİTERAL
at java.base/java.lang.Enum.valueOf(Enum.java:240)
at com.google.template.soy.shared.SoyGeneralOptions$CssHandlingScheme.valueOf(SoyGeneralOptions.java:50)
at com.google.template.soy.SoyToJsSrcCompiler.execMain(SoyToJsSrcCompiler.java:279)
at com.google.template.soy.SoyToJsSrcCompiler.main(SoyToJsSrcCompiler.java:243)
make: *** [Makefile:23: index-en] Error 1
The text was updated successfully, but these errors were encountered: