Hi everyone,
I'm having trouble getting my Hobix-blog up and running.
I can create a blog (as should) but am unable to regen post or whatever.
Hobix informs me of the following:
@casper:/Library/WebServer/Documents/dev/hobix/blahg # hobix regen blahg
*** Loading /Library/WebServer/Documents/dev/hobix/blahg/hobix.out.quick
++ Reloaded blog/theSixthBook
++ Reloaded blog/theFiftyThirdCalypso
++ Reloaded blog/theBokoMaruCalypso
++ Reloaded about/me
/usr/local/lib/ruby/site_ruby/1.8/hobix/storage/filesys.rb:215:in
`sort_index': undefined method `<=>' for nil:NilClass (NoMethodError)
from
/usr/local/lib/ruby/site_ruby/1.8/hobix/storage/filesys.rb:215:in
`sort!'
from
/usr/local/lib/ruby/site_ruby/1.8/hobix/storage/filesys.rb:215:in
`sort_index'
from
/usr/local/lib/ruby/site_ruby/1.8/hobix/storage/filesys.rb:207:in
`load_index'
from
/usr/local/lib/ruby/site_ruby/1.8/hobix/storage/filesys.rb:265:in
`find'
from /usr/local/lib/ruby/site_ruby/1.8/hobix/weblog.rb:710:in
`skel_yearly'
from /usr/local/lib/ruby/site_ruby/1.8/hobix/weblog.rb:433:in `call'
from /usr/local/lib/ruby/site_ruby/1.8/hobix/weblog.rb:433:in
`build_pages'
from /usr/local/lib/ruby/site_ruby/1.8/hobix/weblog.rb:428:in `loop'
... 7 levels...
from /usr/local/lib/ruby/site_ruby/1.8/hobix/weblog.rb:579:in
`regenerate'
from /usr/local/lib/ruby/site_ruby/1.8/hobix/commandline.rb:256:in
`regen_action'
from /usr/local/bin//hobix:84:in `call'
from /usr/local/bin//hobix:84
filesys.rb:215 gives this line of code:
@index.sort! { |x,y| y[1].created <=> x[1].created }
I'm guessing it has something to do with the "created"-tag in the yaml
hobix reads.
Any suggestions?
Apparently I'm not the only one getting this error. I ran across an older
mail in the archive describing the exact same error. It is yet unresolved.
_______________________________________________
Hobix-is-the-way mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/hobix-is-the-way