Hi all, I recently started to play with instiki last february and used version 0.10.2. I am now trying to upgrade to 0.11.0. I have managed to migrate all the data but the reset_references script isn''t working for me. I have no ruby experience so if anyone can help with this that would be great. C:\instiki-0.11.0>ruby script\reset_references production Loading Rails for production environment... c:/ruby/lib/ruby/1.8/dl/import.rb:29:in `initialize'': unknown error (RuntimeErro r) from c:/ruby/lib/ruby/1.8/dl/import.rb:29:in `dlload'' from c:/ruby/lib/ruby/1.8/dl/import.rb:27:in `dlload'' from ./script/../config/../vendor/sqlite3-ruby/sqlite3/driver/dl/api.rb: 63 from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `re quire'' from ./script/../config/../vendor/rails/activerecord/lib/../../activesup port/lib/active_support/dependencies.rb:214:in `require'' from ./script/../config/../vendor/sqlite3-ruby/sqlite3/driver/dl/driver. rb:33 from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `re quire'' from ./script/../config/../vendor/rails/activerecord/lib/../../activesup port/lib/active_support/dependencies.rb:214:in `require'' ... 6 levels... from ./script/../config/../vendor/rails/activerecord/lib/active_record/c onnection_adapters/abstract/connection_specification.rb:106:in `retrieve_connect ion'' from ./script/../config/../vendor/rails/activerecord/lib/active_record/c onnection_adapters/abstract/connection_specification.rb:20:in `connection'' from ./script/../config/../vendor/rails/activerecord/lib/active_record/b ase.rb:502:in `delete_all'' from script/reset_references:13 C:\instiki-0.11.0>ruby -v ruby 1.8.4 (2005-12-24) [i386-mswin32] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instiki-users/attachments/20060426/e9ca32ec/attachment.htm
Nicholas, I too have noticed that removing orphans seems not to remove them. They still appear in the All pages list. However, the problem seems related to the need to recreate that page - or something like this. Sometimes shutting down the session (close browser) and return reveals that orphans really ARE gone - often in fact. Other times, this doesn''t seem to work. I find this all confusing, and don''t have time or skill to chase it down. I HAVE, however, always managed somehow to flush orphans in all cases, and I run about 8 different Instiki wikis. I just love that program! - t. On Wed, 26 Apr 2006 07:42:37 -0700, Nicholas Ng <nicholas.ng at gmail.com> wrote:> Hi all, > > I recently started to play with instiki last february and used version > 0.10.2. I am now trying to upgrade to 0.11.0. I have managed to migrate > all > the data but the reset_references script isn''t working for me. I have no > ruby experience so if anyone can help with this that would be great. > > C:\instiki-0.11.0>ruby script\reset_references production > Loading Rails for production environment... > c:/ruby/lib/ruby/1.8/dl/import.rb:29:in `initialize'': unknown error > (RuntimeErro > r) > from c:/ruby/lib/ruby/1.8/dl/import.rb:29:in `dlload'' > from c:/ruby/lib/ruby/1.8/dl/import.rb:27:in `dlload'' > from > ./script/../config/../vendor/sqlite3-ruby/sqlite3/driver/dl/api.rb: > 63 > from > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in > `re > quire'' > from > ./script/../config/../vendor/rails/activerecord/lib/../../activesup > port/lib/active_support/dependencies.rb:214:in `require'' > from > ./script/../config/../vendor/sqlite3-ruby/sqlite3/driver/dl/driver. > rb:33 > from > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in > `re > quire'' > from > ./script/../config/../vendor/rails/activerecord/lib/../../activesup > port/lib/active_support/dependencies.rb:214:in `require'' > ... 6 levels... > from > ./script/../config/../vendor/rails/activerecord/lib/active_record/c > onnection_adapters/abstract/connection_specification.rb:106:in > `retrieve_connect > ion'' > from > ./script/../config/../vendor/rails/activerecord/lib/active_record/c > onnection_adapters/abstract/connection_specification.rb:20:in > `connection'' > from > ./script/../config/../vendor/rails/activerecord/lib/active_record/b > ase.rb:502:in `delete_all'' > from script/reset_references:13 > > C:\instiki-0.11.0>ruby -v > ruby 1.8.4 (2005-12-24) [i386-mswin32]-- ===============================================Tom Cloyd, MS MA, LMHC Private practice Psychotherapist Bellingham, Washington, U.S.A: (360) 920-1226 << TC.BestMindHealth.com / BestMindHealth.com >> << tomcloyd at bestmindhealth.com >> ================================================
Hi Nicholas,> from c:/ruby/lib/ruby/1.8/dl/import.rb:29:in > `dlload'' > from c:/ruby/lib/ruby/1.8/dl/import.rb:27:in > `dlload'' > from > ./script/../config/../vendor/sqlite3-ruby/sqlite3/driver/dl/api.rb: > 63Looks like the sqlite3 driver can''t load the sqlite3 dll. Have you downloaded and placed sqlite3 on the path? Cheers, Assaph
Thanks Assaph! The sqlite3.dll already came with the instiki package. However, I had to add to the path that was in instiki.cmd to get it to work. set PATH=.\lib\native\win32;%PATH% Thanks again, Nick On 4/26/06, Assaph Mehr <assaph at gmail.com> wrote:> > Hi Nicholas, > > > from c:/ruby/lib/ruby/1.8/dl/import.rb:29:in > > `dlload'' > > from c:/ruby/lib/ruby/1.8/dl/import.rb:27:in > > `dlload'' > > from > > ./script/../config/../vendor/sqlite3-ruby/sqlite3/driver/dl/api.rb: > > 63 > > Looks like the sqlite3 driver can''t load the sqlite3 dll. Have you > downloaded and placed sqlite3 on the path? > > Cheers, > Assaph > > _______________________________________________ > 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/20060426/1b4cf594/attachment-0001.htm