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

Cannot Refresh Sublime #719

Closed salesforcedev-apurva closed 8 years ago

salesforcedev-apurva commented 9 years ago

I keep getting this error message in my sublime - Server raised fault: 'INVALID_LOGIN: Invalid username, password, security token; or user locked out.'

Though all my credentials are correct and I am logged in successfully via mavensmate. I go in and open project via Open in Sublime. Then refresh and it keeps throwing this error. I cannot resume. Please help ASAP.

  1. Windows x64
  2. Mavensmate App - v.006 & Sublime Text 3
  3. I go in the app and open the relevant project. From the left menu, I click project & then Open in Sublime. Then refresh from server within sublime and it keeps throwing the above error.
  4. Server raised fault: 'INVALID_LOGIN: Invalid username, password, security token; or user locked out.'
  5. SFDC instance - cs40

Thanks so much!

joeferraro commented 9 years ago

Hi, can you please update your issue according to the guidelines? thanks! https://github.com/joeferraro/MavensMate-SublimeText/blob/master/CONTRIBUTING.md

salesforcedev-apurva commented 9 years ago

@joeferraro - Hey, I updated it accordingly!

joeferraro commented 9 years ago

HI @salesforcedev-apurva can you set up logging in mavensmate-app's settings panel, then paste relevant logs?

salesforcedev-apurva commented 9 years ago

@joeferraro - I did add the logs folder path to the settings in mavensmate app & sublime user settings. I still cannot see a log file there Can you help me out setting this up?

salesforcedev-apurva commented 9 years ago

@joeferraro - I updated my mavensmate to V009 now. I cannot edit a project. Keeps opening another tab with this error - TypeError: project.getDescribe is not a function at ViewHelper.getMetadataObjects (C:\Program Files\MavensMate\resources\app\node_modules\mavensmate\lib\mavensmate\ui\helper.js:84:27) at evalmachine.:302:1617 at Object.tpl (evalmachine.:335:3) at compiled (C:\Program Files\MavensMate\resources\app\node_modules\swig\lib\swig.js:658:18) at C:\Program Files\MavensMate\resources\app\node_modules\swig\lib\swig.js:598:20 at compileFile (C:\Program Files\MavensMate\resources\app\node_modules\swig\lib\swig.js:708:9) at View.renderFile [as engine](C:Program FilesMavensMateresourcesappnode_modulesswiglibswig.js:589:12) at View.render (C:\Program Files\MavensMate\resources\app\node_modules\express\lib\view.js:93:8) at EventEmitter.app.render (C:\Program Files\MavensMate\resources\app\node_modules\express\lib\application.js:530:10) at ServerResponse.res.render (C:\Program Files\MavensMate\resources\app\node_modules\express\lib\response.js:904:7) at ProjectController.edit (C:\Program Files\MavensMate\resources\app\node_modules\mavensmate\lib\mavensmate\ui\controllers\project.js:36:9) at UIServer.appRequestHandler (C:\Program Files\MavensMate\resources\app\node_modules\mavensmate\lib\mavensmate\ui\server.js:173:28) at Layer.handle [as handle_request](C:Program FilesMavensMateresourcesappnode_modulesexpresslibrouterlayer.js:82:5) at next (C:\Program Files\MavensMate\resources\app\node_modules\express\lib\router\route.js:100:13) at Route.dispatch (C:\Program Files\MavensMate\resources\app\node_modules\express\lib\router\route.js:81:3) at Layer.handle [as handle_request](C:Program FilesMavensMateresourcesappnode_modulesexpresslibrouterlayer.js:82:5)

salesforcedev-apurva commented 9 years ago

@joeferraro - This is the error log generated wen I refresh the project from sublime. 2015-10-08T21:40:46.374Z - info: initiated client: {"name":"mavensmate-app","isServer":true,"isNodeApp":false,"isCommandLine":false,"settings":{"type":"literal"}} 2015-10-08T21:40:47.264Z - debug: Processing request GET for URL: /app/home/index 2015-10-08T21:40:59.199Z - debug: Processing request GET for URL: /app/settings/index 2015-10-08T21:41:00.257Z - debug: query params v=3.1.0 2015-10-08T21:41:46.836Z - debug: Processing request POST for URL: /app/settings/update 2015-10-08T21:41:46.836Z - debug: post body settingValue="C:\Program Files\MavensMate\mavensmate.exe", settingKey=mm_mavensmate_app_path 2015-10-08T21:42:15.624Z - debug: Processing request GET for URL: /app/home/index?pid=LV6JZKD4BUJ4F7MAJWFRGWIRKOBW6VVY 2015-10-08T21:42:15.625Z - debug: query params pid=LV6JZKD4BUJ4F7MAJWFRGWIRKOBW6VVY 2015-10-08T21:42:15.626Z - debug: _findProjectPathById 2015-10-08T21:42:15.626Z - debug: LV6JZKD4BUJ4F7MAJWFRGWIRKOBW6VVY 2015-10-08T21:42:15.627Z - debug: 0=C:\workspace 2015-10-08T21:42:15.627Z - debug: C:\workspace 2015-10-08T21:42:15.635Z - debug: 0=C:\workspace\7-14-15 July II Release, 1=C:\workspace\Case Mgmnt - Deploy Classes, 2=C:\workspace\Deploy case mngmnt - Pre Launch, 3=C:\workspace\Deployment - Sales Process, 4=C:\workspace\IntelliS - Post Launch, 5=C:\workspace\July I Release - Preprod, 6=C:\workspace\July III Release - 2015, 7=C:\workspace\Lightning App 01, 8=C:\workspace\logs, 9=C:\workspace\Oct I 2015 Release, 10=C:\workspace\OpenX Sandbox, 11=C:\workspace\OX_Sprint1, 12=C:\workspace\Prelaunch - SSP, 13=C:\workspace\Production - Case Management Launch, 14=C:\workspace\Production - Sales Process Launch, 15=C:\workspace\Production - SSP Launch, 16=C:\workspace\Profiles and Roles, 17=C:\workspace\Release 4-14-2015, 18=C:\workspace\Release 4-28-2015, 19=C:\workspace\Release 5-12-2015, 20=C:\workspace\Release Aug - I, 21=C:\workspace\Release August 2015 - II, 22=C:\workspace\Release Sept 2015 - I, 23=C:\workspace\Roles I, 24=C:\workspace\Sandbox OpenX , 25=C:\workspace\Sprint 2, 26=C:\workspace\Sprint 2 - Copy, 27=C:\workspace\Sprint 2 - Deploy Changes, 28=C:\workspace\Sprint 3, 29=C:\workspace\Sprint 3 - Dev Only, 30=C:\workspace\Sprint1Deploy, 31=C:\workspace\Sprint2 2015-10-08T21:42:15.652Z - info: adding project by id ----> LV6JZKD4BUJ4F7MAJWFRGWIRKOBW6VVY 2015-10-08T21:42:15.652Z - info: path: C:\workspace\IntelliS - Post Launch 2015-10-08T21:42:15.654Z - debug: initing existing project ... 2015-10-08T21:42:15.655Z - debug: project name IntelliS - Post Launch 2015-10-08T21:42:15.656Z - debug: project path C:\workspace\IntelliS - Post Launch 2015-10-08T21:42:15.657Z - debug: initing package instance 2015-10-08T21:42:15.658Z - debug: deserializing: C:\workspace\IntelliS - Post Launch\src\package.xml 2015-10-08T21:42:15.689Z - debug: parsed package.xml to -->{"ApexClass":"","ApexComponent":"","ApexPage":"","ApexTrigger":""} 2015-10-08T21:42:15.690Z - debug: setting package subscription: 2015-10-08T21:42:15.691Z - debug: ApexClass=, ApexComponent=, ApexPage=, ApexTrigger=_ 2015-10-08T21:42:15.711Z - debug: initiating SalesforceClient: 2015-10-08T21:42:15.712Z - debug: initializing connection to salesforce ... 2015-10-08T21:42:15.713Z - debug: logging in to salesforce: https://test.salesforce.com/ 2015-10-08T21:42:19.312Z - debug: error logging in: INVALID_LOGIN: Invalid username, password, security token; or user locked out. 2015-10-08T21:42:19.314Z - error: Could not initiate existing Project instance: INVALID_LOGIN: Invalid username, password, security token; or user locked out. 2015-10-08T21:42:19.315Z - debug: Project added with invalid creds 2015-10-08T21:42:19.315Z - error: Project is not valid, redirecting to fix endpoint ... 2015-10-08T21:42:29.435Z - debug: Processing request GET for URL: /app/project/edit?pid=LV6JZKD4BUJ4F7MAJWFRGWIRKOBW6VVY 2015-10-08T21:42:29.435Z - debug: query params pid=LV6JZKD4BUJ4F7MAJWFRGWIRKOBW6VVY 2015-10-08T21:42:54.350Z - debug: Processing request GET for URL: /app/project/edit?pid=LV6JZKD4BUJ4F7MAJWFRGWIRKOBW6VVY 2015-10-08T21:42:54.350Z - debug: query params pid=LV6JZKD4BUJ4F7MAJWFRGWIRKOBW6VVY 2015-10-08T21:45:25.284Z - debug: Processing request POST for URL: /app/settings/update 2015-10-08T21:45:25.284Z - debug: post body settingValue="C:\Program Files (x86)\MavensMate\mavensmate.exe", settingKey=mm_mavensmate_app_path 2015-10-08T21:45:37.235Z - debug: Processing request GET for URL: /app/project/edit?pid=LV6JZKD4BUJ4F7MAJWFRGWIRKOBW6VVY 2015-10-08T21:45:37.235Z - debug: query params pid=LV6JZKD4BUJ4F7MAJWFRGWIRKOBW6VVY 2015-10-08T21:45:48.164Z - info: initiated client: {"name":"mavensmate-app","isServer":true,"isNodeApp":false,"isCommandLine":false,"settings":{"type":"literal"}} 2015-10-08T21:45:48.864Z - debug: Processing request GET for URL: /app/home/index 2015-10-08T21:46:15.851Z - info: initiated client: {"name":"mavensmate-app","isServer":true,"isNodeApp":false,"isCommandLine":false,"settings":{"type":"literal"}} 2015-10-08T21:46:16.935Z - debug: Processing request GET for URL: /app/home/index 2015-10-08T21:46:24.355Z - debug: Processing request GET for URL: /app/home/index?pid=LV6JZKD4BUJ4F7MAJWFRGWIRKOBW6VVY 2015-10-08T21:46:24.355Z - debug: query params pid=LV6JZKD4BUJ4F7MAJWFRGWIRKOBW6VVY 2015-10-08T21:46:24.360Z - debug: _findProjectPathById 2015-10-08T21:46:24.361Z - debug: LV6JZKD4BUJ4F7MAJWFRGWIRKOBW6VVY 2015-10-08T21:46:24.361Z - debug: 0=C:\workspace 2015-10-08T21:46:24.362Z - debug: C:\workspace 2015-10-08T21:46:24.370Z - debug: 0=C:\workspace\7-14-15 July II Release, 1=C:\workspace\Case Mgmnt - Deploy Classes, 2=C:\workspace\Deploy case mngmnt - Pre Launch, 3=C:\workspace\Deployment - Sales Process, 4=C:\workspace\IntelliS - Post Launch, 5=C:\workspace\July I Release - Preprod, 6=C:\workspace\July III Release - 2015, 7=C:\workspace\Lightning App 01, 8=C:\workspace\logs, 9=C:\workspace\Oct I 2015 Release, 10=C:\workspace\OpenX Sandbox, 11=C:\workspace\OX_Sprint1, 12=C:\workspace\Prelaunch - SSP, 13=C:\workspace\Production - Case Management Launch, 14=C:\workspace\Production - Sales Process Launch, 15=C:\workspace\Production - SSP Launch, 16=C:\workspace\Profiles and Roles, 17=C:\workspace\Release 4-14-2015, 18=C:\workspace\Release 4-28-2015, 19=C:\workspace\Release 5-12-2015, 20=C:\workspace\Release Aug - I, 21=C:\workspace\Release August 2015 - II, 22=C:\workspace\Release Sept 2015 - I, 23=C:\workspace\Roles I, 24=C:\workspace\Sandbox OpenX , 25=C:\workspace\Sprint 2, 26=C:\workspace\Sprint 2 - Copy, 27=C:\workspace\Sprint 2 - Deploy Changes, 28=C:\workspace\Sprint 3, 29=C:\workspace\Sprint 3 - Dev Only, 30=C:\workspace\Sprint1Deploy, 31=C:\workspace\Sprint2 2015-10-08T21:46:24.382Z - info: adding project by id ----> LV6JZKD4BUJ4F7MAJWFRGWIRKOBW6VVY 2015-10-08T21:46:24.382Z - info: path: C:\workspace\IntelliS - Post Launch 2015-10-08T21:46:24.383Z - debug: initing existing project ... 2015-10-08T21:46:24.385Z - debug: project name IntelliS - Post Launch 2015-10-08T21:46:24.385Z - debug: project path C:\workspace\IntelliS - Post Launch 2015-10-08T21:46:24.386Z - debug: initing package instance 2015-10-08T21:46:24.387Z - debug: deserializing: C:\workspace\IntelliS - Post Launch\src\package.xml 2015-10-08T21:46:24.424Z - debug: parsed package.xml to -->{"ApexClass":"","ApexComponent":"","ApexPage":"","ApexTrigger":""} 2015-10-08T21:46:24.426Z - debug: setting package subscription: 2015-10-08T21:46:24.426Z - debug: ApexClass=, ApexComponent=, ApexPage=, ApexTrigger=_ 2015-10-08T21:46:24.437Z - debug: initiating SalesforceClient: 2015-10-08T21:46:24.438Z - debug: initializing connection to salesforce ... 2015-10-08T21:46:24.439Z - debug: logging in to salesforce: https://test.salesforce.com/ 2015-10-08T21:46:27.986Z - debug: getting user information: 2015-10-08T21:46:28.369Z - debug: logged in successfully 2015-10-08T21:46:28.370Z - debug: configuring jsforce ... 2015-10-08T21:46:31.857Z - debug: writing local session 2015-10-08T21:46:32.821Z - debug: starting system streaming listener 2015-10-08T21:46:32.855Z - debug: streaming listener successfully configured 2015-10-08T21:46:38.230Z - debug: Processing request GET for URL: /execute?command=open-project&editor=sublime&pid=LV6JZKD4BUJ4F7MAJWFRGWIRKOBW6VVY 2015-10-08T21:46:38.230Z - debug: query params command=open-project, editor=sublime, pid=LV6JZKD4BUJ4F7MAJWFRGWIRKOBW6VVY 2015-10-08T21:46:38.234Z - info:

==================> executing command: open-project

2015-10-08T21:46:38.235Z - info: executeCommandForProject payload is: {"command":"open-project","editor":"sublime","pid":"LV6JZKD4BUJ4F7MAJWFRGWIRKOBW6VVY"} 2015-10-08T21:46:38.235Z - debug: command class is: OpenProjectCommand 2015-10-08T21:46:38.386Z - debug: editorExe close: 2015-10-08T21:46:38.387Z - debug: 0 2015-10-08T21:46:38.388Z - info: Looking for finish command(s) for open-project 2015-10-08T21:46:38.388Z - info: handling command result: 2015-10-08T21:46:38.388Z - debug: Success 2015-10-08T21:46:38.389Z - debug: finishing jobid: 0da31980-6e06-11e5-b297-63cb2e739fe0 2015-10-08T21:47:46.209Z - debug: Processing request GET for URL: /execute?command=open-project&editor=sublime&pid=LV6JZKD4BUJ4F7MAJWFRGWIRKOBW6VVY 2015-10-08T21:47:46.210Z - debug: query params command=open-project, editor=sublime, pid=LV6JZKD4BUJ4F7MAJWFRGWIRKOBW6VVY 2015-10-08T21:47:46.211Z - info:

==================> executing command: open-project

2015-10-08T21:47:46.211Z - info: executeCommandForProject payload is: {"command":"open-project","editor":"sublime","pid":"LV6JZKD4BUJ4F7MAJWFRGWIRKOBW6VVY"} 2015-10-08T21:47:46.211Z - debug: command class is: OpenProjectCommand

joeferraro commented 9 years ago

is this a project created before you updated to v7 of the ST plugin?

salesforcedev-apurva commented 9 years ago

yes. it was an old project.

salesforcedev-apurva commented 9 years ago

@joeferraro - I still cannot use sublime. I created a new project for the same sandbox now. Its giving this error - Operation: Your MavensMate project needs to be upgraded. Opening the upgrade UI. Timestamp: Fri, 09 Oct 2015 14:34:15 Result: [OPERATION FAILED]: Unable to retrieve password from the keychain store.