joeferraro / MavensMate-SublimeText

Sublime Text plugin for Salesforce developers. Aims to replace the Eclipse-based Force.com IDE.
http://mavensmate.com
GNU General Public License v3.0
290 stars 119 forks source link

"Whoops, unable to parse response" #469

Closed rickschmidt closed 10 years ago

rickschmidt commented 10 years ago

MavensMate for Sublime Text v3.5.4 SublimeText 3 Build 3065 OS X 10.7.5

It doesn't look like anything is even being returned. I've tried turning off the tooling api and reinstalling. This is happening for every org I've tried.

Loading MavensMate for Sublime Text MmInstaller --> checking for updated mm version Calling mm_interface OPERATION: refresh {'context': <MavensMate.mavensmate.RefreshActiveFileCommand object at 0x10ddeb190>, 'params': {'files': ['/Users/rschmidt/devOrg/devorg/src/classes/LABJS_SimpleController.cls']}} mm command: '/Users/rschmidt/Library/Application Support/Sublime Text 3/Packages/MavensMate/mm/mm' -c SUBLIME_TEXT_3 -o refresh {"workspace": "/Users/rschmidt/devOrg", "files": ["/Users/rschmidt/devOrg/devorg/src/classes/LABJS_SimpleController.cls"], "project_name": "devorg"} mm is up to date (0.2.3), no further action needed response from mm:

kylethornton commented 10 years ago

This has been brought up by several others. Your issue lies in the version of OS X that you are using. please see https://github.com/joeferraro/MavensMate-SublimeText/issues/461

Two solutions are provided there.

joeferraro commented 10 years ago

@rickschmidt specifically: https://github.com/joeferraro/MavensMate-SublimeText/issues/461#issuecomment-54185757

rickschmidt commented 10 years ago

Thanks but I'm still having that issue using option 3. I'm now running MavensMate for Sublime Text v3.5.0 and Mavensmate.app 0.38.6

Fwiw, the pip installer is failing. Below looks like the relevant part of the pip.log

reading manifest file 'pip-egg-info/mm.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'pip-egg-info/mm.egg-info/SOURCES.txt' Traceback (most recent call last): File "<string>", line 17, in <module> File "/private/var/folders/qv/t96w49dj0zzgn8kvg6hydkqrzg94vh/T/pip_build_rschmidt/mm/setup.py", line 50, in <module> st = os.stat('mm/bin/MavensMateWindowServer.app/Contents/MacOS/MavensMateWindowServer') OSError: [Errno 2] No such file or directory: 'mm/bin/MavensMateWindowServer.app/Contents/MacOS/MavensMateWindowServer' Complete output from command python setup.py egg_info: running egg_info

joeferraro commented 10 years ago

k thanks @rickschmidt , having a look

joeferraro commented 10 years ago

apologies, @rickschmidt, please try pip install mm again

rickschmidt commented 10 years ago

Thanks for all the help @joeferraro. The pip install goes through but mm is still throwing an error. pip 1.5.6 from /Library/Python/2.7/site-packages/pip-1.5.6-py2.7.egg (python 2.7) Python 2.7.1


  File "/usr/local/bin/mm", line 5, in <module>

from pkg_resources import load_entry_point


  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2603, in <module>

working_set.require(requires)


  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 666, in require

needed = self.resolve(parse_requirements(requirements))


  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 565, in resolve

raise DistributionNotFound(req) # XXX put more info here



pkg_resources.DistributionNotFound: requests````
joeferraro commented 10 years ago

what happens if you run pip install requests

rickschmidt commented 10 years ago

Requirement already satisfied (use --upgrade to upgrade): requests in /Library/Python/2.7/site-packages Cleaning up...