Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

/var/lib/gems/2.5.0/gems/telegram_bot-0.0.8/lib/telegram_bot/api_response.rb:13:in `initialize': uninitialized constant TelegramBot::ApiResponse::ResponseError (NameError) #50

Open
nonullset opened this issue Jul 29, 2019 · 0 comments

Comments

@nonullset
Copy link

Hi,
Am very new at this but suddenly the following error occured everytime i start a ruby script using this wrapper.

Traceback (most recent call last): 13: from wrappertest.rb:4:in

'
12: from /var/lib/gems/2.5.0/gems/telegram_bot-0.0.8/lib/telegram_bot/bot.rb:32:in get_updates' 11: from /var/lib/gems/2.5.0/gems/telegram_bot-0.0.8/lib/telegram_bot/bot.rb:32:in loop'
10: from /var/lib/gems/2.5.0/gems/telegram_bot-0.0.8/lib/telegram_bot/bot.rb:34:in block in get_updates' 9: from /var/lib/gems/2.5.0/gems/telegram_bot-0.0.8/lib/telegram_bot/bot.rb:34:in each'
8: from /var/lib/gems/2.5.0/gems/telegram_bot-0.0.8/lib/telegram_bot/bot.rb:37:in block (2 levels) in get_updates' 7: from wrappertest.rb:8:in block in '
6: from /var/lib/gems/2.5.0/gems/telegram_bot-0.0.8/lib/telegram_bot/message.rb:16:in reply' 5: from wrappertest.rb:16:in block (2 levels) in '
4: from /var/lib/gems/2.5.0/gems/telegram_bot-0.0.8/lib/telegram_bot/out_message.rb:12:in send_with' 3: from /var/lib/gems/2.5.0/gems/telegram_bot-0.0.8/lib/telegram_bot/bot.rb:44:in send_message'
2: from /var/lib/gems/2.5.0/gems/telegram_bot-0.0.8/lib/telegram_bot/bot.rb:68:in request' 1: from /var/lib/gems/2.5.0/gems/telegram_bot-0.0.8/lib/telegram_bot/bot.rb:68:in new'
/var/lib/gems/2.5.0/gems/telegram_bot-0.0.8/lib/telegram_bot/api_response.rb:13:in initialize': uninitialized constant TelegramBot::ApiResponse::ResponseError (NameError)

The code worked fine yesterday and no additional changes were made today. I ran the sample script in README.md and got same error.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant