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 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/../../ac
tivesup
> 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/../../ac
tivesup
> port/lib/active_support/dependencies.rb:214:in
`require'
> ... 6 levels...
> from
>
./script/../config/../vendor/rails/activerecord/lib/active_r
ecord/c
>
onnection_adapters/abstract/connection_specification.rb:106:
in
> `retrieve_connect
> ion'
> from
>
./script/../config/../vendor/rails/activerecord/lib/active_r
ecord/c
>
onnection_adapters/abstract/connection_specification.rb:20:i
n
> `connection'
> from
>
./script/../config/../vendor/rails/activerecord/lib/active_r
ecord/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 bestmindhealth.com >>
================================================
_______________________________________________
Instiki-users mailing list
Instiki-users rubyforge.org
h
ttp://rubyforge.org/mailman/listinfo/instiki-users
|