JulianEberius / Subclim

Eclipse Java completion and refactoring powers in Sublime Text 2 using Eclim
117 stars 20 forks source link

Must contain only strings. #7

Closed mrmurphy closed 12 years ago

mrmurphy commented 12 years ago

Hey! Thanks for the package, I'd love to get it working, but when I try to get a completion, ST2 gives me this:

Traceback (most recent call last): File "./subclim_plugin.py", line 29, in worker File "./subclim_plugin.py", line 538, in async_validate_task File "./eclim.py", line 120, in update_java_src File "./eclim.py", line 56, in call_eclim File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 623, in __init__ errread, errwrite) File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 1141, in _execute_child raise child_exception TypeError: execv() arg 2 must contain only strings

I'm on Mountain Lion. I just installed the latest Eclim, and I'm running the latest ST2. Thanks!

JulianEberius commented 12 years ago

My guess is that the path to the eclim executable is not set correctly. From the installation instructions:

"Then, in Sublime Text run the command set_eclim_path via the command palette to tell ST2 where to find eclim."

Just open the command palette and type "eclim" and you will find it.

mrmurphy commented 12 years ago

Sorry, I forgot to mention that I had already set that, three or four times in fact! Is there a way for me to check and make sure that it was successfully set?

Murphy Randle Python Gumshoe & Git Enthusiast http://www.MurphyRandle.com

On Wednesday, October 10, 2012 at 2:28 AM, Julian Eberius wrote:

My guess is that the path to the eclim executable is not set correctly. From the installation instructions: "Then, in Sublime Text run the command set_eclim_path via the command palette to tell ST2 where to find eclim." Just open the command palette and type "eclim" and you will find it.

— Reply to this email directly or view it on GitHub (https://github.com/JulianEberius/Subclim/issues/7#issuecomment-9293706).

mrmurphy commented 12 years ago

I think I figured out what's wrong. I'm working on an eclipse project that's of type "use custom ant file". I think this means that there's no .eclipse project file for the plugin to find.

mrmurphy commented 12 years ago

Yep, that was it. I had to restructure my Eclipse project so that all of the . files were in the right directory. Thanks!