Comments (11)
Thanks for reporting this. Some Swedish translations were recently contributed from outside of the translation platform in 1f6d202. This may have caused this issue, although from what I read in the error messages, the issue might be in the French translations (?). Do you have any idea where the actual cause of the build error might be?
from blockly-games.
Can you remove the file with the French translations for a bit a see if the build works without it? It would be /blockly-games/json/fr.json.
from blockly-games.
Removing the French translation results in a new error:
Exception in thread "main" com.google.template.soy.msgs.SoyMsgException: While processing "appengine/pond/advanced/generated/pt-br.xlf": org.xml.sax.SAXParseException; lineNumber: 415; columnNumber: 36; Enheten "quaot" har refererats, men är inte deklarerad.
Removing the json/pt-br.json seems to let the build process continue (even though I haven't waited the 5 hours). I'll look more into what's the problem.
from blockly-games.
In French translation, in "Pond.stopTooltip" there seems to be an invalid encoding: "Arrêter de nager. Le joueur ralentira pour s&arrêter." As you can see, there is a & which later in XML is detected as invalid encoding. Changing the string to "Arrêter de nager. Le joueur ralentira pour arrêter." seems to let the build process continue, although I haven't waited the full five hours.
from blockly-games.
In the pt-br translation, in Turtle.helpText10Reddit, there is &quaot; which likely should be ".
from blockly-games.
I changed the pt-br quaot to quot on translatewiki, as it was pretty obvious. The french translation isn't that obvious for me though. ;-)
from blockly-games.
Many thanks for looking into this. If you can submit a patch, please do. Otherwise I'll look into it tomorrow.
Sounds to me like this sub part of the build process could do with a test that runs slightly quicker.
from blockly-games.
There are two commits in pull request #9. Thanks for your quick response!
from blockly-games.
I've merged your two commits. I don't have the project set up to build, so please confirm here that the (language part of the) build now works again. Once that's confirmed, I'll close the issue.
from blockly-games.
I did a fresh clone and it builds nicely now.
from blockly-games.
I got this problem... what can i do?
deyberth@deyberth:[~/blockly-games]: sudo make languages
[sudo] password for deyberth:
java -jar closure-templates-read-only/build/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/basic/template.soy,appengine/pond/advanced/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/basic/template.soy,appengine/pond/advanced/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/{. (Is a directory)
at com.google.template.soy.base.SoySyntaxException.createWithoutMetaInfo(SoySyntaxException.java:52)
at com.google.template.soy.soyparse.SoyFileSetParser.parseSoyFileHelper(SoyFileSetParser.java:214)
at com.google.template.soy.soyparse.SoyFileSetParser.parseWithVersions(SoyFileSetParser.java:170)
at com.google.template.soy.soyparse.SoyFileSetParser.parse(SoyFileSetParser.java:152)
at com.google.template.soy.SoyFileSet.compileToJsSrcFiles(SoyFileSet.java:818)
at com.google.template.soy.SoyToJsSrcCompiler.execMain(SoyToJsSrcCompiler.java:284)
at com.google.template.soy.SoyToJsSrcCompiler.main(SoyToJsSrcCompiler.java:226)
Traceback (most recent call last):
File "i18n/json_to_js.py", line 252, in
main()
File "i18n/json_to_js.py", line 239, in main
'--srcs', args.template])
File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['java', '-jar', 'closure-templates-read-only/build/SoyToJsSrcCompiler.jar', '--locales', 'ace,af,ar,arz,az,be-tarask,bg,bn,br,ca,cdo,cs,da,de,diq,el,en,es,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,lrc,lt,lv,mg,mk,ml,mr,ms,mzn,nb,ne,nl,oc,pa,pl,pms,ps,pt-br,pt,ro,ru,sc,sco,si,sk,sr,sv,sw,ta,te,th,tr,uk,vi,zh-hans,zh-hant', '--shouldProvideRequireSoyNamespaces', '--isUsingIjData', '--messageFilePathFormat', 'appengine/{./,index,puzzle,maze,bird,turtle,movie,pond/docs,pond,pond/basic,pond/advanced}/generated/{LOCALE}.xlf', '--outputPathFormat', 'appengine/{./,index,puzzle,maze,bird,turtle,movie,pond/docs,pond,pond/basic,pond/advanced}/generated/{LOCALE}/soy.js', '--srcs', 'appengine/{./,index,puzzle,maze,bird,turtle,movie,pond/docs,pond,pond/basic,pond/advanced}/template.soy']' returned non-zero exit status 1
make: *** [languages] Error 1
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.