Closed ernopp closed 11 years ago
Hey Joe - opening this one back up.
Receiving the same error upon attempting to build:
Timestamp: Wed, 23 Oct 2013 08:22:33 Result: [OPERATION FAILED]: Whoops, unable to parse the response. Please report this issue at https://github.com/joeferraro/MavensMate-SublimeText
MavensMate.app 0.35.6 Sublime: 3 --build 3047
config is .describe, .session, .settings, .apex_file_properties, .apex_script, .debug, .org_connections
project settings:
{ "username": "left blank int.", "environment": "sandbox", "project_name": "left blank int.", "workspace": "/Users/matthewparker/Workspace1/Fonteva1", "org_url": "", "namespace": "", "id": "4HB11YML5TL7RB84LSN6VKDPKUCL0TIZ", "metadata_container": "1dcZ000000005nvIAA", "subscription": [ "ApexClass", "ApexComponent", "ApexPage", "ApexTrigger", "CustomLabels", "CustomObject", "CustomTab", "HomePageComponent", "HomePageLayout", "InstalledPackage", "PermissionSet", "Profile", "Settings", "StaticResource", "Workflow" ] }
user settings: /*
MavensMate settings NOTE: MavensMate user settings will override MavensMate default settings To override default MavensMate settings, modify user-specific settings (MavensMate --> Open --> Settings - User) \ Most changes require a SublimeText restart * /
{ //set to absolute location where you wish your MavensMate project to reside //if the location does not exist, MavensMate will attempt to create it //for example: "/Users/username/Documents/workspaces/mavensmate" (notice the absolute path) //WINDOWS USERS: it's probably best to set this like so: C:\path\to\your\workspace "mm_workspace" : "/Users/matthewparker/Workspace1/Fonteva1",
//set to desired Salesforce.com API version (tooling api functionality requires 27.0+)
"mm_api_version" : "29.0",
//if true, MavensMate will automatically hide the debug panel upon a successful operation
"mm_hide_panel_on_success" : true,
//the amount of time (in seconds) before MavensMate hides the debug panel upon a successful operation
"mm_hide_panel_time" : 0,
//if true, MavensMate will capture the save file operation and compile to the Salesforce.com server automatically
"mm_compile_on_save" : true,
//if true, MavensMate will check if the lastmodifiedbyid of apex metadata is different than running user
"mm_compile_check_conflicts": false,
//if true, MavensMate will present local/server diff view when conflict is found for the purposes of merging changes (beta)
"mm_diff_server_conflicts": true,
//if true, MavensMate will scroll to the line of a reported exception when there is a compilation error
"mm_compile_scroll_to_error": true,
//if true, MavensMate will rollback compiles when an error is encountered
"mm_compile_rollback_on_error": true,
//if true, MavensMate will hook into the Sublime Text completions API to offer code assistance
"mm_autocomplete" : true,
//if true, MavensMate will check for updates when Sublime Text starts
"mm_check_for_updates" : true,
//possible values: CRITICAL, ERROR, WARNING, DEBUG, INFO
"mm_log_level" : "INFO",
//location where mm debug log should be placed (must be existing path)
"mm_log_location" : "",
//if true, mavensmate will send usage statistics (NEVER sensitive information like usernames/passwords/etc) for development, reporting, & debugging purposes (see util.py for source of the call)
"mm_send_usage_statistics" : true,
//OSX only: the location of MavensMate.app
"mm_app_location" : "/Applications/MavensMate.app",
//OSX only: the location of the mm command line tool (must be inside MavensMate.app)
"mm_location" : "/Applications/MavensMate.app/Contents/Resources/mm/mm",
//linux/windows users: ignore this setting
"mm_use_browser_as_ui" : false,
//(advanced users only) set to location of your python 2.7 install (mm_debug_mode must be set to true)
"mm_python_location" : "/usr/bin/python",
//(advanced users only) set to true if you want to use system python (mm_python_location must be set)
"mm_debug_mode" : false,
//linux users: the location of your "subl" executable
"mm_subl_location" : "/usr/local/bin/subl",
//windows users: set to the location of your sublime_text.exe
"mm_windows_subl_location" : "C:/Program Files/Sublime Text 3/sublime_text.exe",
//specify a path for custom wsdl files here. wsdls must be named: apex.xml, partner.xml, metadata.xml, tooling.xml
"mm_wsdl_path" : "",
//OSX only: the location of your Sublime Text install
"mm_plugin_client_location" : "/Applications",
//set to true to use the tooling api to compile apex metadata (if you're experiencing any compile issues, set this to false to use the metadata api)
"mm_compile_with_tooling_api" : true,
//set to true if you want a history of your executed apex scripts in project/apex-scripts
"mm_log_anonymous_apex" : true,
//set to true to play notification sounds
"mm_play_sounds" : true,
//local server port
"mm_server_port" : 9876,
//mavensmate will attempt to compile when savings files with the following extensions
"mm_apex_file_extensions": [
".page",
".component",
".cls",
".object",
".trigger",
".layout",
".resource",
".remoteSite",
".labels",
".app",
".dashboard",
".permissionset",
".workflow",
".email",
".profile",
".scf",
".queue",
".reportType",
".report",
".weblink",
".tab",
".letter",
".role",
".homePageComponent",
".homePageLayout",
".objectTranslation",
".flow",
".datacategorygroup",
".snapshot",
".site",
".sharingRules",
".settings",
".callCenter",
".community",
".authProvider",
".customApplicationComponent",
".quickAction",
".approvalProcess"
],
"mm_use_github_templates" : true,
"mm_default_apex_templates_map" : {
"ApexClass" :
{
"test" : "UnitTestApexClass.html",
"exception" : "ExceptionApexClass.html",
"batch" : "BatchApexClass.html",
"schedulable" : "SchedulableApexClass.html",
"email" : "EmailServiceApexClass.html",
"url" : "UrlRewriterApexClass.html",
"webservice" : "WebserviceClass.html",
"empty" : "ApexClassNoConstructor.html",
"default" : "ApexClass.html"
},
"ApexTrigger" :
{
"default" : "ApexTrigger.html"
},
"ApexComponent" :
{
"default" : "ApexComponent.html"
},
"ApexPage" :
{
"default" : "ApexPage.html"
}
},
//if true, MavensMate.app will start when Sublime Text starts
"mm_start_app_on_st_startup" : true,
//the default metadata available in a project (may be set on a per-project basis in the "advanced" tab of the new and edit project UIs)
"mm_default_subscription" : [
"ApexClass",
"ApexComponent",
"ApexPage",
"ApexTrigger",
"StaticResource",
"CustomObject",
"Profile"
],
//ignore metadata from managed packages (highly recommended)
"mm_ignore_managed_metadata" : true,
//the number of the most recent apex debug logs to download during the "fetch logs" command
"mm_number_of_logs_limit" : 10,
//choices: "metadata" or "apex". "metadata" is recommended, however if your tests are taking forever to run, try switching to "apex"
//we're working on async testing api support in 0.36
"mm_test_api" : "metadata",
//if true, mavensmate will store all deployment packages in your project's "deploy" directory
"mm_archive_deployments" : true
}
@joeferraro Updated to mavensmate.app 0.35.7, reloaded the plugin, restarted sublime, restarted the app...but I can't for life of me figure out what the response failure issue is:
project and settings files are the same as my post above this one.
Thanks man
Can you turn plugin logging on and paste your log(s): http://mavensmate.com/Plugins/Sublime_Text/Plugin_Logging
Also, what is in the Sublime Text console?
{u'metadata_server_url': u'https://cs11.salesforce.com/services/Soap/m/29.0/00DZ0000001DdUv', u'endpoint': u'https://test.salesforce.com/services/Soap/u/28.0', u'user_id': u'005Z0000001M8L1IAK', u'server_url': u'https://cs11.salesforce.com/services/Soap/u/29.0/00DZ0000001DdUv', u'sid': u'00DZ0000001DdUv!AQkAQP858fJycBeuB6wmZ4Aqk4mH5mrH6ndxGkIRz29LTA4Z4Aus_0fCBq5tjW_me93I.AIDO969rbSmq9VOXl_dPc2PQgnP'} {'username': u'mparker@.dev', 'endpoint': u'https://test.salesforce.com/services/Soap/u/28.0', 'user_id': u'005Z0000001M8L1IAK', 'metadata_server_url': u'https://cs11.salesforce.com/services/Soap/m/29.0/00DZ0000001DdUv', 'org_url': u'', 'server_url': u'https://cs11.salesforce.com/services/Soap/u/29.0/00DZ0000001DdUv', 'org_type': u'sandbox', 'sid': u'00DZ0000001DdUv!AQkAQP858fJycBeuB6wmZ4Aqk4mH5mrH6ndxGkIRz29LTA4Z4Aus_0fCBq5tjW_me93I.AIDO969rbSmq9VOXl_dPc2PQgnP', 'password': 'Fonteva703ngv6Po2qPdX5TOhHVKpo4IGJ'} GETTING USER INFO sending to (https://cs11.salesforce.com/services/Soap/u/29.0/00DZ0000001DdUv) message: <?xml version="1.0" encoding="UTF-8"?>
setting compile_with_tooling_api
to false
will likely help you in the short term, but I'm unable to diagnose any issue based on the log you provided.
Brilliant! I'll keep looking into the root cause, but at least I can build now.
Thanks
Just a friendly FYI, I'm having the same issue on MM 3.5.0. This is on OSX with Salesforce Spring '14.
Not the end of the world, but I'm sure the issue can be tackled.
@joeferraro I am getting following result in console while creating a new project using mavensmate - (Note : I am using Windows 7 (32-bit) and sublime text 3 portable version)
MavensMate for Sublime Text v4.0.4
Operation: Handling requested operation... Timestamp: Wed, 22 Apr 2015 23:58:52 Result: [OPERATION FAILED]: Whoops, unable to parse the response. Please enable logging (http://mavensmate.com/Plugins/Sublime_Text/Plugin_Logging) and post relevant log(s) to a new issue at https://github.com/joeferraro/MavensMate-SublimeText [RESPONSE FROM MAVENSMATE]: Traceback (most recent call last):
File "
Could you please help me on this to resolve?
@pawarmangesh I posted a response to your original issue on #566 it looks like you have a bad log path which is breaking things, fix that and you should be good
this is a closed issue, so no one is really looking at them, no need to post the same issue repeatedly
Hi,
Once in a while when I save a class I see this error message appear in the console. I can always try again to save or wait a bit and the class gets saved so it's not a big deal, but since the message says 'please report this issue' I thought I would..
Compiling: TechnologiesUpdater.cls Timestamp: Wed, 11 Sep 2013 14:13:18 Result: [OPERATION FAILED]: Whoops, unable to parse the response. Please report this issue at https://github.com/joeferraro/MavensMate-SublimeText [RESPONSE FROM MAVENSMATE]: Traceback (most recent call last):
File "", line 301, in
File "", line 53, in main
File "", line 104, in compile_selected_metadata
File "/Users/josephferraro/Development/Python/mavensmate/tools/pyinstaller-dev/mm/build/pyi.darwin/mm/out00-PYZ.pyz/lib.mm_project", line 340, in compile_selected_metadata
File "/Users/josephferraro/Development/Python/mavensmate/tools/pyinstaller-dev/mm/build/pyi.darwin/mm/out00-PYZ.pyz/lib.mm_client", line 474, in compile_with_tooling_api
TypeError: list indices must be integers, not str