Erro ao gerar boletim do professor no idiário

Ao acessar o menu Relatórios->Boletim do professor e ao clicar no botão imprimir, aparece o erro “Você não possui permissão para realizar esta ação.”, sendo que foi dado permissão de Leitura/Escrita.

@marcinho944 você precisa ter o i-Educar sincronizado com o seu i-Diário, pois este relatório é emitido no i-Educar.

Estou passando por um problema parecido. Estou utilizando a versão mais atual do i-Educar e do i-Diário, minha instalação foi através do git clone e ontem atualizei os dois sistemas, porém ainda não havia tentado antes gerar o boletim do professor, mas ao tentar agora não consigo, conforme log abaixo:

I, [2024-01-17T22:04:01.903947 #609] INFO – : LOG: Navigation::Render::Base#policy - Policy fallback
I, [2024-01-17T22:04:01.916929 #609] INFO – : LOG: Navigation::Render::Base#policy - Policy fallback
I, [2024-01-17T22:04:01.932167 #609] INFO – : LOG: Navigation::Render::Base#policy - Policy fallback
I, [2024-01-17T22:04:01.946781 #609] INFO – : LOG: Navigation::Render::Base#policy - Policy fallback
I, [2024-01-17T22:04:01.960540 #609] INFO – : LOG: Navigation::Render::Base#policy - Policy fallback
I, [2024-01-17T22:04:01.986793 #609] INFO – : LOG: Navigation::Render::Base#policy - Policy fallback
I, [2024-01-17T22:04:02.003884 #609] INFO – : LOG: Navigation::Render::Base#policy - Policy fallback
I, [2024-01-17T22:04:02.020403 #609] INFO – : LOG: Navigation::Render::Base#policy - Policy fallback
I, [2024-01-17T22:04:02.034653 #609] INFO – : LOG: Navigation::Render::Base#policy - Policy fallback
I, [2024-01-17T22:04:02.053788 #609] INFO – : LOG: Navigation::Render::Base#policy - Policy fallback
I, [2024-01-17T22:04:02.071875 #609] INFO – : LOG: Navigation::Render::Base#policy - Policy fallback
I, [2024-01-17T22:04:02.090649 #609] INFO – : Rendered layouts/_navigation.html.erb (1038.8ms)
I, [2024-01-17T22:04:02.225396 #609] INFO – : Completed 200 OK in 1352ms (Views: 1159.1ms | ActiveRecord: 130.7ms)
I, [2024-01-17T22:04:02.623821 #609] INFO – : Started GET “/dashboard/teacher_next_avaliations” for 89.117.75.201 at 2024-01-17 22:04:02 -0300
I, [2024-01-17T22:04:02.625004 #609] INFO – : Started GET “/dashboard/teacher_pending_avaliations.json?school_calendar_step_id=84” for 89.117.75.201 at 2024-01-17 22:04:02 -0300
I, [2024-01-17T22:04:02.636039 #609] INFO – : Processing by Dashboard::TeacherNextAvaliationsController#index as /
I, [2024-01-17T22:04:02.644060 #609] INFO – : Processing by Dashboard::TeacherPendingAvaliationsController#index as JSON
I, [2024-01-17T22:04:02.644328 #609] INFO – : Parameters: {“locale”=>“en”}
I, [2024-01-17T22:04:02.644434 #609] INFO – : Parameters: {“school_calendar_step_id”=>“84”, “locale”=>“en”}
I, [2024-01-17T22:04:02.722651 #609] INFO – : Completed 200 OK in 78ms (Views: 4.8ms | ActiveRecord: 24.9ms)
I, [2024-01-17T22:04:02.826786 #609] INFO – : Completed 200 OK in 180ms (Views: 7.8ms | ActiveRecord: 90.7ms)
I, [2024-01-17T22:04:02.907829 #609] INFO – : Started GET “/dashboard/teacher_work_done_chart.json?school_calendar_step_id=84” for 89.117.75.201 at 2024-01-17 22:04:02 -0300
I, [2024-01-17T22:04:02.918138 #609] INFO – : Processing by Dashboard::TeacherWorkDoneChartController#index as JSON
I, [2024-01-17T22:04:02.918281 #609] INFO – : Parameters: {“school_calendar_step_id”=>“84”, “locale”=>“en”}
I, [2024-01-17T22:04:04.098342 #609] INFO – : Completed 200 OK in 1180ms (Views: 0.5ms | ActiveRecord: 283.9ms)
I, [2024-01-17T22:04:09.735887 #609] INFO – : Started GET “/relatorios/boletim-do-professor” for 89.117.75.201 at 2024-01-17 22:04:09 -0300
I, [2024-01-17T22:04:09.747948 #609] INFO – : Processing by TeacherReportCardsController#form as HTML
I, [2024-01-17T22:04:09.748108 #609] INFO – : Parameters: {“locale”=>“pt-BR”}
E, [2024-01-17T22:04:09.804462 #609] ERROR – : /var/www/idiario/vendor/bundle/ruby/2.4.0/gems/activerecord-5.0.7.2/lib/active_record/dynamic_matchers.rb:21:in method_missing' /var/www/idiario/app/controllers/teacher_report_cards_controller.rb:136:in fetch_options_by_admin’
/var/www/idiario/app/controllers/teacher_report_cards_controller.rb:130:in set_options_by_user' /var/www/idiario/app/controllers/teacher_report_cards_controller.rb:13:in form’
/var/www/idiario/vendor/bundle/ruby/2.4.0/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in send_action' /var/www/idiario/vendor/bundle/ruby/2.4.0/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in process_action’
/var/www/idiario/vendor/bundle/ruby/2.4.0/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in process_action' /var/www/idiario/vendor/bundle/ruby/2.4.0/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in block in process_action’
/var/www/idiario/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in call' /var/www/idiario/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in block (2 levels) in compile’
/var/www/idiario/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in call' /var/www/idiario/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:448:in block (2 levels) in around’
/var/www/idiario/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:286:in block (2 levels) in halting' /var/www/idiario/app/controllers/application_controller.rb:309:in set_thread_origin_type’
/var/www/idiario/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:382:in block in make_lambda' /var/www/idiario/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:285:in block in halting’
/var/www/idiario/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:447:in block in around' /var/www/idiario/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in call’
/var/www/idiario/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:448:in block (2 levels) in around' /var/www/idiario/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:286:in block (2 levels) in halting’
/var/www/idiario/app/controllers/application_controller.rb:299:in set_user_current' /var/www/idiario/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:382:in block in make_lambda’

Primeiramente quero pedir desculpas aos membros deste fórum, mas é que não tinha me atentado que após algumas atualizações do i-Diário somente o usuário professor está conseguindo imprimir o boletim, isso após o envio das avaliações e frequência. Portanto, para quem chegou aqui com o mesmo problema fica a dica.