 |
Forums |
Admin Discussion Forums: help Start New Thread
By: m v
RE: Export Fails SOLVED [ reply ] 2007-08-04 14:57
|
The command fails because the instiki installer fails to md "storage", and ExportRoutine has not the logic to md the missing target dir, or to report that the missing dir is why it failed.
Manual creation of "storage" in the instiki root solves the problem.
Now if I can just figure out how to IMPORT the saved Wiki I will be a bit further on this journey
|
By: m v
Export Fails [ reply ] 2007-08-03 14:29
|
Brand new instiki user. Created simple wiki (WikiMiki) attempt at exporting fails with the following errmsg.
Any thoughts on what is actually missing? From the info provided I cannot figure this out.
Thanx
ERROR:
Errno::ENOENT in Wiki#export_markup
No such file or directory - ./script/../config/../storage/wikimiki-textile-2007-08-01-03-16-58.zip.tmp
RAILS_ROOT: ./script/../config/..
Application Trace | Framework Trace | Full Trace
#{RAILS_ROOT}/lib/zip/zip.rb:593:in `initialize'
#{RAILS_ROOT}/lib/zip/zip.rb:593:in `new'
#{RAILS_ROOT}/lib/zip/zip.rb:593:in `initialize'
#{RAILS_ROOT}/lib/zip/zip.rb:606:in `new'
#{RAILS_ROOT}/lib/zip/zip.rb:606:in `open'
#{RAILS_ROOT}/app/controllers/wiki_controller.rb:318:in `export_pages_as_zip'
#{RAILS_ROOT}/app/controllers/wiki_controller.rb:92:in `export_markup'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:853:in `send'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:853:in `perform_action_without_filters'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
c:/ruby/lib/ruby/1.8/benchmark.rb:293:in `measure'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/rescue.rb:82:in `perform_action'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:369:in `send'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:369:in `process_without_session_management_support'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/session_management.rb:116:in `process'
#{RAILS_ROOT}/vendor/rails/railties/lib/dispatcher.rb:38:in `dispatch'
#{RAILS_ROOT}/vendor/rails/railties/lib/webrick_server.rb:117:in `handle_dispatch'
#{RAILS_ROOT}/vendor/rails/railties/lib/webrick_server.rb:83: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:173:in `start_thread'
c:/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start'
c:/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
c:/ruby/lib/ruby/1.8/webrick/server.rb:95:in `start'
c:/ruby/lib/ruby/1.8/webrick/server.rb:92:in `each'
c:/ruby/lib/ruby/1.8/webrick/server.rb:92:in `start'
c:/ruby/lib/ruby/1.8/webrick/server.rb:23:in `start'
c:/ruby/lib/ruby/1.8/webrick/server.rb:82:in `start'
#{RAILS_ROOT}/vendor/rails/railties/lib/webrick_server.rb:69:in `dispatch'
script/server:49
#{RAILS_ROOT}/lib/zip/zip.rb:593:in `initialize'
#{RAILS_ROOT}/lib/zip/zip.rb:593:in `new'
#{RAILS_ROOT}/lib/zip/zip.rb:593:in `initialize'
#{RAILS_ROOT}/lib/zip/zip.rb:606:in `new'
#{RAILS_ROOT}/lib/zip/zip.rb:606:in `open'
#{RAILS_ROOT}/app/controllers/wiki_controller.rb:318:in `export_pages_as_zip'
#{RAILS_ROOT}/app/controllers/wiki_controller.rb:92:in `export_markup'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:853:in `send'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:853:in `perform_action_without_filters'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
c:/ruby/lib/ruby/1.8/benchmark.rb:293:in `measure'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/rescue.rb:82:in `perform_action'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:369:in `send'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:369:in `process_without_session_management_support'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/session_management.rb:116:in `process'
#{RAILS_ROOT}/vendor/rails/railties/lib/dispatcher.rb:38:in `dispatch'
#{RAILS_ROOT}/vendor/rails/railties/lib/webrick_server.rb:117:in `handle_dispatch'
#{RAILS_ROOT}/vendor/rails/railties/lib/webrick_server.rb:83: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:173:in `start_thread'
c:/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start'
c:/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
c:/ruby/lib/ruby/1.8/webrick/server.rb:95:in `start'
c:/ruby/lib/ruby/1.8/webrick/server.rb:92:in `each'
c:/ruby/lib/ruby/1.8/webrick/server.rb:92:in `start'
c:/ruby/lib/ruby/1.8/webrick/server.rb:23:in `start'
c:/ruby/lib/ruby/1.8/webrick/server.rb:82:in `start'
#{RAILS_ROOT}/vendor/rails/railties/lib/webrick_server.rb:69:in `dispatch'
script/server:49
Request
Parameters: {"web"=>"wikimiki"}
Show session dump
---
:return_to: /wikimiki/export
flash: !map:ActionController::Flash::FlashHash {}
Response
Headers: {"cookie"=>[], "Content-Type"=>"text/html; charset=UTF-8", "Cache-Control"=>"no-cache"}
|
|
 |