Nessuna descrizione http://j1x-huginn.herokuapp.com

undefined_agents.html.erb 2.2KB

    <div class="container"> <div class='row'> <div class='col-md-12'> <div class="page-header"> <h3> <div class="alert alert-danger" role="alert"> Error: Agent(s) are 'missing in action' </div> </h3> </div> <blockquote> <p> You have one or more Agents registered in the database for which no corresponding definition is available in the source code: </p> <ul> <% @undefined_agent_types.each do |type| %> <li><%= agent_type_to_human(type) %></li> <% end %> </ul> <br/> <p> The issue most probably occurred because of one or more of the following reasons: </p> <ul> <li>If the respective Agent is distributed as a Ruby gem, it might have been removed from the <code>ADDITIONAL_GEMS</code> environment setting.</li> <li>If the respective Agent is distributed as part of the Huginn application codebase, it might have been removed from that either on purpose (because the Agent has been deprecated or been moved to an Agent gem) or accidentally. Please check if the Agent(s) in question are available in your Huginn codebase under the path <code>app/models/agents/</code>.</li> </ul> <br/> <p> You can fix the issue by adding the Agent(s) back to the application codebase by </p> <ul> <li>adding the respective Agent(s) to the the <code>ADDITIONAL_GEMS</code> environment setting. Please see <a href="https://github.com/cantino/huginn_agent" target="_blank">https://github.com/cantino/huginn_agent</a> for documentation on how to properly set it.</li> <li>adding the respective Agent(s) code to the Huginn application codebase (in case it was deleted accidentally).</li> <li>deleting the respective Agent(s) from the database using the button below.</li> </ul> <br/> <div class="btn-group"> <%= link_to icon_tag('glyphicon-trash') + ' Delete Missing Agents', undefined_agents_path, class: "btn btn-danger", method: :DELETE, data: { confirm: 'Are you sure all missing Agents should be deleted from the database?'} %> </div> </blockquote> </div> </div> </div>