which OS are you using and which ruby version? which instiki version
did you use, edge or 0.11?
the below error looks to me like instiki was started via mongrel. if
so, this is a known issue which is fixed in the upcoming 0.12 version.
-m
On 2/18/07, Michael Grant <[EMAIL PROTECTED]> wrote:
> I just installed instiki. Just trying out all the buttons, the Export
> button produces this below. Any ideas what I did wrong?
>
> I am using mysql and I can create pages just fine. It seems to be
> expecting an array named OPTIONS which isn't set.
>
> Michael Grant
>
>
> NameError in Wiki#export
>
> Showing app/views/wiki/export.rhtml where line #8 raised:
>
> uninitialized constant OPTIONS
>
> Extracted source (around line #8):
>
> 5: <ul id="feedsList">
> 6: <li><%= link_to 'HTML', :web => @web.address, :action =>
> 'export_html' %></li>
> 7: <li><%= link_to "Markup ([EMAIL PROTECTED])", :web
> => @web.address, :action => 'export_markup' %></li>
> 8: <% if OPTIONS[:pdflatex] && @web.markup == :textile %>
> 9: <li><%= link_to 'TeX', :web => @web.address, :action =>
> 'export_tex' %></li>
> 10: <li><%= link_to 'PDF', :web => @web.address, :action =>
> 'export_pdf' %></li>
> 11: <% end %>
>
> RAILS_ROOT: ..
> Application Trace | Framework Trace | Full Trace
>
> #{RAILS_ROOT}/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:200:in
> `const_missing'
> #{RAILS_ROOT}/app/views/wiki/export.rhtml:8
>
> #{RAILS_ROOT}/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:200:in
> `const_missing'
> #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:268:in `send'
> #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:268:in
> `compile_and_render_template'
> #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:244:in
> `render_template'
> #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:205:in
> `render_file'
> #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:655:in
> `render_file'
> #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:595:in
> `render_with_no_layout'
> #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/layout.rb:220:in
> `render_without_benchmark'
> #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:53:in
> `render'
> /usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure'
> #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:53:in
> `render'
> #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:856: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'
> /usr/local/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'
> dispatch.cgi:10
>
> #{RAILS_ROOT}/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:200:in
> `const_missing'
> #{RAILS_ROOT}/app/views/wiki/export.rhtml:8
> #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:268:in `send'
> #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:268:in
> `compile_and_render_template'
> #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:244:in
> `render_template'
> #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:205:in
> `render_file'
> #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:655:in
> `render_file'
> #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:595:in
> `render_with_no_layout'
> #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/layout.rb:220:in
> `render_without_benchmark'
> #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:53:in
> `render'
> /usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure'
> #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:53:in
> `render'
> #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:856: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'
> /usr/local/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'
> dispatch.cgi:10
>
> Request
>
> Parameters: {"web"=>"wiki"}
>
> Show session dump
>
> ---
> :return_to: /public/wiki/show/HomePage
> flash: !map:ActionController::Flash::FlashHash {}
>
>
> Response
> Headers: {"cookie"=>[], "Content-Type"=>"text/html; charset=UTF-8",
> "Cache-Control"=>"no-cache"}
> _______________________________________________
> Instiki-users mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/instiki-users
>
_______________________________________________
Instiki-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/instiki-users