Rahul Sinha
2005-Nov-18 02:31 UTC
[Instiki] adding Instiki.app (instiki v10.2) data to a remote 11.0 installation
I was wondering if there was any way to import the results of the 10.2 export command (rather than having to upload to TxD the entire Instiki.app, the "2500" app preferences directory in order to run the script referred to in README) into a functioning Instiki-AR installation. I don''t know if the export format is in flux; are there any plans to "automate" the process further? (I''m thinking an upload page that pulls in the bundle and automatically propagates its content...) Thanks -RS
What am I missing if this script can''t find the redcloth module? TxD must have it installed in their ruby setup... % ./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 Any ideas? -RS On Nov 17, 2005, at 9:31 PM, Rahul Sinha wrote:> I was wondering if there was any way to import the results of the > 10.2 export command (rather than having to upload to TxD the entire > Instiki.app, the "2500" app preferences directory in order to run the > script referred to in README) into a functioning Instiki-AR > installation. > > I don''t know if the export format is in flux; are there any plans to > "automate" the process further? (I''m thinking an upload page that > pulls in the bundle and automatically propagates its content...) > > Thanks > -RS > > > _______________________________________________ > Instiki-users mailing list > Instiki-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users >
Rahul: On 11/18/05, Rahul Sinha <rahulsinha at mac.com> wrote:> > What am I missing if this script can''t find the redcloth module? TxD > must have it installed in their ruby setup...I think I had this exact same problem (I mentioned it here 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 -- B?onn caora dhubh ar an tr?ad is gile. (There are black sheep in the brightest flocks.) <http://halfpie.net/> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instiki-users/attachments/20051118/e5444a32/attachment.htm
Thanks! That worked like a charm; next time I''ll try hitting the archives harder. Now to decipher "execute the sql file in your database app" for mysql. -RS On Nov 17, 2005, at 10:17 PM, Alan Macdougall wrote:> Rahul: > > On 11/18/05, Rahul Sinha <rahulsinha at mac.com> wrote: > What am I missing if this script can''t find the redcloth module? TxD > must have it installed in their ruby setup... > > > I think I had this exact same problem (I mentioned it here 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 > > -- > B?onn caora dhubh ar an tr?ad is gile. > (There are black sheep in the brightest flocks.) > > <http://halfpie.net/> > _______________________________________________ > 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/20051117/5d0a0d73/attachment.htm