PeepOpen-Issues icon indicating copy to clipboard operation
PeepOpen-Issues copied to clipboard

No window from TextMate and PeepOpen 0.3.2

Open kirktso opened this issue 13 years ago • 8 comments

After typing this out, I saw my path to the project has a space in it. This maybe a duplicate of a closed issue (#214), but that was for v0.3.1.

My versions:

Peepopen v 0.3.2 TextMate Version 1.5.10 (1623)

When using command-T, the corresponding menu option highlights for a brief second in TextMate. In the Console.app, I see this:

4/14/11 7:15:34 PM      TextMate[24888] PeepOpen: Opening URL (null)

From another post, I saw the suggestion to try:

open 'peepopen://Users/my-user/path/to/project?editor=TextMate' 

When I do that, the window does open. The path I used on my system does have a space in it. It does not work from inside TextMate though.

I've tried the following:

  • deleting all plugins and peepopen and it's pref's file.
  • reinstalling the plugin from peepcode preferences.
  • only installing peepopen with no other plug-ins.

I did try another directory with no spaces and it does work as expected.

I think I had skipped a version. Things worked as expected in a previous version (guessing I started with 0.3.0, but I am not sure).

kirktso avatar Apr 14 '11 23:04 kirktso

Thanks for the detailed report. I thought we had killed that bug.

I'll try to reproduce it with the current PeepOpen and TextMate plugin.

topfunky avatar Apr 14 '11 23:04 topfunky

I'm getting the same error.

     PeepOpen: Opening URL (null)

I don't have spaces in my path though.

Is there any way I can temporarily download an older version?

latompa avatar Jul 21 '11 19:07 latompa

+1. Same error here. I'm on Lion (fresh install) if that matters.

cmer avatar Jul 26 '11 18:07 cmer

+1 too. Same error here on Lion.

CodeTalks avatar Sep 02 '11 02:09 CodeTalks

+1. Same here.

Setup: OS X Lion Textmate 1.5.10 (1631 build) Peepopen 0.3.5

geetfun avatar Sep 09 '11 23:09 geetfun

This should be fixed in my fork of the TextMate plugin available here: https://github.com/pnomolos/PeepOpen-EditorSupport

pnomolos avatar Sep 14 '11 17:09 pnomolos

I just installed PeepOpen on Lion, encountering the same issue: No search window opens on cmd-T and console shows "PeepOpen: Opening URL (null)". Pnomolos version of the TextMate plugin fixed this for me. Thanks Pnomolos!

Afterwards I was confronted with the fact that the PeepOpen plugin does not really understand TextMate project files. Instead it just searches within the directory the TextMate project file happens to be located in. If you have your TextMate project file outside your project directory, search therefore won't work. The solution is to create a new project file in your project's directory. You probably need to add it to your gitignore file (or similar) afterwards.

myrne avatar Oct 09 '11 14:10 myrne

What my variant did is if the project has a single folder as the root, it uses that as the project directory. Otherwise if the root is a file/multiple files it uses the parent directory of the first file as the directory to search in. Right now the PeepCode plugin takes a single directory to search in - I could look into feeding it multiple root directories.

pnomolos avatar Oct 09 '11 16:10 pnomolos