#22 new
jduff

Exception when running Ack in Project

Reported by jduff | November 16th, 2009 @ 05:17 PM

The plugin has been working fine on my machine until just now, I keep getting the message below. I've tried reinstalling textmate and the plugin without any difference.

~/Library/Application Support/TextMate/Bundles/Ack.tmbundle/Support/lib/search_dialog.rb:11:in ': string contains null byte (ArgumentError) from ~/Library/Application Support/TextMate/Bundles/Ack.tmbundle/Support/lib/search_dialog.rb:11:in `show' from ~/Library/Application Support/TextMate/Bundles/Ack.tmbundle/Support/environment.rb:91:in `show_search_dialog' from -:2

Comments and changes to this ticket

  • Trevor Squires

    Trevor Squires November 16th, 2009 @ 05:24 PM

    Hey,

    I can only guess that the ack search history has somehow become corrupted, unless you're somehow searching for a string that contains a null byte (no idea how you'd do that).

    The search history is stored in textmate's preferences and you can remove it from the command line like this:

    defaults delete com.macromates.textmate ackHistory

    Regards, Trev

  • jduff

    jduff November 16th, 2009 @ 05:40 PM

    I tried doing that and it didn't seem to fix anything. I've also noticed that the normal textmate find in project isn't working anymore either (it just doesn't find any results). I'm guessing the two things are related.

  • jduff

    jduff November 16th, 2009 @ 05:44 PM

    Sorry for bothering you with this ticket, it seems like something got corrupted when i was messing around, managed to remove everything (all the plists etc) for textmate and reinstalling and everything works now. thanks for the help.

  • johnson

    johnson February 11th, 2010 @ 01:42 AM

    I had the same problem.
    defaults delete com.macromates.textmate ackHistory
    works for me

    Thanks for advice.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Ack Textmate Bundle

People watching this ticket

Pages