Mike,
Thanks for responding. I uninstalled and reinstalled the latest bundle just to make sure (through the GetBundle bundle). I do have excluded.gtd in the project, and when I added "excluded.gtd" to itself, the Active GTD List view error cleared up. However, the Export to Geektool command still throws up an error even with all this. The error comes up as a tooltip, so I had to enter it by hand:
/tmp/temp_textmate.bQodQm:42: undefined method `pre_match' for nil:NilClass (NoMethodError) from /tmp/temp_textmate.bQodQm:38: in `each' from /tmp/temp_textmate.bQodQm:38 from /tmp/temp_textmate.bQodQm:34: in `each' from /tmp/temp_textmate.bQodQm:34 from /tmp/temp_textmate.bQodQm:28: in `each' from /tmp/temp_textmate.bQodQm:28
By the way, thanks for the great bundle, which was working for me not long ago. It's very useful to have the output function the way it outputs to Geektool. You may want to clear up in your introduction on the blog whether the exclusions file is excluded.gtd or exclusions.gtd.
Adam
Two questions:
Are you using the latest version from the repository? Do you have an "excluded.gtd" file in your TM Project?
If you don't have the "excluded.gtd" file, you can get it at my blog
Let me know if that doesn't work.
Mike
On 9/19/06, Adam Potthast adamqp@freeminds.net wrote: Has anyone else had problems with "Active GTD List View" and "Export to Geektool" in the GTD bundle following the last couple of Textmate updates?
When I run Active GTD List view I get the following error:
/tmp/temp_textmate.H0K13x:78: undefined method `pre_match' for nil:NilClass (NoMethodError) from /tmp/temp_textmate.H0K13x:74:in `each' from /tmp/temp_textmate.H0K13x:74 from /tmp/ temp_textmate.H0K13x:70:in `each' from /tmp/temp_textmate.H0K13x:70 from /tmp/temp_textmate.H0K13x:67:in `each' from /tmp/ temp_textmate.H0K13x:67
Export to Geektool throws up a different error that I can't copy and paste, but it appears to be missing the 'pre_match' method as well.
Regular GTD List view still seems to work fine.
Thanks, Adam
_ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Adam -
I'll take a look as soon as I get home tonight. Thanks for catching the error on the blog.
Mike
On 9/19/06, Adam Potthast adamqp@freeminds.net wrote:
Mike,
Thanks for responding. I uninstalled and reinstalled the latest bundle just to make sure (through the GetBundle bundle). I do have excluded.gtdin the project, and when I added " excluded.gtd" to itself, the Active GTD List view error cleared up. However, the Export to Geektool command still throws up an error even with all this. The error comes up as a tooltip, so I had to enter it by hand:
/tmp/temp_textmate.bQodQm:42: undefined method `pre_match' for nil:NilClass (NoMethodError) from /tmp/temp_textmate.bQodQm:38: in `each' from /tmp/temp_textmate.bQodQm:38 from /tmp/temp_textmate.bQodQm:34: in `each' from /tmp/temp_textmate.bQodQm:34 from /tmp/temp_textmate.bQodQm:28: in `each' from /tmp/temp_textmate.bQodQm:28
By the way, thanks for the great bundle, which was working for me not long ago. It's very useful to have the output function the way it outputs to Geektool. You may want to clear up in your introduction on the blog whether the exclusions file is excluded.gtd or exclusions.gtd.
Adam
Two questions:
Are you using the latest version from the repository? Do you have an "excluded.gtd" file in your TM Project?
If you don't have the "excluded.gtd" file, you can get it at my bloghttp://www.panalaska.org/GTD_Stuff/GTD_Intro_Revised.html
Let me know if that doesn't work.
Mike
On 9/19/06, *Adam Potthast *adamqp@freeminds.net wrote: Has anyone else had problems with "Active GTD List View" and "Export to Geektool" in the GTD bundle following the last couple of Textmate updates?
When I run Active GTD List view I get the following error:
/tmp/temp_textmate.H0K13x:78: undefined method `pre_match' for nil:NilClass (NoMethodError) from /tmp/temp_textmate.H0K13x:74:in `each' from /tmp/temp_textmate.H0K13x:74 from /tmp/ temp_textmate.H0K13x:70:in `each' from /tmp/temp_textmate.H0K13x:70 from /tmp/temp_textmate.H0K13x:67:in `each' from /tmp/ temp_textmate.H0K13x:67
Export to Geektool throws up a different error that I can't copy and paste, but it appears to be missing the 'pre_match' method as well.
Regular GTD List view still seems to work fine.
Thanks, Adam
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Mike,
I may have solved the problem. I took a look at the Export to Geektool command and it looks like it was trying to process excluded.gtd as well. So I changed line 35 from:
if (fileName[-3,3] == "gtd") and (fileName != "contexts.gtd")
to
if (fileName[-3,3] == "gtd") and (fileName != "contexts.gtd") and (fileName != "excluded.gtd")
Now it seems to work fine.
I might work on this command a little so that it takes account of what one wants to ignore in excluded.gtd as well. Given that I know nothing about SVN, would it be welcome to send changes to you?
AP
On Sep 19, 2006, at 7:39 PM, Mike Mellor wrote:
Adam -
I'll take a look as soon as I get home tonight. Thanks for catching the error on the blog.
Mike
On 9/19/06, Adam Potthast < adamqp@freeminds.net> wrote: Mike,
Thanks for responding. I uninstalled and reinstalled the latest bundle just to make sure (through the GetBundle bundle). I do have excluded.gtd in the project, and when I added "excluded.gtd" to itself, the Active GTD List view error cleared up. However, the Export to Geektool command still throws up an error even with all this. The error comes up as a tooltip, so I had to enter it by hand:
/tmp/temp_textmate.bQodQm:42: undefined method `pre_match' for nil:NilClass (NoMethodError) from /tmp/temp_textmate.bQodQm:38: in `each' from /tmp/temp_textmate.bQodQm:38 from /tmp/temp_textmate.bQodQm:34: in `each' from /tmp/temp_textmate.bQodQm:34 from /tmp/temp_textmate.bQodQm:28: in `each' from /tmp/temp_textmate.bQodQm:28
By the way, thanks for the great bundle, which was working for me not long ago. It's very useful to have the output function the way it outputs to Geektool. You may want to clear up in your introduction on the blog whether the exclusions file is excluded.gtd or exclusions.gtd.
Adam
Two questions:
Are you using the latest version from the repository? Do you have an " excluded.gtd" file in your TM Project?
If you don't have the "excluded.gtd" file, you can get it at my blog
Let me know if that doesn't work.
Mike
On 9/19/06, Adam Potthast < adamqp@freeminds.net> wrote: Has anyone else had problems with "Active GTD List View" and "Export to Geektool" in the GTD bundle following the last couple of Textmate updates?
When I run Active GTD List view I get the following error:
/tmp/temp_textmate.H0K13x:78: undefined method `pre_match' for nil:NilClass (NoMethodError) from /tmp/temp_textmate.H0K13x:74:in `each' from /tmp/temp_textmate.H0K13x:74 from /tmp/ temp_textmate.H0K13x:70:in `each' from /tmp/temp_textmate.H0K13x:70 from /tmp/temp_textmate.H0K13x:67:in `each' from /tmp/ temp_textmate.H0K13x:67
Export to Geektool throws up a different error that I can't copy and paste, but it appears to be missing the 'pre_match' method as well.
Regular GTD List view still seems to work fine.
Thanks, Adam
__ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Adam -
Good catch! I made the change and have updated the repository. Thanks for the help, and thanks for the feedback!
Mike
On Sep 19, 2006, at 8:41 PM, Adam Potthast wrote:
Mike,
I may have solved the problem. I took a look at the Export to Geektool command and it looks like it was trying to process excluded.gtd as well. So I changed line 35 from:
if (fileName[-3,3] == "gtd") and (fileName != "contexts.gtd")
to
if (fileName[-3,3] == "gtd") and (fileName != "contexts.gtd")
and (fileName != "excluded.gtd")
Now it seems to work fine.
I might work on this command a little so that it takes account of what one wants to ignore in excluded.gtd as well. Given that I know nothing about SVN, would it be welcome to send changes to you?
AP
No problem.
In fact (though I'm sure this is no news to you), if you replace the line with this:
if (fileName[-3,3] == "gtd") and (fileName != "contexts.gtd") and (fileName != "excluded.gtd") and (myList.contains(fileName))
and add the following code you already had written for the Active List command:
class ExList def initialize @values = [] end def contains(test) #puts @values.class found = true @values.each do |item| if test == item.chomp found = false end end return found end def add(item) @values.push item end def print puts @values end end
xFile = File.open($myPath+"/excluded.gtd", "r")
myList = ExList.new
xFile.each do |line| myList.add(line) end
Then the Export to Geektool command respects excluded.gtd as well.
Thanks for the great bundle -- it's a big part of my day.
Adam
On Sep 20, 2006, at 12:07 AM, Mike Mellor wrote:
Adam -
Good catch! I made the change and have updated the repository. Thanks for the help, and thanks for the feedback!
Mike
On Sep 19, 2006, at 8:41 PM, Adam Potthast wrote:
Mike,
I may have solved the problem. I took a look at the Export to Geektool command and it looks like it was trying to process excluded.gtd as well. So I changed line 35 from:
if (fileName[-3,3] == "gtd") and (fileName != "contexts.gtd")
to
if (fileName[-3,3] == "gtd") and (fileName !=
"contexts.gtd") and (fileName != "excluded.gtd")
Now it seems to work fine.
I might work on this command a little so that it takes account of what one wants to ignore in excluded.gtd as well. Given that I know nothing about SVN, would it be welcome to send changes to you?
AP
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Adam -
I made the changes you described. Thanks!
Mike
P.S. I'm working on another version of the bundle, based on the annotation described at <http://patrickrhone.com/journal/archives/ 2006/05/175.html> Please let me know what you think of it.
On Sep 19, 2006, at 9:44 PM, Adam Potthast wrote:
No problem.
In fact (though I'm sure this is no news to you), if you replace the line with this:
if (fileName[-3,3] == "gtd") and (fileName != "contexts.gtd")
and (fileName != "excluded.gtd") and (myList.contains(fileName))
and add the following code you already had written for the Active List command:
class ExList def initialize @values = [] end def contains(test) #puts @values.class found = true @values.each do |item| if test == item.chomp found = false end end return found end def add(item) @values.push item end def print puts @values end end
xFile = File.open($myPath+"/excluded.gtd", "r")
myList = ExList.new
xFile.each do |line| myList.add(line) end
Then the Export to Geektool command respects excluded.gtd as well.
Thanks for the great bundle -- it's a big part of my day.
Adam
On Sep 20, 2006, at 12:07 AM, Mike Mellor wrote:
Adam -
Good catch! I made the change and have updated the repository. Thanks for the help, and thanks for the feedback!
Mike
On Sep 19, 2006, at 8:41 PM, Adam Potthast wrote:
Mike,
I may have solved the problem. I took a look at the Export to Geektool command and it looks like it was trying to process excluded.gtd as well. So I changed line 35 from:
if (fileName[-3,3] == "gtd") and (fileName != "contexts.gtd")
to
if (fileName[-3,3] == "gtd") and (fileName !=
"contexts.gtd") and (fileName != "excluded.gtd")
Now it seems to work fine.
I might work on this command a little so that it takes account of what one wants to ignore in excluded.gtd as well. Given that I know nothing about SVN, would it be welcome to send changes to you?
AP
_ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate