GithubHelp home page GithubHelp logo

3llo crashes on some invalid commands about 3llo HOT 6 CLOSED

qcam avatar qcam commented on May 29, 2024
3llo crashes on some invalid commands

from 3llo.

Comments (6)

qcam avatar qcam commented on May 29, 2024 1

This should be fixed via #25 in v0.1.12, give it a try! ❤️

from 3llo.

qcam avatar qcam commented on May 29, 2024

@f-breidenstein Perfect bug report 👍, will fix it some time next week.

from 3llo.

davealbert avatar davealbert commented on May 29, 2024

Multiple commands with board select caused a similar error, I can open a new issue if you like:

/Library/Ruby/Gems/2.0.0/gems/3llo-0.1.12/lib/3llo/commands/board/select.rb:25:in `board_choices': undefined method `to_h' for #<Array:0x007fd91793d5a8> (NoMethodError)
        from /Library/Ruby/Gems/2.0.0/gems/3llo-0.1.12/lib/3llo/commands/board/select.rb:17:in `select_board'
        from /Library/Ruby/Gems/2.0.0/gems/3llo-0.1.12/lib/3llo/commands/board/select.rb:6:in `execute'
        from /Library/Ruby/Gems/2.0.0/gems/3llo-0.1.12/lib/3llo/controller.rb:20:in `block in start'
        from /Library/Ruby/Gems/2.0.0/gems/3llo-0.1.12/lib/3llo/controller.rb:14:in `loop'
        from /Library/Ruby/Gems/2.0.0/gems/3llo-0.1.12/lib/3llo/controller.rb:14:in `start'
        from /Library/Ruby/Gems/2.0.0/gems/3llo-0.1.12/bin/3llo:31:in `<top (required)>'
        from /usr/local/bin/3llo:23:in `load'
        from /usr/local/bin/3llo:23:in `<main>'

from 3llo.

qcam avatar qcam commented on May 29, 2024

@davealbert Thanks for the report, could you specify the steps to reproduce that? I will give it a look.

from 3llo.

davealbert avatar davealbert commented on May 29, 2024

@qcam

  • open 3llo
  • board list -- Works fine shows list of boards as expected.
  • board select with any or without additional arguments.
  • crash:
/Library/Ruby/Gems/2.0.0/gems/3llo-0.1.12/lib/3llo/commands/board/select.rb:25:in `board_choices': undefined method `to_h' for #<Array:0x007fc7af9eb578> (NoMethodError)
        from /Library/Ruby/Gems/2.0.0/gems/3llo-0.1.12/lib/3llo/commands/board/select.rb:17:in `select_board'
        from /Library/Ruby/Gems/2.0.0/gems/3llo-0.1.12/lib/3llo/commands/board/select.rb:6:in `execute'
        from /Library/Ruby/Gems/2.0.0/gems/3llo-0.1.12/lib/3llo/controller.rb:20:in `block in start'
        from /Library/Ruby/Gems/2.0.0/gems/3llo-0.1.12/lib/3llo/controller.rb:14:in `loop'
        from /Library/Ruby/Gems/2.0.0/gems/3llo-0.1.12/lib/3llo/controller.rb:14:in `start'
        from /Library/Ruby/Gems/2.0.0/gems/3llo-0.1.12/bin/3llo:31:in `<top (required)>'
        from /usr/local/bin/3llo:23:in `load'
        from /usr/local/bin/3llo:23:in `<main>'

Thanks

from 3llo.

davealbert avatar davealbert commented on May 29, 2024

@qcam Could it be my version of ruby? I'm just using the mac system version ... I think.

$ ruby -v
ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin16]

from 3llo.

Related Issues (20)

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.