I think this is masking another issue. In any case, when HCl gets XML input that it doesn't know what to do with, the correct response is not to freak out, like it does here:
/Library/Ruby/Gems/1.8/gems/zenhob-hcl-0.2.1/lib/hcl/task.rb:5:in cache_tasks': undefined methodelements' for nil:NilClass (NoMethodError)
from /Library/Ruby/Gems/1.8/gems/zenhob-hcl-0.2.1/lib/hcl/day_entry.rb:18:in `from_xml'
from /Library/Ruby/Gems/1.8/gems/zenhob-hcl-0.2.1/lib/hcl/day_entry.rb:9:in `all'
from /Library/Ruby/Gems/1.8/gems/zenhob-hcl-0.2.1/lib/hcl.rb:222:in `show'
from /Library/Ruby/Gems/1.8/gems/zenhob-hcl-0.2.1/lib/hcl.rb:44:in `send'
from /Library/Ruby/Gems/1.8/gems/zenhob-hcl-0.2.1/lib/hcl.rb:44:in `run'
from /Library/Ruby/Gems/1.8/gems/zenhob-hcl-0.2.1/lib/hcl.rb:38:in `command'
from /Library/Ruby/Gems/1.8/gems/zenhob-hcl-0.2.1/bin/hcl:6
from /usr/bin/hcl:19:in `load'
from /usr/bin/hcl:19
A good short-term solution would probably be to report a problem with the XML results. Not sure what else yet, or what the known workarounds are, if any.
I think this is masking another issue. In any case, when HCl gets XML input that it doesn't know what to do with, the correct response is not to freak out, like it does here:
A good short-term solution would probably be to report a problem with the XML results. Not sure what else yet, or what the known workarounds are, if any.
Thanks radar for putting me on to this.