From mental at rydia.net Sun Jan 7 22:46:29 2007 From: mental at rydia.net (MenTaLguY) Date: Sun, 07 Jan 2007 22:46:29 -0500 Subject: * Page Path Problems Purged Message-ID: <1168227989.5175.8.camel@localhost.localdomain> Okay, I've finally nailed down that one bug we were having with paths getting doubled in page links (for instance, comic/archive.html would become comic/comic/archive.html). At some point things were changed so that the source entry id always included the (blog-relative) path to the page, so it was no longer necessary to store this in Page's @dir. As a temporary measure, I've begun always passing "" as Page#add_path's first argument. As a more long-term measure, I'll probably be removing Page @dir altogether. But I'd like you guys to make sure I've not broken anything _else_ in the process first. Please `svn update` when you have a chance and give it a spin. -mental -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://rubyforge.org/pipermail/hobix-is-the-way/attachments/20070107/7341189c/attachment.bin From matt at routleynet.org Wed Jan 24 10:19:02 2007 From: matt at routleynet.org (Matthew Routley) Date: Wed, 24 Jan 2007 10:19:02 -0500 Subject: Hobix from trunk and OS X Message-ID: Hello, I am unable to run the current trunk version of Hobix with Mac OS X and wondered if anyone had suggestions. I am able to setup a new blog, but when running hobix regen I get the following: /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_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:708:in `skel_yearly' from /usr/local/lib/ruby/site_ruby/1.8/hobix/weblog.rb:431:in `build_pages' from /usr/local/lib/ruby/site_ruby/1.8/hobix/weblog.rb:427:in `build_pages' from /usr/local/lib/ruby/site_ruby/1.8/hobix/weblog.rb:510:in `output_map' from /usr/local/lib/ruby/1.8/find.rb:39:in `find' from /usr/local/lib/ruby/1.8/find.rb:38:in `find' from /usr/local/lib/ruby/site_ruby/1.8/hobix/weblog.rb:497:in `output_map' from /usr/local/lib/ruby/site_ruby/1.8/hobix/weblog.rb:582:in `retouch' from /usr/local/lib/ruby/site_ruby/1.8/hobix/weblog.rb:577:in `regenerate' from /usr/local/lib/ruby/site_ruby/1.8/hobix/commandline.rb:256:in `regen_action' from /usr/local/bin/hobix:83 I am using: ruby 1.8.4 (2005-12-24) [i686-darwin8.7.1] OS X 10.4.8 I installed hobix as follow: svn co http://code.whytheluckystiff.net/svn/hobix/trunk hobix cd hobix sudo ruby setup.rb Installing the 0.3b release and running the setup blogs command yields: -e:1: /usr/local/lib/ruby/site_ruby/1.8/hobix/commandline.rb:25:in `join': can't convert nil into String (TypeError) from /usr/local/lib/ruby/site_ruby/1.8/hobix/commandline.rb:25 from (eval):201 from (eval):139 Any suggestions? Thanks, Matt -- Matthew Routley http://matt.routleynet.org