Code Monkey home page Code Monkey logo

mavensmate-sublimetext's People

Contributors

bdvorachek avatar brettbatie avatar ckoppelman avatar coldeagle avatar dhuckins avatar dkurylo avatar doublesharp avatar douglascayers avatar dschach avatar jamesmelville avatar jeveleth avatar joeferraro avatar jpmonette avatar mahavrilla avatar noeticpenguin avatar ralphcallaway avatar swervo avatar tresni avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mavensmate-sublimetext's Issues

Problem getting started

I seem to be missing something fundamental - I have installed MavensMate in Sublime Text on Mountain Lion, and the MavensMate menu shows in the menu bar. If I try New Project, the files are copied to the filesystem, including the config folder with the small settings file and object metadata. However beyond that I get nothing - no Sublime Text project, no way of editing files, compiling etc. I would have assumed a project window would open to show me the downloaded src files... any idea what I might be missing?

To refresh file from SF

Can you add a new feature which can refresh new code from SF?

Thank you very much for this plugin.

Mavensmate doesn't start

I have followed the procedure and have installed Sublime Text 2 and Mavensmate on Mountain Lion. When I start the Sublime text 2 I do see Mavensmate in the toolbar but when I enter the Project => New Project or Checkout Project nothing happens. I also changed the workspace and ruby setting as described. Installed Ruby version is 1.9.3

Any idea what can be the issue?

Thank you

Change Password no error.

Just found another issue. When the credential are not valid anymore, no hint that it's not working and no way to change the password. The worst is that everything seems to run fine. If I try to save/compile the file to Salesforce, then I got a success message!

Refresh from server fails

..
[OPERATION FAILED]:/Users/user/Library/Application Support/Sublime Text 2/Packages/MavensMate/support/lib/mavensmate.rb:422:in clean_dirs': undefined method+@' for "undefined method `[]' for nil:NilClass":String (NoMethodError)

from /Users/user/Library/Application Support/Sublime Text 2/Packages/MavensMate/commands/clean_directories.rb:8

MavensMate not responding while creating new Project

Hi,

Sorry to say that I still didn't start using the app. Even if I am now able to start the New Project creation wizard, I cannot complete it. After populating name, username and password and click on Create Project, complete form goes gray and loading indicator appears but it never ends, just hanging for minutes.

The same behavior is when just click on tab Metadata. Loading indicator appears and never get chance to choose metadata or switch to some other tab again. The behavior is the same no mater if I enter some data on Details or Version Control tab.

Hope this can help resolving the issue.

Thank you in advance

Mavens Mate apex test running is throwing json-ified stack trace.

First off, MavensMate is the Bomb-digity yo!

Running Apex unit tests (any org, any test) results in json-ified output like that below instead of the sexy failure / success message one expects from the amazingness that is mavensMate.

additionally, no coverage information is listed, etc.

I'm using the latest version of the gem, and i ran update mavensmate early this morning (10/1) As you can see, I'm hitting the rvm version of ruby currently at 1.9.3-p125

--start output--
{"success":false,"message":"undefined method []' for nil:NilClass(erb):56:inblock in render_to_string'\n(erb):55:in each'\n(erb):55:inrender_to_string'\n/Users/kpoorman/.rvm/rubies/ruby-1.9.3-p125-perf/lib/ruby/1.9.1/erb.rb:838:in eval'\n/Users/kpoorman/.rvm/rubies/ruby-1.9.3-p125-perf/lib/ruby/1.9.1/erb.rb:838:inresult'\n/Users/kpoorman/Library/Application Support/Sublime Text 2/Packages/MavensMate/support/tmvc/lib/application_controller.rb:146:in render_to_string'\n/Users/kpoorman/Library/Application Support/Sublime Text 2/Packages/MavensMate/support/lib/local_server.rb:113:indo_POST'\n/Users/kpoorman/.rvm/rubies/ruby-1.9.3-p125-perf/lib/ruby/1.9.1/webrick/httpservlet/abstract.rb:106:in service'\n/Users/kpoorman/.rvm/rubies/ruby-1.9.3-p125-perf/lib/ruby/1.9.1/webrick/httpserver.rb:138:inservice'\n/Users/kpoorman/.rvm/rubies/ruby-1.9.3-p125-perf/lib/ruby/1.9.1/webrick/httpserver.rb:94:in run'\n/Users/kpoorman/.rvm/rubies/ruby-1.9.3-p125-perf/lib/ruby/1.9.1/webrick/server.rb:191:inblock in start_thread'
{:run_tests_response=>{:result=>{:failures=>{:id=>"01pW0000000CusXIAS", :message=>"line 55, column 51: Constructor not defined: [AgencyGridTemplateBuilderController].()", :method_name=>nil, :name=>"AgencyGridTemplateBuilderControllerTest", :namespace=>nil, :stack_trace=>nil, :time=>"-1.0", :type=>"Class"}, :num_failures=>"1", :num_tests_run=>"0", :total_time=>"0.0"}}, :log=>{:debugging_info=>{:debug_log=>nil}}}"}

Edit project clearing out metadata

I tried to use edit project to add metadata. The metadata panel was blank when it popped up and when clicking update metadata, actually wiped out the project.

Would like to save multiple open files

As a developer , if i make a change to two different files and this changes a method signature in one and the calling method in another, i need to save both files in one deploy request.

I cannot save them one at a time as one is always invalid based on the previously deployed version of the other.

example , change a method in one file to take a parameter, and in another file to call it with a parameter, now i must save both at the same time.

cannot figure how to do this.

thanks

Cannot create new project

When I attempt to create a new project, I get the following error:

(INVALID_LOGIN) INVALID_LOGIN: Invalid username, password, security token; or user locked out.

SFDC Settings:
Project Name => Sandbox5
Salesforce Username => [email protected]
Salesforce Password => password
Server URL => test.salesforce.com

Local info:
ruby 1.8.7 (2011-12-28 patchlevel 357) [universal-darwin11.0]
"mm_workspace": "/Users/joshe/Projects"

ran the following about 30 min ago

ruby < <(curl -s https://raw.github.com/joeferraro/MavensMate-SublimeText/master/install.rb) 

Support Pre-release Environments

Hi Joe, thanks for a great piece of software!

In the eclipse plugin there is the option of working with projects hosted on the salesforce pre-release environment (I believe the login endpoint is prerellogin.pre.salesforce.com). It would be great if we could also work with projects hosted on these servers in MavensMate.

Run Apex Tests error

I'm having trouble getting Run Apex Tests to work. It opens and I can select a test or tests, but after clicking Run Tests, in the Test Results I get this:

{"success":false,"message":"undefined method []' for nil:NilClass(erb):56:inblock in render_to_string'\n(erb):55:in each'\n(erb):55:inrender_to_string'\n/Users/me/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/erb.rb:838:in eval'\n/Users/me/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/erb.rb:838:inresult'\n/Users/me/Library/Application Support/Sublime Text 2/Packages/MavensMate/support/tmvc/lib/application_controller.rb:146:in render_to_string'\n/Users/me/Library/Application Support/Sublime Text 2/Packages/MavensMate/support/lib/local_server.rb:83:indo_POST'\n/Users/me/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpservlet/abstract.rb:106:in service'\n/Users/me/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:inservice'\n/Users/me/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in run'\n/Users/me/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:inblock in start_thread'"}

In case it's relevant, I am working with a managed package. Pacman is working great, though.

Deploy to server: does not show the error lines during failed deployments

Joe,

Great plugin. I stopped using Eclipse IDE and started using yours. But I have an issue with the deployments.

When you deploy to server, Force.com IDE will show the error lines in the class file that is causing the deployment to fail.
=======>

System.NullPointerException: Attempt to de-reference a null object
Class.classname.methodname: line 12112, column x

=======>

From mavensmate plugin, it simply says that the deployment failed with the following message:

System.NullPointerException: Attempt to de-reference a null object

I wish it would also list where the error occured, but it does not.

Hope this would fixed soon.

Thanks,
Venkat Polisetti

Install Help

I'm installing on OSX and running into problems, first command is

$ sudo gem install mavensmate

this returns the following:

ERROR: Error installing mavensmate:
ERROR: Failed to build gem native extension.

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb
mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h

looks like i need several more things before i can run the install. This is a new MacBook with Lion installed 10.7.4 i think

All Tests Results

When I select all tests to run, test runs for a while but nothing is displayed in Test Results, Class Coverage, Warning or Logs. This happens only when I run all tests.

Created projects have no name

I hope I'm not missing something obvious here, but the projects created by MM don't have a name, as far as ST goes. This has two undesirable effects:

1: The title bar for a project's window doesn't say what the project is.
2: If the project somehow gets cleared from the "Recent Projects" menu item in ST, I can't see any way to get the project opened again, since the dot files that MM creates for the sublime-project are invisible in the file picker.

Am I doing something wrong?

Cannot create a new project in www.salesforce.com

ST 2217
Ruby 1.9.3-p194 via rvm

When creating a new project in MM, everything goes well if I'm using the test.salesforce.com endpoint. If I select the www endpoint, and enter ANY credentials (correct or not), and the select the metadata tag, the window grays out (as expected), and the spinner is show (as expected). The problem is, they never go away and allow me to select the metadata I want. They just sit there until I kill the MM window.

Deploy failure results not displayed when deploying to orgs with custom domains.

Trying to deploy some code to our corporate org, which has a custom domain name. It turns out there was a unit test failure. However, all that happened in MM was the spinner going, then stopping. No results, or indication of failure of any kind.

I couldn't figure out what was wrong, so I eventually gave up and deployed it with known-working MM for Textmate. That revealed the unit test error, which I corrected.

After correcting this unit test error, I could successfully deploy from MM - SublimeText again.

upgrading broke the plugin

Hey I ran the command to update MM, and now running it results in:

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require': /Users/evan/Library/Application Support/Sublime Text 2/Packages/MavensMate/support/lib/client.rb:204: syntax error, unexpected ')', expecting '=' (SyntaxError) /Users/evan/Library/Application Support/Sublime Text 2/Packages/MavensMate/support/lib/client.rb:654: syntax error, unexpected kEND, expecting $end from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:inrequire' from /Users/evan/Library/Application Support/Sublime Text 2/Packages/MavensMate/support/lib/mavensmate.rb:5 from /Users/evan/Library/Application Support/Sublime Text 2/Packages/MavensMate/support/app/controllers/execute_controller.rb:2:in require' from /Users/evan/Library/Application Support/Sublime Text 2/Packages/MavensMate/support/app/controllers/execute_controller.rb:2 from /Users/evan/Library/Application Support/Sublime Text 2/Packages/MavensMate/commands/execute_anonymous.rb:5:inrequire' from /Users/evan/Library/Application Support/Sublime Text 2/Packages/MavensMate/commands/execute_anonymous.rb:5

I tried uninstall and reinstall, same problem. Ideas?

Permission Denied while creating a new project!

When I create a new project using MavensMate it throws me a Permission Denied error. The error looks like the following:

Permission Denied - //'Name of the project'

Has anyone encountered this so far?

Ability to fetch metadata that you didn't create.

Joe you legend of a man,

I'm using this almost exclusively now. I have a request though. In a team dev env I might need to fetch someone else's code from the server. In Eclipse this would mean subscribing to the metadata and then letting it download, or if I'm subscribed to "*" then clicking on the folder and selecting "Refresh from server".

Of course this can be done through source control but it's come up a few times so I thought I'd ask for it :)

mavensmate and rbenv

Hi,

Seen MavensMate on a friend computer and would love to get it installed on my computer. I got a slightly different setup with rbenv and not rvm.

After install, trying to open a project I got such error:

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require': no such file to load -- json (LoadError) from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:inrequire' from /Users/vinc/Library/Application Support/Sublime Text 2/Packages/MavensMate/support/lib/mavensmate.rb:4 from /Users/vinc/Library/Application Support/Sublime Text 2/Packages/MavensMate/support/app/controllers/project_controller.rb:2:in require' from /Users/vinc/Library/Application Support/Sublime Text 2/Packages/MavensMate/support/app/controllers/project_controller.rb:2 from /Users/vinc/Library/Application Support/Sublime Text 2/Packages/MavensMate/commands/new_project.rb:5:inrequire' from /Users/vinc/Library/Application Support/Sublime Text 2/Packages/MavensMate/commands/new_project.rb:5

I guess my path to json gem is wrong but it's related to mavensmate install folder.

any idea how to fix that ?

Tks

Can't edit a project when my password has dodgy characters in it

Q7MUz>AThtPm(CvsL2Yv

One the above characters is causing a problem (probably the >). I had the problem with a different org but that was sorted by changing passwords. It seems like the password is lost after the initial download.

Unfortunately, I can't change this one.

Unit Test Problem

I click on Run Apex Tests, select a test and click on Run Tests but I don't see any new tabs for the result (as on the screenshots, or as in the TextMate version of this plugin). I see the loading symbol during a while but then nothing happens. I'm not sure what I'm doing wrong...

Install help please - New to Mac

Ok, I just bought a mac book air.

I have the xCode command line utilities installed. But now when I type gem install mavensmate I get the following error after a while

You don't have write permissions into the /Library/Ruby/Gems/1.8 directory.

Can I get a quick step by step. I am on Mountain Lion. (Oh, I have Sublime Text Editor Installed)

Spelling Error on project checkout

When checking out a project from source control, the "I'm working please wait" graphic comes up with"Checking project our from source control". "our" should probably be "out".

Status of "compile active file" requires scroll down in console

It's a small thing but if the console is full of statements then hitting "compile active file" outputs:

Compiling => ...
>>>>>>>>>>>>>>>

But the result of the compilation is below the fold and I need to scroll with my mouse to reveal the result. Might be a quirk of Sublime but just in case it isn't please could you make it show the result too :)

New Project Wizard not working

I installed mavensmate by following the exact instructions on OSX 10.6.8 , ruby 1.9.3 with sublime version 2.0. I do see a mavensmate menu but when I go to Project->New Project I see no wizard popping up. I did look at the debug log by using ctrl + ~ and I see no entries made. However I do see entries made (IndexError: list index out of range) when I try accessing other menu items (like Edit Project). Can some one help me out please?

Checkout Project not working

I am very, very excited by this project. Thanks for putting it together!

I'm finding that the Checkout Project item in the MavensMate menu isn't working for me. Using an existing git repo, it just spins forever.

It's possible to still use some of the functionality by using New Project, and then copying config/, .tm_properties, and .sublime-project over to an existing cloned repo, but it seems like when I do that the Metadata menu items aren't available.

Maybe I'm not understanding the right way to use it? I'm not sure where to start looking but if there's any info that would help, I'd be happy to provide it.

Exception when last character in password is &

I noticed that I stopped getting this exception when I changed my password which previously contained a ampersand '&' character as the last character in the password.

(UNKNOWN_EXCEPTION) UNKNOWN_EXCEPTION: The entity name must immediately follow the '&' in the entity reference.

Cannot compile for Sandbox environment

When I attempt to save (or compile) a file in Sandbox, I get the following error.

[OPERATION FAILED]:(sf:INVALID_LOGIN) INVALID_LOGIN: Invalid username, password, security token; or user locked out.

I'm able to create the project with the same credentials I use to login to my SFDC sandbox.**

I'm running 1.9.3.

**I attempted to append my token to my pw when I created the project, and I got an invalid login error; it was only when I created the sandbox project with just my pw that I succeeded in creating the project.

Issue Creating New Project

I'm trying to create a new project that maps to my dev instance. Unfortunately, I get the following error:

SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed

I'm using my dev credentials (username and password) and the Server URL is test.salesforce.com, to no avail.

I'm sure the issue is PEBKAC, but I can't quite pin it down.

Install failed

Hi Joesph,

After I installed the MavensMate, when I tried to create a new project. I always get this error.

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require': no such file to load -- json (LoadError) from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:inrequire' from /Users/yuAn/Library/Application Support/Sublime Text 2/Packages/MavensMate/support/lib/mavensmate.rb:4 from /Users/yuAn/Library/Application Support/Sublime Text 2/Packages/MavensMate/support/app/controllers/project_controller.rb:2:in require' from /Users/yuAn/Library/Application Support/Sublime Text 2/Packages/MavensMate/support/app/controllers/project_controller.rb:2 from /Users/yuAn/Library/Application Support/Sublime Text 2/Packages/MavensMate/commands/new_project.rb:5:inrequire' from /Users/yuAn/Library/Application Support/Sublime Text 2/Packages/MavensMate/commands/new_project.rb:5

Do you have any idea about this? Is it missing something? I tried several time, and I got this error every time.

undefined method `configure' for Savon:Module

HI
When I save a file It shows "undefined method configure' for Savon:Module" .I use ruby 1.9.3. Below is the detail info: OPERATION FAILED]:undefined methodconfigure' for Savon:Module/Users/bruceyue001/Library/Application Support/Sublime Text 2/Packages/MavensMate/support/lib/client.rb:40:in initialize'/Users/bruceyue001/Library/Application Support/Sublime Text 2/Packages/MavensMate/support/lib/mavensmate.rb:273:innew'/Users/bruceyue001/Library/Application Support/Sublime Text 2/Packages/MavensMate/support/lib/mavensmate.rb:273:in save'/Users/bruceyue001/Library/Application Support/Sublime Text 2/Packages/MavensMate/commands/compile_file.rb:8:in

'

When I use ruby 1.8.7, there is no problem.

Cannot create New Project

Hi,
I'm running into the following issue when trying to create a new project: "undefined method `end_with?' for nil:NilClass". I've tested also with the [email protected] and the error is still there.
Ruby ver: ruby 1.9.2, rvm 1.15.9, mm_ruby variable set to ~/.rvm/bin/rvm-auto-ruby in user settings file.
Thanks!

Delete metadata from production org

Try to delete a class using "Delete Selected Files from Salesforce Server" and get the error message:

[OPERATION FAILED]:(sf:INVALID_OPERATION) INVALID_OPERATION: rollbackOnError option must be true on a production org

Retrieve metadata of standard Objects

It's unfortunately not possible to retrieve the metadata of standard objects. In "Custom Object", standard objects appear in it (which is a little confusing) but when I click on Update Project Metadata, the only retrieved Objects I see are standard Objects.

MavensMate.app source?

Filing an issue, but this may be a case of "dude, you need more coffee".

Where can I find the source of the MavensMate.app app?

Can't compile or refresh from server

Using 1.9.3-p194 via rvm on Lion. Set mm_ruby to my rvm_auto_ruby.

I can create new projects, run unit tests, edit projects, and even create new apex classes and pages. But I can't refresh from the server, nor can I compile to the server. The dots just grow forever in the debug console, and the ruby process just churns, taking 100% of the CPU, in Activity Monitor.

I've been moving a lot of projects over from TM in the last few days, and haven't been doing much compiling, so I'm not sure how long things have been wrong.

Project Checkout Fails -- "{path}/config" not found

When I attempt to checkout a project from a Github repo, it fails with a big red error message that the config directory in my workspace isn't found. I can create a new project. I can also checkout the Github repo from the command line.

For reference, I'm attempting to work with this repo:
https://github.com/ReidCarlberg/Milestones-PM

Which is just a fork of the ForceDotComLabs repo.

This is a fresh install of MM, Ruby 1.9.3

Deploying to an org sometimes doesn't work

This is kind of a follow up to an issue I closed a few weeks ago. In some cases, a deploy attempt will finish in MM without giving any results. That is, the blue spinny thing will just go away, and we'll be back at the Metadata tab, with the results tab unpopulated.

This happens during both successful and unsuccessful deploys. If unsuccessful, I never get any reason why is failed. If successful, I have no way of knowing that it was, until I check the metadata in the destination org.

In my earlier issue, I thought it had to do with orgs with custom domains, but I've noticed it happening on other, regular orgs lately too.

Deployment Timeout

I'm deploying code to my production org which has over 300 unit tests to run. Deployments take anywhere from 5-20 minutes, depending on time of day. After about 30 seconds the deployment window times out and deployment results are never received. The deployments still seem to go through but no results are returned.

Also I noticed that when deploying, under the Monitor Deployments section in Salesforce it always says "0 components" regardless of how many files I'm deploying.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.