From: Lloyd Zusman Date: 2004-09-07T02:40:45+09:00 Subject: Hobix error (Was: Ruby blog software.) Frederick Ros writes: > [ ... ] > > You can also look at hobix (http://hobix.com - or - > http://rubyforge.org/projects/hobix/) from our beloved Why the Lucky Stiff.. > It also works the way you described, and I added some code to copy > generated blog over FTP to my IPS account. > AFAIR you can use RedCloth and BlueCloth to publish ... > > Frederick Ros. I have installed hobix using the instructions given in the checklist: http://hobix.com/learn/01.checklist.html. I made it through all of the preliminary steps without any error. Then, I issued this command, as specified in that checklist: hobix post blogopotamus foobar (where "blogopotamus" corresponds to "blaahg" and "foobar" corresponds to "shortName"). I was properly put into an editor session, but then, after entering a small amount of content and saving the foobar.yaml file, I got the following exception (I am manually wrapping long lines here for ease of reading): /usr/local/lib/ruby/site_ruby/1.9/hobix/out/quick.rb:62:in `load': Error `undefined method `[]' for nil:NilClass' in erb /var/www/blogopotamus/skel/entry.html.quick. (Hobix::Out::QuickError) from /usr/local/lib/ruby/site_ruby/1.9/hobix/weblog.rb:411: in `retouch' from /usr/local/lib/ruby/site_ruby/1.9/hobix/weblog.rb:379: in `build_pages' from /usr/local/lib/ruby/site_ruby/1.9/hobix/weblog.rb:300: in `skel_entry' from /usr/local/lib/ruby/site_ruby/1.9/hobix/weblog.rb:522: in `each_with_neighbors' from /usr/local/lib/ruby/site_ruby/1.9/hobix/base.rb:123: in `each' from /usr/local/lib/ruby/site_ruby/1.9/hobix/base.rb:123: in `each_with_neighbors' from /usr/local/lib/ruby/site_ruby/1.9/hobix/weblog.rb:522: in `skel_entry' from /usr/local/lib/ruby/site_ruby/1.9/hobix/weblog.rb:520: in `each' ... 10 levels... from /usr/local/lib/ruby/site_ruby/1.9/hobix/weblog.rb:362: in `regenerate' from /usr/local/lib/ruby/site_ruby/1.9/hobix/commandline.rb:160: in `post_action' from /usr/local/bin/hobix:60: in `call' from /usr/local/bin/hobix:60 Do I need to have erb installed in order for this to work? If so, that is not documented. Any other ideas of what could have caused this? Thanks. -- Lloyd Zusman ljz@asfast.com God bless you.