Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eroor #13

Closed
4ev opened this issue Aug 17, 2016 · 1 comment
Closed

Eroor #13

4ev opened this issue Aug 17, 2016 · 1 comment

Comments

@4ev
Copy link

4ev commented Aug 17, 2016

Started POST "/telegram_group_chats?issue_id=9" for 10.1.8.220 at 2016-08-17 17:04:53 +0500
Processing by TelegramGroupChatsController#create as JS
Parameters: {"issue_id"=>"9"}
Current user: admin (id=1)
Completed 500 Internal Server Error in 1342ms (ActiveRecord: 7.6ms)

NoMethodError (undefined method []' for nil:NilClass): plugins/redmine_chat_telegram/app/controllers/telegram_group_chats_controller.rb:32:increate'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'

Ругается на 32 строку

31 telegram_id = if RedmineChatTelegram.mode == 0
32 json['id']
33 else
34 json['peer_id']
35 end

Rails, redis, sidekiq, telegram-cli, chat_bot - запущены.
Может что то еще нужно запустить?

@arturtr
Copy link
Contributor

arturtr commented Aug 24, 2016

Попробуйте сменить telegram_cli_mode в telegram.yml на 1.

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

No branches or pull requests

3 participants