Want to take part in these discussions? Sign in if you have an account, or apply for one below
Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.
<p>I have managed to save what I wrote. When I submitted this page it timed out now I have this left over.</p>
<p>Trying to visit <a href="https://ncatlab.org/homotopytypetheory/locked/homotopy+groups">this link</a> shows the problem.</p>
<p>“‘
ActionView::TemplateError (undefined method ‘revised_at’ for nil:NilClass) on line #23 of app/views/wiki/page.rhtml:
20:</p>
<div class="revisedby">
21: <p>
22: <%= @page.revisions? ? “Last revised” : “Created” %> on <%= format_date(@page.revised_at) %>.
23: See the <a href="https://ncatlab.org/<%= @web.address %>/history/<%= @page.name %>" style="color: #005c19">history</a> of this page for a list of all contributions to it.
24: </p>
25: </div>
<p>26:</p>
<p>app/models/page.rb:161:in <code>method_missing'
app/views/wiki/page.rhtml:23:in</code>_run_rhtml_app47views47wiki47page46rhtml’
app/controllers/wiki_controller.rb:662:in <code>show'
unicorn (5.3.1) lib/unicorn/http_server.rb:606:in</code>process_client’
unicorn (5.3.1) lib/unicorn/http_server.rb:702:in <code>worker_loop'
unicorn (5.3.1) lib/unicorn/http_server.rb:549:in</code>spawn_missing_workers’
unicorn (5.3.1) lib/unicorn/http_server.rb:142:in <code>start'
unicorn (5.3.1) bin/unicorn_rails:209:in</code><top (required)>’
/home/nlab/.rvm/gems/ruby-2.2.1@nlab-prod/bin/unicorn_rails:23:in <code>load'
/home/nlab/.rvm/gems/ruby-2.2.1@nlab-prod/bin/unicorn_rails:23:in</code><main>’
/home/nlab/.rvm/gems/ruby-2.2.1@nlab-prod/bin/ruby_executable_hooks:15:in <code>eval'
/home/nlab/.rvm/gems/ruby-2.2.1@nlab-prod/bin/ruby_executable_hooks:15:in</code><main>’
“‘</p>
Looks like a bug in Instiki, it seems that the page was kind of half created, and there is a null pointer-like exception when trying to process the missing half. I’ll see if I can fix the bug this evening.
Here is the source it should have, in case I forget.
Edit: I can’t paste in code blocks, it just renders the page.
My apologies for not looking at it yet, I have been ill since yesterday afternoon. Will take a look when I get the chance.
@Richard don’t rush! Take your time, I am simply trying not to lose what I wrote :-)
I have tweaked something so that the page can be viewed now, but one still gets a 500 when trying to edit. Will fix that when I get the chance.
1 to 6 of 6