Patch problems

Paul van Tilburg paul at luon.net
Sun Sep 3 12:01:49 EDT 2006


Hey all,

I was trying out a current Subversion snapshot of Hobix, especially the
patch stuff, but I encountered a problem... hobix bailed out halfway the
patching.  I haven't looked into this part of Hobix yet, maybe someone
here knows rightaway what the problem is?

I ran: hobix patch journal apache2-all
Output:
---
% hobix patch journal apache2-all
*** Applying patch #1 for /home/paul/.hobix/journal/htdocs/.htaccess (file-ensure).
*** Applying patch #1 for /home/paul/.hobix/journal/lib/local.rb (file-create).
*** Applying patch #1 for /home/paul/.hobix/journal/htdocs/js/prototype.js (file-create).
*** Applying patch #1 for /home/paul/.hobix/journal/skel/sidebar.html.quick (file-create).
*** Applying patch #1 for /home/paul/.hobix/journal/htdocs/control/.htaccess (file-ensure).
*** Applying patch #1 for /home/paul/.hobix/journal/hobix.yaml (yaml-merge).
*** Applying patch #2 for /home/paul/.hobix/journal/hobix.yaml (yaml-merge).
*** Applying patch #1 for /home/paul/.hobix/journal/htdocs/control/hobix.cgi (file-create).
/usr/local/lib/site_ruby/1.8/hobix/base.rb:420:in `[]': Symbol as array index (TypeError)
        from /usr/local/lib/site_ruby/1.8/hobix/base.rb:420:in `text_processor_fields'
        from /usr/local/lib/site_ruby/1.8/hobix/base.rb:419:in `text_processor_fields'
        from /usr/local/lib/site_ruby/1.8/hobix/base.rb:394:in `to_yaml'
        from /usr/lib/ruby/1.8/yaml/rubytypes.rb:18:in `to_yaml'
        from /usr/lib/ruby/1.8/yaml/rubytypes.rb:17:in `to_yaml'
        from /usr/lib/ruby/1.8/yaml/rubytypes.rb:16:in `to_yaml'
        from /usr/lib/ruby/1.8/yaml.rb:387:in `quick_emit'
        from /usr/lib/ruby/1.8/yaml/rubytypes.rb:15:in `to_yaml'
        from /usr/local/lib/site_ruby/1.8/hobix/util/patcher.rb:81:in `apply'
        from /usr/local/lib/site_ruby/1.8/hobix/util/patcher.rb:62:in `apply'
        from /usr/local/lib/site_ruby/1.8/hobix/commandline.rb:311:in `patch_action'
        from /usr/bin/hobix:79
---

Thanks in advance,

Paul

-- 
Student @ Eindhoven                         | email: paul at luon.net
University of Technology, The Netherlands   | JID: paul at luon.net
>>> Using the Power of Debian GNU/Linux <<< | GnuPG key ID: 0x50064181
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://rubyforge.org/pipermail/hobix-is-the-way/attachments/20060903/aa4273c1/attachment.bin 


More information about the Hobix-is-the-way mailing list