Hello,
When scanning my latex document with the TODO bundle, I get the following message.
Scanning directory: ~/Documents/tex/papers/2010/O3Buffer/RevSciInstr_Buffergas/O3Buffer
(erb):4: undefined method `+' for nil:NilClass (NoMethodError) from /Applications/Editors/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:99 from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/erb.rb:716:in `grep' from /Applications/Editors/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:77:in `each' from /Applications/Editors/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:77:in `grep' from /Applications/Editors/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:77 from /Applications/Editors/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:76:in `open' from /Applications/Editors/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:76 from /Applications/Editors/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:75:in `each' from /Applications/Editors/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:75 from /Applications/Editors/TextMate.app/Contents/SharedSupport/Support/lib/textmate.rb:201:in `call' from /Applications/Editors/TextMate.app/Contents/SharedSupport/Support/lib/textmate.rb:201:in `each_text_file' from /Applications/Editors/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:71
I have reinstalled textmate several times and everything worked for a while before TODO would give the same message again. Since I am not at all familiar with ruby I did not try to understand the ruby code of the TODO bundle.
I am using TM Version 1.5.9 (1589) under the latest snow leopard OS.
Because I really like the functionality of the TODO bundle I would be happy if anyone could tell me what to do or confirm that this problem exists elsewhere.
Thanks for consideration
Christof