Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Exception when running Ack in Project

#22

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

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

State: new
Milestone: none
Assigned to: Trevor Squires Trevor Squires

Activity

  1. Trevor Squires
    Trevor Squires

    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

    November 16th, 2009 @ 05:24 PM

  2. jduff
    jduff

    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.

    November 16th, 2009 @ 05:40 PM

  3. jduff
    jduff

    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.

    November 16th, 2009 @ 05:44 PM

  4. johnson
    johnson

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

    Thanks for advice.

    February 11th, 2010 @ 01:42 AM

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.