Never been to TextSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

Import of old Instiki data to a new Instiki instance (See related posts)

Trying to import data from Instiki.app 10.2 to Instiki 11.0 (alpha). The follow error is occurring.

 % ./instiki/script/import_storage -t instiki-old/2500 -i instiki-old/rb_src -d mysql -o instiki-data.sql
/users/home/quidire/web/public/instiki-old/rb_src/app/models/chunks/engines.rb:3:in `require': No such file to load -- redcloth (LoadError)
        from /users/home/quidire/web/public/instiki-old/rb_src/app/models/chunks/engines.rb:3
        from /users/home/quidire/web/public/instiki-old/rb_src/app/models/wiki_content.rb:2:in `require'
        from /users/home/quidire/web/public/instiki-old/rb_src/app/models/wiki_content.rb:2
        from /users/home/quidire/web/public/instiki-old/rb_src/app/models/revision.rb:2:in `require'
        from /users/home/quidire/web/public/instiki-old/rb_src/app/models/revision.rb:2
        from /users/home/quidire/web/public/instiki-old/rb_src/app/models/page.rb:3:in `require'
        from /users/home/quidire/web/public/instiki-old/rb_src/app/models/page.rb:3
        from /users/home/quidire/web/public/instiki-old/rb_src/app/models/web.rb:2:in `require'
        from /users/home/quidire/web/public/instiki-old/rb_src/app/models/web.rb:2
        from /users/home/quidire/web/public/instiki-old/rb_src/app/models/wiki_service.rb:7:in `require'
        from /users/home/quidire/web/public/instiki-old/rb_src/app/models/wiki_service.rb:7
        from ./instiki/script/import_storage:96:in `require'
        from ./instiki/script/import_storage:96

Comments on this post

quidire posts on Nov 18, 2005 at 04:28
Alan Macdougall provided this solution:

I think I had this exact same problem (I mentioned it here [ED: on the Instiki-Users mailing list ] a while back)

What I did (after extensive poking around in the code - interesting, as I don't know any Ruby) was copy the file in my old instiki installation that I was importing from:

/ instiki/lib/redcloth_for_tex.rb

to

/instiki/lib/redcloth.rb

That seemed to do the trick.

Hope this helps!

Alan

You need to create an account or log in to post comments to this site.


Related Posts