[Instiki] Madeleine corruption
Chris Roos
chris at seagul.co.uk
Mon May 23 10:00:45 EDT 2005
I have instiki 0.10.1 configured with multiple webs on FreeBsd. It has
been working fine for quite a while now. Unfortunately I was just
editing a page and on saving received an error. From that point on I
was unable to access that particular web - all of the others could be
accessed fine.
I copied the snapshot files to a local windows machine (with Instiki
from svn) and tested on there. I get an error "undefined method
`length' for nil:NilClass" when clicking on the corrupt web. In
addition, the web is opened in edit mode automatically. No changes can
be made. I have copied the log file (when running on windows) at the
bottom of the email.
I removed the latest snapshot file and the corrupt web can be accessed
correctly, so the corruption is only in the latest snapshot.
Unfortunately the previous snapshot is four days old and so I would
prefer it if somehow I could recover the information from the latest
snapshot. The question is, I don't really have a clue as to how I would
about doing that..?
Any help and advice would be much appreciated.
Chris
<logfile below this point>
D:\_svn\instiki\trunk>instiki --storage=C:\TEMP\instiki
=> Starting Instiki on http://0.0.0.0:2500
=> Data files are stored in C:\TEMP\instiki/2500
[2005-05-23 14:51:50] INFO WEBrick 1.3.1
[2005-05-23 14:51:50] INFO ruby 1.8.2 (2004-12-25) [i386-mswin32]
[2005-05-23 14:51:50] INFO WEBrick::HTTPServer#start: pid=2544 port=2500
Processing WikiController#index (for 127.0.0.1 at Mon May 23 14:51:54
GMT Daylig
ht Time 2005)
Parameters: {"action"=>"index", "controller"=>"wiki"}
Redirected to http://localhost:2500/web_list
Completed in 0.01000 (100 reqs/sec)
127.0.0.1 - - [23/May/2005:14:51:53 GMT Daylight Time] "GET / HTTP/1.1"
302 96
- -> /
Processing WikiController#web_list (for 127.0.0.1 at Mon May 23 14:51:55
GMT Day
light Time 2005)
Parameters: {"action"=>"web_list", "controller"=>"wiki"}
Rendering wiki/web_list within layouts/default
Rendering layouts/default (200 OK)
Completed in 0.10000 (9 reqs/sec) | Rendering: 0.09000 (90%)
127.0.0.1 - - [23/May/2005:14:51:55 GMT Daylight Time] "GET /web_list
HTTP/1.1"
200 2860
- -> /web_list
Processing WikiController#show (for 127.0.0.1 at Mon May 23 14:51:59 GMT
Dayligh
t Time 2005)
Parameters: {"action"=>"show", "id"=>"HomePage",
"controller"=>"wiki", "web"=>
"versitec"}
Rendering wiki/page within layouts/default
undefined method `length' for nil:NilClass (ActionView::TemplateError)
On line #81 of /wiki/page.rhtml
78: <% end %>
79: </small>
80:
81: <% unless @page.linked_from.empty? %>
82: <small>
83: | Linked from:
84: <%= @page.linked_from.collect { |referring_page|
/RedCloth-3.0.3/lib/redcloth.rb:533:in `block_textile_lists'
/RedCloth-3.0.3/lib/redcloth.rb:522:in `each_with_index'
/RedCloth-3.0.3/lib/redcloth.rb:522:in `each'
/RedCloth-3.0.3/lib/redcloth.rb:522:in `each_with_index'
/RedCloth-3.0.3/lib/redcloth.rb:522:in `block_textile_lists'
/RedCloth-3.0.3/lib/redcloth.rb:518:in `gsub!'
/RedCloth-3.0.3/lib/redcloth.rb:518:in `block_textile_lists'
/RedCloth-3.0.3/lib/redcloth.rb:612:in `call'
/RedCloth-3.0.3/lib/redcloth.rb:612:in `blocks'
/RedCloth-3.0.3/lib/redcloth.rb:611:in `each'
/RedCloth-3.0.3/lib/redcloth.rb:611:in `blocks'
/RedCloth-3.0.3/lib/redcloth.rb:586:in `collect'
/RedCloth-3.0.3/lib/redcloth.rb:586:in `blocks'
/RedCloth-3.0.3/lib/redcloth.rb:288:in `to_html'
D:/_svn/instiki/trunk/app/models/chunks/engines.rb:34:in `mask'
D:/_svn/instiki/trunk/app/models/chunks/engines.rb:17:in `apply_to'
D:/_svn/instiki/trunk/app/models/wiki_content.rb:169:in `build_chunks'
D:/_svn/instiki/trunk/app/models/wiki_content.rb:147:in `initialize'
D:/_svn/instiki/trunk/app/models/revision.rb:80:in `new'
D:/_svn/instiki/trunk/app/models/revision.rb:80:in `display_content'
D:/_svn/instiki/trunk/app/models/revision.rb:58:in `wiki_words'
D:/_svn/instiki/trunk/app/models/page.rb:111:in `send'
D:/_svn/instiki/trunk/app/models/page.rb:111:in `method_missing'
D:/_svn/instiki/trunk/app/models/page_set.rb:39:in `pages_that_link_to'
D:/_svn/instiki/trunk/app/models/page_set.rb:39:in `select'
D:/_svn/instiki/trunk/app/models/page_set.rb:39:in `pages_that_link_to'
D:/_svn/instiki/trunk/app/models/page.rb:78:in `linked_from'
(erb):81:in `evaluate_locals'
/rails/actionpack/lib/action_view/base.rb:265:in `evaluate_locals'
/rails/actionpack/lib/action_view/base.rb:276:in `rhtml_render'
/rails/actionpack/lib/action_view/base.rb:201:in `send'
/rails/actionpack/lib/action_view/base.rb:201:in `render_template'
/rails/actionpack/lib/action_view/base.rb:181:in `render_file'
/rails/actionpack/lib/action_controller/layout.rb:208:in
`render_without_ben
chmark'
/rails/actionpack/lib/action_controller/benchmarking.rb:23:in `render'
/rails/actionpack/lib/action_controller/benchmarking.rb:23:in `measure'
/rails/actionpack/lib/action_controller/benchmarking.rb:23:in `render'
/rails/actionpack/lib/action_controller/base.rb:447:in `render_action'
D:/_svn/instiki/trunk/app/controllers/wiki_controller.rb:203:in `show'
/rails/actionpack/lib/action_controller/base.rb:708:in `send'
/rails/actionpack/lib/action_controller/base.rb:708:in
`perform_action_witho
ut_filters'
/rails/actionpack/lib/action_controller/filters.rb:294:in
`perform_action_wi
thout_benchmark'
/rails/actionpack/lib/action_controller/benchmarking.rb:34:in
`perform_actio
n_without_rescue'
/rails/actionpack/lib/action_controller/benchmarking.rb:34:in `measure'
/rails/actionpack/lib/action_controller/benchmarking.rb:34:in
`perform_actio
n_without_rescue'
/rails/actionpack/lib/action_controller/rescue.rb:79:in
`perform_action'
/rails/actionpack/lib/action_controller/base.rb:330:in `send'
/rails/actionpack/lib/action_controller/base.rb:330:in `process'
/rails/actionpack/lib/action_controller/base.rb:273:in `process'
/rails/railties/lib/dispatcher.rb:32:in `dispatch'
D:/_svn/instiki/trunk/public/dispatch.rb:10
/rails/activesupport/lib/active_support/dependencies.rb:189:in `load'
/rails/activesupport/lib/active_support/dependencies.rb:189:in `load'
/rails/railties/lib/webrick_server.rb:82:in `handle_dispatch'
/rails/railties/lib/webrick_server.rb:35:in `service'
c:/ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
c:/ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
c:/ruby/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
c:/ruby/lib/ruby/1.8/webrick/server.rb:144:in `start'
c:/ruby/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
c:/ruby/lib/ruby/1.8/webrick/server.rb:94:in `start'
c:/ruby/lib/ruby/1.8/webrick/server.rb:89:in `each'
c:/ruby/lib/ruby/1.8/webrick/server.rb:89:in `start'
c:/ruby/lib/ruby/1.8/webrick/server.rb:79:in `start'
c:/ruby/lib/ruby/1.8/webrick/server.rb:79:in `start'
/rails/railties/lib/webrick_server.rb:21:in `dispatch'
D:/_svn/instiki/trunk/script/server:92
D:/_svn/instiki/trunk/instiki.rb:3:in `load'
D:/_svn/instiki/trunk/instiki.rb:3
Redirected to http://localhost:2500/versitec/edit/HomePage
Completed in 0.66000 (1 reqs/sec)
127.0.0.1 - - [23/May/2005:14:51:59 GMT Daylight Time] "GET
/versitec/show/HomeP
age HTTP/1.1" 302 110
http://localhost:2500/web_list -> /versitec/show/HomePage
Processing WikiController#edit (for 127.0.0.1 at Mon May 23 14:51:59 GMT
Dayligh
t Time 2005)
Parameters: {"action"=>"edit", "id"=>"HomePage",
"controller"=>"wiki", "web"=>
"versitec"}
Rendering wiki/edit within layouts/default
Rendering layouts/default (200 OK)
Completed in 0.09000 (11 reqs/sec) | Rendering: 0.08000 (88%)
127.0.0.1 - - [23/May/2005:14:51:59 GMT Daylight Time] "GET
/versitec/edit/HomeP
age HTTP/1.1" 200 3960
http://localhost:2500/web_list -> /versitec/edit/HomePage
More information about the Instiki-users
mailing list