Comments (9)
I had the same problem on Ubuntu 16.04
And also fixed by #40
from blockly-games.
I found out the SoyFileSetParser class from very old version of closure template .
this class does not appear in new version of closure.
a versions conflict ???
from blockly-games.
I found this code in Makefile:
ALL_JSON = {./,index,puzzle,maze,bird,turtle,movie,pond/docs,pond,pond/tutor,pond/duck}
and "make languages" create a folder:
from blockly-games.
it must be some problem with my build system ...
from blockly-games.
What happens on your shell when you execute the following:
ls /usr/bin/{a,b}*
It should print all the files in that directory that start with 'a' or 'b'.
Likewise, the '{...}' notation in the rm command should delete the generated directories in each of the application sub directories. Nothing wrong with your build system.
from blockly-games.
yes, ls command works .
but the make command does not work well.
you can see the long file name in my picture.
I'v tried on Ubuntu 16.04 , centos , and mac os.
I don't know why it does not work well.
from blockly-games.
I had the same problem with make languages
(Linux Mint 18)
java -jar third-party/SoyMsgExtractor.jar --outputFile extracted_msgs.xlf --srcs appengine/template.soy,appengine/index/template.soy,appengine/puzzle/template.soy,appengine/maze/template.soy,appengine/bird/template.soy,appengine/turtle/template.soy,appengine/movie/template.soy,appengine/pond/docs/template.soy,appengine/pond/template.soy,appengine/pond/tutor/template.soy,appengine/pond/duck/template.soy
i18n/xliff_to_json.py --xlf extracted_msgs.xlf --templates appengine/template.soy,appengine/index/template.soy,appengine/puzzle/template.soy,appengine/maze/template.soy,appengine/bird/template.soy,appengine/turtle/template.soy,appengine/movie/template.soy,appengine/pond/docs/template.soy,appengine/pond/template.soy,appengine/pond/tutor/template.soy,appengine/pond/duck/template.soy
Created file: ./json/en.json
Created file: ./json/qqq.json
Created file: ./json/keys.json
Removed extracted_msgs.xlf
Creating .xlf files...
Creating .js files...
Exception in thread "main" com.google.template.soy.base.SoySyntaxException: Error opening Soy file appengine/{.: java.io.FileNotFoundException: appengine/{. (est un dossier)
at com.google.template.soy.base.SoySyntaxException.createWithoutMetaInfo(SoySyntaxException.java:52)
at com.google.template.soy.soyparse.SoyFileSetParser.parseSoyFileHelper(SoyFileSetParser.java:261)
at com.google.template.soy.soyparse.SoyFileSetParser.parseWithVersions(SoyFileSetParser.java:213)
at com.google.template.soy.soyparse.SoyFileSetParser.parse(SoyFileSetParser.java:173)
at com.google.template.soy.SoyFileSet.compileToJsSrcFiles(SoyFileSet.java:921)
at com.google.template.soy.SoyToJsSrcCompiler.execMain(SoyToJsSrcCompiler.java:307)
at com.google.template.soy.SoyToJsSrcCompiler.main(SoyToJsSrcCompiler.java:243)
Traceback (most recent call last):
File "i18n/json_to_js.py", line 252, in <module>
main()
File "i18n/json_to_js.py", line 239, in main
'--srcs', args.template])
File "/usr/lib/python2.7/subprocess.py", line 541, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['java', '-jar', 'third-party/SoyToJsSrcCompiler.jar', '--locales', 'ace,af,ar,arz,ast,az,ba,be-tarask,bg,bn,br,ca,cdo,cs,da,de,diq,el,en,es,et,eu,fa,fi,fo,fr,frr,gl,gn,hak,he,hi,hrx,hu,ia,id,is,it,ja,ka,kbd-cyrl,km,ko,ksh,ku-latn,ky,la,lb,lki,lrc,lt,lv,mg,mk,ml,mr,ms,my,mzn,nb,ne,nl,oc,pa,pl,pms,ps,pt-br,pt,ro,ru,sc,sco,sd,si,sk,sl,sr,sv,sw,ta,tcy,te,th,tr,uk,vi,zh-hans,zh-hant', '--shouldProvideRequireSoyNamespaces', '--isUsingIjData', '--messageFilePathFormat', 'appengine/{./,index,puzzle,maze,bird,turtle,movie,pond/docs,pond,pond/tutor,pond/duck}/generated/{LOCALE}.xlf', '--outputPathFormat', 'appengine/{./,index,puzzle,maze,bird,turtle,movie,pond/docs,pond,pond/tutor,pond/duck}/generated/{LOCALE}/soy.js', '--srcs', 'appengine/{./,index,puzzle,maze,bird,turtle,movie,pond/docs,pond,pond/tutor,pond/duck}/template.soy']' returned non-zero exit status 1
Your fix in #40 works! Thank you @duzc2
from blockly-games.
Several dependencies (including Blockly) changed over time, breaking the build. Blockly Games has been updated so that everything builds properly now.
from blockly-games.
Make execution still fails, Ubuntu 18.04. Fixed with #40 + #81 , thanks @duzc2
from blockly-games.
Related Issues (20)
- Blockly Music - notes position on staff are off by an octave
- make languages fail HOT 2
- No confirmation or feedback of correct solution in Movie section HOT 3
- Ghosted image makes color impossible to decern HOT 4
- How can i get code without build? HOT 4
- build/closurebuilder.py: No such file or directory HOT 2
- Can't see the YES and CANCLE button after building HOT 1
- i want to build offline and set up block HOT 1
- Multiplayer - editable: true HOT 6
- not able to run the project locally on my machine HOT 4
- Requirements for build should specify python version. HOT 1
- Turtle level 3 message says "There's a new block..." twice. HOT 3
- bug on blockly games: maze HOT 3
- > I did this document to help ! 💕
- How to modify the pic of the pond-tutor game's avatar HOT 2
- SoundJS download error HOT 1
- Individual game make command not working HOT 2
- Migration Tracking Bug
- request: dark mode
- dev. How could I add some new changeable mazes in this code? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blockly-games.