From t.lehmann at rtsgroup.net Mon Mar 2 08:20:40 2009 From: t.lehmann at rtsgroup.net (Thomas Lehmann) Date: Mon, 02 Mar 2009 14:20:40 +0100 Subject: [Instiki] I can NOT run instiki Message-ID: <49ABDD28.8010602@rtsgroup.net> I can NOT run instiki also I have installed ruby as explained! (link) Can someone help? thanks Thomas C:\Downloads\instiki-0.16.3\parasew-instiki-3f012531b95f746526f7b2f16ffaef82c8efef64>ruby.exe script\server -e production E:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- rack (MissingSourceFile) from E:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from C:/Downloads/instiki-0.16.3/parasew-instiki-3f012531b95f746526f7b2f16ffaef82c8efef64/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' from C:/Downloads/instiki-0.16.3/parasew-instiki-3f012531b95f746526f7b2f16ffaef82c8efef64/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in' from C:/Downloads/instiki-0.16.3/parasew-instiki-3f012531b95f746526f7b2f16ffaef82c8efef64/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' from C:/Downloads/instiki-0.16.3/parasew-instiki-3f012531b95f746526f7b2f16ffaef82c8efef64/vendor/rails/actionpack/lib/action_controller.rb:35 from E:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from E:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from C:/Downloads/instiki-0.16.3/parasew-instiki-3f012531b95f746526f7b2f16ffaef82c8efef64/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' from C:/Downloads/instiki-0.16.3/parasew-instiki-3f012531b95f746526f7b2f16ffaef82c8efef64/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in' from C:/Downloads/instiki-0.16.3/parasew-instiki-3f012531b95f746526f7b2f16ffaef82c8efef64/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require' from script/server:7 C:\Downloads\instiki-0.16.3\parasew-instiki-3f012531b95f746526f7b2f16ffaef82c8efef64>pause Thomas Lehmann RTS Realtime Systems Software GmbH, Rembrandtstrasse 13, D-60596 Frankfurt am Main T: +49.69.61009.0 / F: +49.69.61009.181 Sitz: Frankfurt am Main - HRB 84467 Amtsgericht Frankfurt am Main Gesch?ftsf?hrer: Steffen Gemuenden, Igor Sluga www.rtsgroup.net This email and any attachments are for the exclusive and confidential use of the intended recipient. If you are not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, please do not read, distribute or take action in reliance upon this message. If you have received this in error, please notify me immediately by return email and promptly delete this message and its attachments from your computer system. From parasew at 5uper.net Mon Mar 2 09:45:24 2009 From: parasew at 5uper.net (Matthias Tarasiewicz) Date: Mon, 2 Mar 2009 15:45:24 +0100 Subject: [Instiki] I can NOT run instiki In-Reply-To: <49ABDD28.8010602@rtsgroup.net> References: <49ABDD28.8010602@rtsgroup.net> Message-ID: <63769B42-1AD3-4A44-9B17-B7817EDA88E6@5uper.net> as i don't have a windows machine here currently to try that out -- anyone has an idea if rack is actually working on windows? in this case, instiki should switch to mongrel... thomas, you might want to try a "gem install rack" and see if that fixes your issue... On Mar 2, 2009, at 2:20 PM, Thomas Lehmann wrote: > I can NOT run instiki also I have installed ruby as explained! (link) > Can someone help? > > thanks > Thomas > > C:\Downloads\instiki-0.16.3\parasew- > instiki-3f012531b95f746526f7b2f16ffaef82c8efef64>ruby.exe script > \server -e production > E:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_require': no such file to load -- rack > (MissingSourceFile) > from E:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > 31:in `require' > from C:/Downloads/instiki-0.16.3/parasew- > instiki-3f012531b95f746526f7b2f16ffaef82c8efef64/vendor/rails/ > activesupport/lib/active_support/dependencies.rb:156:in `require' > from C:/Downloads/instiki-0.16.3/parasew- > instiki-3f012531b95f746526f7b2f16ffaef82c8efef64/vendor/rails/ > activesupport/lib/active_support/dependencies.rb:521:in > `new_constants_in' > from C:/Downloads/instiki-0.16.3/parasew- > instiki-3f012531b95f746526f7b2f16ffaef82c8efef64/vendor/rails/ > activesupport/lib/active_support/dependencies.rb:156:in `require' > from C:/Downloads/instiki-0.16.3/parasew- > instiki-3f012531b95f746526f7b2f16ffaef82c8efef64/vendor/rails/ > actionpack/lib/action_controller.rb:35 > from E:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > 31:in `gem_original_require' > from E:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > 31:in `require' > from C:/Downloads/instiki-0.16.3/parasew- > instiki-3f012531b95f746526f7b2f16ffaef82c8efef64/vendor/rails/ > activesupport/lib/active_support/dependencies.rb:156:in `require' > from C:/Downloads/instiki-0.16.3/parasew- > instiki-3f012531b95f746526f7b2f16ffaef82c8efef64/vendor/rails/ > activesupport/lib/active_support/dependencies.rb:521:in > `new_constants_in' > from C:/Downloads/instiki-0.16.3/parasew- > instiki-3f012531b95f746526f7b2f16ffaef82c8efef64/vendor/rails/ > activesupport/lib/active_support/dependencies.rb:156:in `require' > from script/server:7 > > C:\Downloads\instiki-0.16.3\parasew- > instiki-3f012531b95f746526f7b2f16ffaef82c8efef64>pause > > Thomas Lehmann > > RTS Realtime Systems Software GmbH, Rembrandtstrasse 13, D-60596 > Frankfurt am Main T: +49.69.61009.0 / F: +49.69.61009.181 > Sitz: Frankfurt am Main - HRB 84467 Amtsgericht Frankfurt am Main > Gesch?ftsf?hrer: Steffen Gemuenden, Igor Sluga > > www.rtsgroup.net > > This email and any attachments are for the exclusive and > confidential use of the intended recipient. If you are not the > intended recipient, or an employee or agent responsible for > delivering this message to the intended recipient, please do not > read, distribute or take action in reliance upon this message. If > you have received this in error, please notify me immediately by > return email and promptly delete this message and its attachments > from your computer system. > _______________________________________________ > Instiki-users mailing list > Instiki-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users From egoots at gmail.com Mon Mar 2 12:43:48 2009 From: egoots at gmail.com (eg) Date: Mon, 2 Mar 2009 09:43:48 -0800 Subject: [Instiki] I can NOT run instiki In-Reply-To: <63769B42-1AD3-4A44-9B17-B7817EDA88E6@5uper.net> References: <49ABDD28.8010602@rtsgroup.net> <63769B42-1AD3-4A44-9B17-B7817EDA88E6@5uper.net> Message-ID: <984070b20903020943p63fa8c7cx22b6113e840ed0a9@mail.gmail.com> On Mon, Mar 2, 2009 at 6:45 AM, Matthias Tarasiewicz wrote: > as i don't have a windows machine here currently to try that out -- anyone > has an idea if rack is actually working on windows? > > in this case, instiki should switch to mongrel... > > thomas, you might want to try a "gem install rack" and see if that fixes > your issue... > I had to run "gem install rack" to resolve this error on WinXp -------------- next part -------------- An HTML attachment was scrubbed... URL: From distler at golem.ph.utexas.edu Tue Mar 3 21:38:15 2009 From: distler at golem.ph.utexas.edu (Jacques Distler) Date: Tue, 3 Mar 2009 20:38:15 -0600 Subject: [Instiki] I can NOT run instiki Message-ID: <2E85749A-4432-4EFA-8BDA-33150B205A31@golem.ph.utexas.edu> > as i don't have a windows machine here currently to try that out -- > anyone has an idea if rack is actually working on windows? in this > case, instiki should switch to mongrel... thomas, you might want to > try a "gem install rack" and see if that fixes your issue... Instiki comes bundled with its own copy of Rack. Evidently, in the 0.16.3 release, that version is not being picked up under Windows. I *believe* that problem is fixed in the current version of Instiki Trunk. You can get the current version using GIT: git clone git://github.com/parasew/instiki.git or using BZR bzr branch http://golem.ph.utexas.edu/~distler/code/instiki/svn/ or as a gzipped tarball http://golem.ph.utexas.edu/~distler/code/instiki-svn.tar.gz When you rebuild a page on your wiki, you'll note that the latest version identifies itself as running on "Rails 2.3.1", rather than "Rails 2.3.0". That makes all the difference for this (and a couple of other) problem(s). Jacques -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 253 bytes Desc: This is a digitally signed message part URL: From joel.w.garman at biola.edu Wed Mar 4 19:13:20 2009 From: joel.w.garman at biola.edu (Joel W. Garman) Date: Wed, 04 Mar 2009 16:13:20 -0800 Subject: [Instiki] ArgumentError in WikiController#index Message-ID: I'm migrating instiki from a WinXP box to a Win2k8 box as well as upgrading to 0.16.3. I am running MySQL and have moved the database successfully. I unzipped instiki and modified database.yml. When I run instiki.cmd it looks like the app starts up although I did notice it says Rails 2.3.0 not 2.3.1. When I navigate to localhost:2500 I receive this error: ArgumentError in WikiController#index NULL pointer given RAILS_ROOT: D:/instiki-0.16.3 Application Trace | Framework Trace | Full Trace (eval):3:in `each_hash' (eval):3:in `all_hashes' D:/instiki-0.16.3/app/models/wiki.rb:87:in `webs' D:/instiki-0.16.3/app/controllers/wiki_controller.rb:22:in `index' D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:596:in `select' D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:7:in `select_all_without_query_cache' D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:60:in `select_all' D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:81:in `cache_sql' D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:60:in `select_all' D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/base.rb:661:in `find_by_sql' D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/base.rb:1554:in `find_every' D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/base.rb:615:in `find' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/base.rb:1261:in `send' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/base.rb:1261:in `perform_action_without_filters' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/filters.rb:617:in `call_filters' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/filters.rb:638:in `run_before_filters' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/filters.rb:206:in `call' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/filters.rb:206:in `around_proc' D:/instiki-0.16.3/vendor/rails/activesupport/lib/active_support/callbacks.rb:182:in `call' D:/instiki-0.16.3/vendor/rails/activesupport/lib/active_support/callbacks.rb:182:in `evaluate_method' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/filters.rb:184:in `call' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/filters.rb:635:in `run_before_filters' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/filters.rb:615:in `call_filters' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/filters.rb:638:in `run_before_filters' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/filters.rb:189:in `call' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/filters.rb:189:in `call' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/filters.rb:635:in `run_before_filters' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/filters.rb:615:in `call_filters' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' D:/instiki-0.16.3/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms' D:/instiki-0.16.3/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:10:in `realtime' D:/instiki-0.16.3/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/rescue.rb:160:in `perform_action_without_flash' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/flash.rb:141:in `perform_action' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/base.rb:523:in `send' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/base.rb:523:in `process_without_filters' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/filters.rb:606:in `process' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/base.rb:391:in `process' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/base.rb:386:in `call' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:433:in `call' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:65:in `dispatch' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:88:in `_call' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:59:in `initialize' D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call' D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call' D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/query_cache.rb:9:in `cache' D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/query_cache.rb:28:in `call' D:/instiki-0.16.3/vendor/plugins/rack/lib/rack/head.rb:9:in `call' D:/instiki-0.16.3/vendor/plugins/rack/lib/rack/methodoverride.rb:24:in `call' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/params_parser.rb:15:in `call' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/rewindable_input.rb:25:in `call' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/session/cookie_store.rb:93:in `call' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/failsafe.rb:11:in `call' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/rack_ext/lock.rb:15:in `call' c:/ruby/lib/ruby/1.8/thread.rb:135:in `synchronize' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/rack_ext/lock.rb:15:in `call' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:83:in `call' D:/instiki-0.16.3/vendor/rails/railties/lib/rails/rack/static.rb:27:in `call' D:/instiki-0.16.3/vendor/rails/railties/lib/rails/rack/log_tailer.rb:17:in `call' c:/ruby/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/handler/webrick.rb:40: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' c:/ruby/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/handler/webrick.rb:12:in `run' script/server:105 (eval):3:in `each_hash' (eval):3:in `all_hashes' D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:596:in `select' D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:7:in `select_all_without_query_cache' D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:60:in `select_all' D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:81:in `cache_sql' D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:60:in `select_all' D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/base.rb:661:in `find_by_sql' D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/base.rb:1554:in `find_every' D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/base.rb:615:in `find' D:/instiki-0.16.3/app/models/wiki.rb:87:in `webs' D:/instiki-0.16.3/app/controllers/wiki_controller.rb:22:in `index' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/base.rb:1261:in `send' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/base.rb:1261:in `perform_action_without_filters' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/filters.rb:617:in `call_filters' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/filters.rb:638:in `run_before_filters' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/filters.rb:206:in `call' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/filters.rb:206:in `around_proc' D:/instiki-0.16.3/vendor/rails/activesupport/lib/active_support/callbacks.rb:182:in `call' D:/instiki-0.16.3/vendor/rails/activesupport/lib/active_support/callbacks.rb:182:in `evaluate_method' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/filters.rb:184:in `call' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/filters.rb:635:in `run_before_filters' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/filters.rb:615:in `call_filters' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/filters.rb:638:in `run_before_filters' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/filters.rb:189:in `call' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/filters.rb:189:in `call' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/filters.rb:635:in `run_before_filters' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/filters.rb:615:in `call_filters' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' D:/instiki-0.16.3/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms' D:/instiki-0.16.3/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:10:in `realtime' D:/instiki-0.16.3/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/rescue.rb:160:in `perform_action_without_flash' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/flash.rb:141:in `perform_action' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/base.rb:523:in `send' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/base.rb:523:in `process_without_filters' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/filters.rb:606:in `process' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/base.rb:391:in `process' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/base.rb:386:in `call' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:433:in `call' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:65:in `dispatch' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:88:in `_call' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:59:in `initialize' D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call' D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call' D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/query_cache.rb:9:in `cache' D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/query_cache.rb:28:in `call' D:/instiki-0.16.3/vendor/plugins/rack/lib/rack/head.rb:9:in `call' D:/instiki-0.16.3/vendor/plugins/rack/lib/rack/methodoverride.rb:24:in `call' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/params_parser.rb:15:in `call' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/rewindable_input.rb:25:in `call' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/session/cookie_store.rb:93:in `call' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/failsafe.rb:11:in `call' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/rack_ext/lock.rb:15:in `call' c:/ruby/lib/ruby/1.8/thread.rb:135:in `synchronize' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/rack_ext/lock.rb:15:in `call' D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:83:in `call' D:/instiki-0.16.3/vendor/rails/railties/lib/rails/rack/static.rb:27:in `call' D:/instiki-0.16.3/vendor/rails/railties/lib/rails/rack/log_tailer.rb:17:in `call' c:/ruby/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/handler/webrick.rb:40: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' c:/ruby/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/handler/webrick.rb:12:in `run' script/server:105 Request Parameters: None Show session dump --- Response Headers: {"Content-Type"=>"text/html; charset=utf-8", "Cache-Control"=>"no-cache"} Thanks, Joel From distler at golem.ph.utexas.edu Wed Mar 4 21:05:28 2009 From: distler at golem.ph.utexas.edu (Jacques Distler) Date: Wed, 4 Mar 2009 20:05:28 -0600 Subject: [Instiki] ArgumentError in WikiController#index In-Reply-To: References: Message-ID: On Mar 4, 2009, at 6:13 PM, Joel W. Garman wrote: > I'm migrating instiki from a WinXP box to a Win2k8 box as well as > upgrading to 0.16.3. I am running MySQL and have moved the database > successfully. I unzipped instiki and modified database.yml. Did you do a rake migrate RAILS_ENV=production ? > When I run > instiki.cmd it looks like the app starts up although I did notice it > says > Rails 2.3.0 not 2.3.1. The release version is based on Rail 2.3.0. The development version (which fixes several bugs in 0.16.3) is based on the (not-yet-released) Rails 2.3.1. > When I navigate to localhost:2500 I receive this > error: > > ArgumentError in WikiController#index > NULL pointer given > RAILS_ROOT: D:/instiki-0.16.3 Hmm. Are you migrating an existing installation, or starting a new one? (I assume the former.) One option you might try are the instructions here: http://golem.ph.utexas.edu/instiki/show/Migrating+to+MySQL They're for migrating from a SQLite3 installation to MySQL. But I suppose they could be equally useful for migrating from one MySQL installation to another. But I'm guessing the problem is simpler than that. > > > Application Trace | Framework Trace | Full Trace > (eval):3:in `each_hash' > (eval):3:in `all_hashes' > D:/instiki-0.16.3/app/models/wiki.rb:87:in `webs' > D:/instiki-0.16.3/app/controllers/wiki_controller.rb:22:in `index' > D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/ > connection_adapters/mysql_adapter.rb:596:in > `select' > D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/ > connection_adapters/abstract/database_statements.rb:7:in > `select_all_without_query_cache' > D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/ > connection_adapters/abstract/query_cache.rb:60:in > `select_all' > D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/ > connection_adapters/abstract/query_cache.rb:81:in > `cache_sql' > D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/ > connection_adapters/abstract/query_cache.rb:60:in > `select_all' > D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/ > base.rb:661:in > `find_by_sql' > D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/ > base.rb:1554:in > `find_every' > D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/ > base.rb:615:in > `find' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > base.rb:1261:in > `send' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > base.rb:1261:in > `perform_action_without_filters' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > filters.rb:617:in > `call_filters' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > filters.rb:638:in > `run_before_filters' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > filters.rb:206:in > `call' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > filters.rb:206:in > `around_proc' > D:/instiki-0.16.3/vendor/rails/activesupport/lib/active_support/ > callbacks.rb:182:in > `call' > D:/instiki-0.16.3/vendor/rails/activesupport/lib/active_support/ > callbacks.rb:182:in > `evaluate_method' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > filters.rb:184:in > `call' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > filters.rb:635:in > `run_before_filters' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > filters.rb:615:in > `call_filters' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > filters.rb:638:in > `run_before_filters' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > filters.rb:189:in > `call' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > filters.rb:189:in > `call' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > filters.rb:635:in > `run_before_filters' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > filters.rb:615:in > `call_filters' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > filters.rb:610:in > `perform_action_without_benchmark' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > benchmarking.rb:68:in > `perform_action_without_rescue' > D:/instiki-0.16.3/vendor/rails/activesupport/lib/active_support/ > core_ext/benchmark.rb:17:in > `ms' > D:/instiki-0.16.3/vendor/rails/activesupport/lib/active_support/ > core_ext/benchmark.rb:10:in > `realtime' > D:/instiki-0.16.3/vendor/rails/activesupport/lib/active_support/ > core_ext/benchmark.rb:17:in > `ms' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > benchmarking.rb:68:in > `perform_action_without_rescue' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > rescue.rb:160:in > `perform_action_without_flash' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > flash.rb:141:in > `perform_action' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > base.rb:523:in > `send' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > base.rb:523:in > `process_without_filters' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > filters.rb:606:in > `process' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > base.rb:391:in > `process' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > base.rb:386:in > `call' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > routing/route_set.rb:433:in > `call' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > dispatcher.rb:65:in > `dispatch' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > dispatcher.rb:88:in > `_call' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > dispatcher.rb:59:in > `initialize' > D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/ > query_cache.rb:29:in > `call' > D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/ > query_cache.rb:29:in > `call' > D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/ > connection_adapters/abstract/query_cache.rb:34:in > `cache' > D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/ > query_cache.rb:9:in > `cache' > D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/ > query_cache.rb:28:in > `call' > D:/instiki-0.16.3/vendor/plugins/rack/lib/rack/head.rb:9:in `call' > D:/instiki-0.16.3/vendor/plugins/rack/lib/rack/methodoverride.rb:24:in > `call' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > params_parser.rb:15:in > `call' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > rewindable_input.rb:25:in > `call' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > session/cookie_store.rb:93:in > `call' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > failsafe.rb:11:in > `call' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > rack_ext/lock.rb:15:in > `call' > c:/ruby/lib/ruby/1.8/thread.rb:135:in `synchronize' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > rack_ext/lock.rb:15:in > `call' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > dispatcher.rb:83:in > `call' > D:/instiki-0.16.3/vendor/rails/railties/lib/rails/rack/static.rb:27:in > `call' > D:/instiki-0.16.3/vendor/rails/railties/lib/rails/rack/log_tailer.rb: > 17:in > `call' > c:/ruby/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/handler/ > webrick.rb:40: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' > c:/ruby/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/handler/ > webrick.rb:12:in > `run' > script/server:105 > (eval):3:in `each_hash' > (eval):3:in `all_hashes' > D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/ > connection_adapters/mysql_adapter.rb:596:in > `select' > D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/ > connection_adapters/abstract/database_statements.rb:7:in > `select_all_without_query_cache' > D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/ > connection_adapters/abstract/query_cache.rb:60:in > `select_all' > D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/ > connection_adapters/abstract/query_cache.rb:81:in > `cache_sql' > D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/ > connection_adapters/abstract/query_cache.rb:60:in > `select_all' > D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/ > base.rb:661:in > `find_by_sql' > D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/ > base.rb:1554:in > `find_every' > D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/ > base.rb:615:in > `find' > D:/instiki-0.16.3/app/models/wiki.rb:87:in `webs' > D:/instiki-0.16.3/app/controllers/wiki_controller.rb:22:in `index' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > base.rb:1261:in > `send' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > base.rb:1261:in > `perform_action_without_filters' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > filters.rb:617:in > `call_filters' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > filters.rb:638:in > `run_before_filters' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > filters.rb:206:in > `call' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > filters.rb:206:in > `around_proc' > D:/instiki-0.16.3/vendor/rails/activesupport/lib/active_support/ > callbacks.rb:182:in > `call' > D:/instiki-0.16.3/vendor/rails/activesupport/lib/active_support/ > callbacks.rb:182:in > `evaluate_method' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > filters.rb:184:in > `call' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > filters.rb:635:in > `run_before_filters' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > filters.rb:615:in > `call_filters' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > filters.rb:638:in > `run_before_filters' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > filters.rb:189:in > `call' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > filters.rb:189:in > `call' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > filters.rb:635:in > `run_before_filters' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > filters.rb:615:in > `call_filters' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > filters.rb:610:in > `perform_action_without_benchmark' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > benchmarking.rb:68:in > `perform_action_without_rescue' > D:/instiki-0.16.3/vendor/rails/activesupport/lib/active_support/ > core_ext/benchmark.rb:17:in > `ms' > D:/instiki-0.16.3/vendor/rails/activesupport/lib/active_support/ > core_ext/benchmark.rb:10:in > `realtime' > D:/instiki-0.16.3/vendor/rails/activesupport/lib/active_support/ > core_ext/benchmark.rb:17:in > `ms' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > benchmarking.rb:68:in > `perform_action_without_rescue' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > rescue.rb:160:in > `perform_action_without_flash' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > flash.rb:141:in > `perform_action' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > base.rb:523:in > `send' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > base.rb:523:in > `process_without_filters' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > filters.rb:606:in > `process' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > base.rb:391:in > `process' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > base.rb:386:in > `call' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > routing/route_set.rb:433:in > `call' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > dispatcher.rb:65:in > `dispatch' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > dispatcher.rb:88:in > `_call' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > dispatcher.rb:59:in > `initialize' > D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/ > query_cache.rb:29:in > `call' > D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/ > query_cache.rb:29:in > `call' > D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/ > connection_adapters/abstract/query_cache.rb:34:in > `cache' > D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/ > query_cache.rb:9:in > `cache' > D:/instiki-0.16.3/vendor/rails/activerecord/lib/active_record/ > query_cache.rb:28:in > `call' > D:/instiki-0.16.3/vendor/plugins/rack/lib/rack/head.rb:9:in `call' > D:/instiki-0.16.3/vendor/plugins/rack/lib/rack/methodoverride.rb:24:in > `call' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > params_parser.rb:15:in > `call' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > rewindable_input.rb:25:in > `call' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > session/cookie_store.rb:93:in > `call' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > failsafe.rb:11:in > `call' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > rack_ext/lock.rb:15:in > `call' > c:/ruby/lib/ruby/1.8/thread.rb:135:in `synchronize' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > rack_ext/lock.rb:15:in > `call' > D:/instiki-0.16.3/vendor/rails/actionpack/lib/action_controller/ > dispatcher.rb:83:in > `call' > D:/instiki-0.16.3/vendor/rails/railties/lib/rails/rack/static.rb:27:in > `call' > D:/instiki-0.16.3/vendor/rails/railties/lib/rails/rack/log_tailer.rb: > 17:in > `call' > c:/ruby/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/handler/ > webrick.rb:40: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' > c:/ruby/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/handler/ > webrick.rb:12:in > `run' > script/server:105 > Request > Parameters: > > None > > Show session dump > > --- > > Response > Headers: > > {"Content-Type"=>"text/html; charset=utf-8", > "Cache-Control"=>"no-cache"} > > > Thanks, > Joel > > _______________________________________________ > Instiki-users mailing list > Instiki-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 253 bytes Desc: This is a digitally signed message part URL: From egoots at gmail.com Thu Mar 5 17:37:30 2009 From: egoots at gmail.com (eg) Date: Thu, 5 Mar 2009 14:37:30 -0800 Subject: [Instiki] ArgumentError in WikiController#index In-Reply-To: References: Message-ID: <984070b20903051437p181e1e64m32224a145cd13c2d@mail.gmail.com> On Wed, Mar 4, 2009 at 4:13 PM, Joel W. Garman wrote: > I'm migrating instiki from a WinXP box to a Win2k8 box as well as > upgrading to 0.16.3. I am running MySQL and have moved the database > successfully. I unzipped instiki and modified database.yml. When I run > instiki.cmd it looks like the app starts up although I did notice it says > Rails 2.3.0 not 2.3.1. When I navigate to localhost:2500 I receive this > error: I found the migration process (on Windows) from 0.10.2 to 0.16.3 to be particularly painful (and at the end I still have a lot of orphaned pages). Some things I hit: - had to manually issue "gem install rack" - had to manually install sqlite ... i also used gem install to get native sqlite bindings (due to some warnings) but the latest sqlite3-ruby (1.2.4) requires you to compile sqlite / ruby from sources. I had to install sqlite3-ruby 1.2.3 instead which didnt impose this requirement - the migration read me gives example for windows to run script\import_storage which uses "\" slashes in the directory names, but the script requires that you use "/" slashes or it generates errors. - the script reset_references is pointed at the development database and not the production database contrary to what the readme states. You can either edit the second line of the script and change 'development' to 'production' or copy your database to the development referenced one in database.yml... - I also was getting errors from reset_references in the line that reads (I cant recall the error message): Web.find_all.each do |web| I had to change this to: Web.find(:all).each do |web| There may have been more, but those are what I recall. -------------- next part -------------- An HTML attachment was scrubbed... URL: From joel.w.garman at biola.edu Thu Mar 5 19:38:49 2009 From: joel.w.garman at biola.edu (Joel W. Garman) Date: Thu, 05 Mar 2009 16:38:49 -0800 Subject: [Instiki] ArgumentError in WikiController#index In-Reply-To: <984070b20903051437p181e1e64m32224a145cd13c2d@mail.gmail.com> References: <984070b20903051437p181e1e64m32224a145cd13c2d@mail.gmail.com> Message-ID: I migrated to MySQL about 6 months ago and man would that write-up have been helpful. I ran into every problem you addressed. However... I was migrating my existing 0.13.0 installation to a new Win2k8 box and upgrading to 0.16.3. The problem was located with database. There was some corruption in my mysql schema when I dumped all my databases together. I started the mysql server install over from scratch. I dumped just my instiki database, imported it to the new server, added my instiki user to the mysql.user table, and appropriated rights for my instiki database to that user. Instiki was not to blame. Although I did notice that while running on Windows some of the bundled plugins did not work so I have to "gem install" rack and activerecord. Thanks for the quick feedback and help! Instiki-users writes: >On Wed, Mar 4, 2009 at 4:13 PM, Joel W. Garman <[ >mailto:joel.w.garman at biola.edu ]joel.w.garman at biola.edu> wrote: > > >I'm migrating instiki from a WinXP box to a Win2k8 box as well as >upgrading to 0.16.3. I am running MySQL and have moved the database >successfully. I unzipped instiki and modified database.yml. When I run >instiki.cmd it looks like the app starts up although I did notice it says >Rails 2.3.0 not 2.3.1. When I navigate to localhost:2500 I receive this >error: > > > >I found the migration process (on Windows) from 0.10.2 to 0.16.3 to be >particularly painful (and at the end I still have a lot of orphaned >pages). > >Some things I hit: > >- had to manually issue "gem install rack" > >- had to manually install sqlite ... i also used gem install to get >native sqlite bindings (due to some warnings) but the latest sqlite3-ruby >(1.2.4) requires you to compile sqlite / ruby from sources. I had to >install sqlite3-ruby 1.2.3 instead which didnt impose this requirement > >- the migration read me gives example for windows to run >script\import_storage which uses "\" slashes in the directory names, but >the script requires that you use "/" slashes or it generates errors. > >- the script reset_references is pointed at the development database and >not the production database contrary to what the readme states. You can >either edit the second line of the script and change 'development' to >'production' or copy your database to the development referenced one in >database.yml... > >- I also was getting errors from reset_references in the line that reads >(I cant recall the error message): >Web.find_all.each do |web| > >I had to change this to: >Web.find(:all).each do |web| > > > >There may have been more, but those are what I recall. > > > >_______________________________________________ >Instiki-users mailing list >Instiki-users at rubyforge.org >http://rubyforge.org/mailman/listinfo/instiki-users From distler at golem.ph.utexas.edu Thu Mar 5 22:30:29 2009 From: distler at golem.ph.utexas.edu (Jacques Distler) Date: Thu, 5 Mar 2009 21:30:29 -0600 Subject: [Instiki] ArgumentError in WikiController#index In-Reply-To: <984070b20903051437p181e1e64m32224a145cd13c2d@mail.gmail.com> References: <984070b20903051437p181e1e64m32224a145cd13c2d@mail.gmail.com> Message-ID: <3DF9BD88-BE70-4787-87BE-0EA08F814055@golem.ph.utexas.edu> On Mar 5, 2009, at 4:37 PM, eg wrote: > I found the migration process (on Windows) from 0.10.2 to 0.16.3 to > be particularly painful I'm amazed you were able to do it at all. I confess that I have no knowledge whatsoever of pre-ActiveRecord versions of Instiki (really, anything pre-0.11), and so those migration scripts are bound to have suffered from bit-rot. > (and at the end I still have a lot of orphaned pages). > > Some things I hit: > > - had to manually issue "gem install rack" Will not be necessary. Rails 2.3.1 (and hence Instiki 0.16.4) bundle Rack 1.0, and the bundled version of Rack is (I believe) properly detected under Windows (unlike the situation in Instiki 0.16.3). > - had to manually install sqlite ... i also used gem install to get > native sqlite bindings (due to some warnings) but the latest sqlite3- > ruby (1.2.4) requires you to compile sqlite / ruby from sources. I > had to install sqlite3-ruby 1.2.3 instead which didnt impose this > requirement That I pretty much expect. On other platforms (Linux, MacOSX 10.4 and earlier), you have to install various prerequisites, including the sqlite3-ruby bindings. It would be strange if you could evade doing that under Windows. Have a look at these instructions http://golem.ph.utexas.edu/instiki/show/Installation and feel free to add to the (rudimentary to nonexistent) Windows instructions. > - the migration read me gives example for windows to run script > \import_storage which uses "\" slashes in the directory names, but > the script requires that you use "/" slashes or it generates errors. > > - the script reset_references is pointed at the development database > and not the production database contrary to what the readme states. > You can either edit the second line of the script and change > 'development' to 'production' or copy your database to the > development referenced one in database.yml... > > - I also was getting errors from reset_references in the line that > reads (I cant recall the error message): > Web.find_all.each do |web| > > I had to change this to: > Web.find(:all).each do |web| This is the sort of bit-rot I was talking about. I'd be happy to fix these things, but I don't have a testbed platform to make sure they stay fixed. -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 253 bytes Desc: This is a digitally signed message part URL: From mt at mutti.jp Fri Mar 6 06:14:45 2009 From: mt at mutti.jp (Matthias Tarasiewicz) Date: Fri, 6 Mar 2009 12:14:45 +0100 Subject: [Instiki] ArgumentError in WikiController#index In-Reply-To: <3DF9BD88-BE70-4787-87BE-0EA08F814055@golem.ph.utexas.edu> References: <984070b20903051437p181e1e64m32224a145cd13c2d@mail.gmail.com> <3DF9BD88-BE70-4787-87BE-0EA08F814055@golem.ph.utexas.edu> Message-ID: > On Mar 5, 2009, at 4:37 PM, eg wrote: > >> I found the migration process (on Windows) from 0.10.2 to 0.16.3 to >> be particularly painful > i just set up a windows machine to test out stuff for instiki windows compatibility. what would help now, would be some info on which packages, gems and stuff you installed, to reproduce the issue you described. can you give some additional information? regards, matthias From egoots at gmail.com Fri Mar 6 12:29:40 2009 From: egoots at gmail.com (eg) Date: Fri, 6 Mar 2009 09:29:40 -0800 Subject: [Instiki] ArgumentError in WikiController#index In-Reply-To: References: <984070b20903051437p181e1e64m32224a145cd13c2d@mail.gmail.com> <3DF9BD88-BE70-4787-87BE-0EA08F814055@golem.ph.utexas.edu> Message-ID: <984070b20903060929g6a190b75o9e50da4a061d3ba8@mail.gmail.com> On Fri, Mar 6, 2009 at 3:14 AM, Matthias Tarasiewicz wrote: > On Mar 5, 2009, at 4:37 PM, eg wrote: >> >> I found the migration process (on Windows) from 0.10.2 to 0.16.3 to be >>> particularly painful >>> >> >> > i just set up a windows machine to test out stuff for instiki windows > compatibility. > what would help now, would be some info on which packages, gems and stuff > you installed, to reproduce the issue you described. can you give some > additional information? > > regards, > matthias > > I did it in my VM (last week) so I wouldn't mess up my live wiki. I installed ruby 186-27 from the one- click installer The I did a "gem install instiki-0.10.2.gem" This installed 10 (pre-requisite) gems. It gave an error trying to generate documentation for actionpack-1.9.1 but other than that it worked. I copied over my existing wiki storage and ran instiki to verify the original was working. I can provide the local list of gems at this point as I took a snapshot. At this point I started on the merry process of upgrading. I don't recall the exact sequence I took from there (rails, sqlite, instiki, rack ) . Hope this is helpful. -------------- next part -------------- An HTML attachment was scrubbed... URL: From parasew at 5uper.net Tue Mar 17 09:04:15 2009 From: parasew at 5uper.net (Matthias Tarasiewicz) Date: Tue, 17 Mar 2009 14:04:15 +0100 Subject: [Instiki] Instiki 0.16.5: Rails 2.3.2 and minor bugfix release. Message-ID: <5F0E11A0-4423-43D7-B673-1328922C4CA4@5uper.net> Instiki 0.16.5 has just been released. find the files here: http://rubyforge.org/frs/download.php/53356/instiki-0.16.5.tgz http://rubyforge.org/frs/download.php/53354/instiki-0.16.5.zip CHANGES: * Runs on the Stable Release, Rails 2.3.2 * Support for audio/speex audio files. * Updated for itex2MML 1.3.7. (You should upgrade that, as well.) * Tests for BlahTeX/PNG (if installed). * minor bugfixes. yay! -parasew From distler at golem.ph.utexas.edu Tue Mar 17 09:58:44 2009 From: distler at golem.ph.utexas.edu (Jacques Distler) Date: Tue, 17 Mar 2009 08:58:44 -0500 Subject: [Instiki] Instiki 0.16.5: Rails 2.3.2 and minor bugfix release. In-Reply-To: <5F0E11A0-4423-43D7-B673-1328922C4CA4@5uper.net> References: <5F0E11A0-4423-43D7-B673-1328922C4CA4@5uper.net> Message-ID: On Mar 17, 2009, at 8:04 AM, Matthias Tarasiewicz wrote: > Instiki 0.16.5 has just been released. > > find the files here: > http://rubyforge.org/frs/download.php/53356/instiki-0.16.5.tgz > http://rubyforge.org/frs/download.php/53354/instiki-0.16.5.zip > > CHANGES: > * Runs on the Stable Release, Rails 2.3.2 > * Support for audio/speex audio files. > * Updated for itex2MML 1.3.7. (You should upgrade that, as well.) > * Tests for BlahTeX/PNG (if installed). > * minor bugfixes. Actually, relative to Instiki 0.16.3, the improvements (in addition to the above) include: * Support for the HTML5