thewca / wca_i18n Goto Github PK
View Code? Open in Web Editor NEWi18n tools used by the WCA
License: MIT License
i18n tools used by the WCA
License: MIT License
Hi! In my local TNoodle repository, when I ran ./tmt i18n check which uses the wca-i18n gem, the following error appeared:
leduyquang753@QuangPC:~/TNoodle$ ./tmt i18n check
['bundle', 'exec', 'wca_i18n', '--verbose', 'webscrambles/src/i18n/en.yml', 'webscrambles/src/i18n/vi.yml', 'webscrambles/src/i18n/en.yml']
bundle exec wca_i18n --verbose webscrambles/src/i18n/en.yml webscrambles/src/i18n/vi.yml webscrambles/src/i18n/en.yml
/var/lib/gems/2.3.0/gems/wca_i18n-0.4.1/exe/wca_i18n:39:in `block in compare_base_with_translations': undefined method `sum' for [0, 0, 0]:Array (NoMethodError)
from /var/lib/gems/2.3.0/gems/wca_i18n-0.4.1/exe/wca_i18n:37:in `each'
from /var/lib/gems/2.3.0/gems/wca_i18n-0.4.1/exe/wca_i18n:37:in `compare_base_with_translations'
from /var/lib/gems/2.3.0/gems/wca_i18n-0.4.1/exe/wca_i18n:26:in `main'
from /var/lib/gems/2.3.0/gems/wca_i18n-0.4.1/exe/wca_i18n:79:in `<top (required)>'
from /usr/local/bin/wca_i18n:23:in `load'
from /usr/local/bin/wca_i18n:23:in `<main>'
Hit excepthook! stderr.isatty: True stdin.isatty: True stdout.isatty: True
Traceback (most recent call last):
File "./tmt", line 1218, in <module>
tmt._main()
File "./tmt", line 231, in _main
self.args.func()
File "./tmt", line 303, in _i18n
runCmd(args, assertSuccess=True, showStatus=True)
File "./tmt", line 46, in runCmd
assert p.returncode == 0
AssertionError
> /home/leduyquang753/TNoodle/tmt(46)runCmd()
-> assert p.returncode == 0
(Pdb)
[1]+ Bị dừng ./tmt i18n check
What I was doing wrong???
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.