davidkus / triviacrack-client

Command line client and bot for Trivia Crack.
MIT License
1 stars 0 forks source link

failed to load command #2

Closed samcro1967 closed 5 years ago

samcro1967 commented 5 years ago

BOT seems to be encounter periodic issues where commands fail and container exits.

Log File Waiting 4 seconds before the next question...

Category : science Question : When does a caterpillar turn into a liquid? Answer : In the pupa - Correct!

Waiting 4 seconds before the next question... UncaughtThrowError: uncaught throw # bin/trivia-crack:50:in throw' bin/trivia-crack:50:inrescue in start_bot' bin/trivia-crack:37:in start_bot' bin/trivia-crack:21:inbot' /usr/local/bundle/gems/thor-0.19.4/lib/thor/command.rb:27:in run' /usr/local/bundle/gems/thor-0.19.4/lib/thor/invocation.rb:126:ininvoke_command' /usr/local/bundle/gems/thor-0.19.4/lib/thor.rb:369:in `dispatch'

Category : geography Question : Which California city was previously known as Yerba Buena? Answer : San Francisco - Correct!

Waiting 3 seconds before the next question...

Category : arts Question : Where were violins invented? Answer : Italy - Correct! Finished playing game 7450301666. Status: pending_approval. Playing game 7446527403 against 555ambw.

Waiting 3 seconds before the next question...

Category : history Question : What year did the first cell phone come out? Answer : 1973bundler: failed to load command: bin/trivia-crack (bin/trivia-crack) /usr/local/bundle/gems/thor-0.19.4/lib/thor/base.rb:444:in start' bin/trivia-crack:57:in<top (required)>'

davidkus commented 5 years ago

Just pushed an update to improve logging, as I can't really tell what went wrong looking at these logs.

Try running with those code changes and re-open this if/when you encounter the error again.

samcro1967 commented 5 years ago

Contains a bot more info:

Starting to play Trivia Crack as b33r1sg00d. Fetching games for b33r1sg00d... Playing game 7507044593 against fractalhelix. bundler: failed to load command: bin/trivia-crack (bin/trivia-crack) UncaughtThrowError: uncaught throw #<ArgumentError: invalid argument - 30..20> bin/trivia-crack:50:in throw' bin/trivia-crack:50:inrescue in start_bot' bin/trivia-crack:37:in start_bot' bin/trivia-crack:21:inbot' /usr/local/bundle/gems/thor-0.19.4/lib/thor/command.rb:27:in run' /usr/local/bundle/gems/thor-0.19.4/lib/thor/invocation.rb:126:ininvoke_command' /usr/local/bundle/gems/thor-0.19.4/lib/thor.rb:369:in dispatch' /usr/local/bundle/gems/thor-0.19.4/lib/thor/base.rb:444:instart' bin/trivia-crack:57:in `<top (required)>'