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 (#{@web.markup.to_s.capitalize})", :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"}
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 <mgrant at grant.org> 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 (#{@web.markup.to_s.capitalize})", :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 > Instiki-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users >
My OS is freebsd 6. Ruby 1.8.5 (2006-12-25 patchlevel 12) [i386-freebsd6], Rails 1.2.1 And I''m using Apache 2.2 and fastcgi. I installed instiki-0.11.0.tgz I''m happy to try a development release of .12 if you want some feedback. Michael Grant On 2/18/07, Matthias Tarasiewicz <parasew at gmail.com> wrote:> 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 <mgrant at grant.org> 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 (#{@web.markup.to_s.capitalize})", :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 > > Instiki-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/instiki-users > > > _______________________________________________ > Instiki-users mailing list > Instiki-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users > >
Michael, The problem doesn''t appear when using the webbrick web server but is a known issue on mogrel. It has to do with exporting to pdf and tex. Looks like the feature was half-removed. If you need the export feature to work, there should be an easy workaround. Johannes On 2/18/07, Michael Grant <mgrant at grant.org> wrote:> My OS is freebsd 6. > > Ruby 1.8.5 (2006-12-25 patchlevel 12) [i386-freebsd6], > Rails 1.2.1 > > And I''m using Apache 2.2 and fastcgi. > > I installed instiki-0.11.0.tgz > > I''m happy to try a development release of .12 if you want some feedback. > > Michael Grant > > > On 2/18/07, Matthias Tarasiewicz <parasew at gmail.com> wrote: > > 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 <mgrant at grant.org> 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 (#{@web.markup.to_s.capitalize})", :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 > > > Instiki-users at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/instiki-users > > > > > _______________________________________________ > > Instiki-users mailing list > > Instiki-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/instiki-users > > > > > _______________________________________________ > Instiki-users mailing list > Instiki-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users >
While we''re on the subject of the export button, I had some problems exporting a wiki that had German accented characters in the titles of pages. I ended up with invalid links to those pages in the exported html. The code should probably reduce page titles to 7-bit ASCII. mathew
Michael, Specifically, to bypass this, go to app\views\wiki\export.rhtml and delete the following lines: <% if OPTIONS[:pdflatex] && @web.markup == :textile %> <li><%= link_to ''TeX'', :web => @web.address, :action => ''export_tex'' %></li> <li><%= link_to ''PDF'', :web => @web.address, :action => ''export_pdf'' %></li> <% end %> and then your export button should work fine in your environment. Johannes On 2/19/07, mathew <meta at pobox.com> wrote:> > While we''re on the subject of the export button, I had some problems > exporting a wiki that had German accented characters in the titles of > pages. I ended up with invalid links to those pages in the exported > html. The code should probably reduce page titles to 7-bit ASCII. > > > mathew > _______________________________________________ > Instiki-users mailing list > Instiki-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instiki-users/attachments/20070220/45e86890/attachment.html