Giter Club home page Giter Club logo

wca_i18n's People

Contributors

gregorbg avatar jfly avatar viroulep avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

viroulep

wca_i18n's Issues

Undefined method "sum"

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???

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.