RubyMine does not remember subversion credentials

Hi,

I installed RubyMine 1.0 and used it to check out our project from subversion via http.
Problem is that I have to type in my password 5 to 10 times with every action (update, commit, show history and so on).

I'm using Windows Vista Ultimate (64bit), so I thought, it might be a problem with user rights.
Tried to change the location, where subversion stores its data and it seems that RubyMine is writing some information in this directory.

Has somebody an idea for a workaround?

14 comments
Comment actions Permalink

Hello neogrande,

I installed RubyMine 1.0 and used it to check out our project from subversion via http.
Problem is that I have to type in my password 5 to 10 times with every action (update, commit, show history and so on).


I'm using Windows Vista Ultimate (64bit), so I thought, it might be a problem with user rights.
Tried to change the location, where subversion stores its data and it seems that RubyMine is writing some information in this directory.


Has somebody an idea for a workaround?


Do you have permissions for writing data to folder set up in File | Settings | Version control | VCSs | Subversion | Subversion configuration directory or you have an option Use system default Subversion configuration directory enabled?
If you can commit, update etc using command line svn client, please enable Use system default Subversion configuration directory option. RubyMine should pick up all the credentials from there.

Another question is whether you use proxy server?

And the last one: could you please attach RubyMine log files? Log files can be found at $USER_HOME$\RubyMine10\system\logs to ensure it is not a RubyMine internal error.

Regards,
Oleg

0
Comment actions Permalink

Hi Oleg,

enclosed you will file the log file. It contains one start of RubyMine, one update, one "Show History" (all in all >10 password questions) and one close of the application.
The option Use system default Subversion configuration directory is disabled.

I changed Subversion configuration directory to a directory on my desktop and RubyMine creates a directory "auth" with "svn.simple" and a cryptic file with login and encrypted password (I guess). I also tried starting RubyMine with administrative privileges with no success. As it seems, the problem aren't missing write permissions.

I don't use a proxy server and don't have a command line tool with my saved password. But I can try this later.

Thanks for your suggestions,

neogrande



Attachment(s):
idea.log
0
Comment actions Permalink

RubyMine hasn't showed any internal errors, looking forward to hearing from you.

Regards,
Oleg

0
Comment actions Permalink

Hi,

today I installed a command line tool from subversion.tigris.org (SlikSVN).
I called "svn checkout http://......" and it works fine without asking for login or password.
So I activated "Use system default Subversion configuratioin directory", but password questions are annoying as before.

Note, that I tried RubyMine on three machines - all Vista (1x Ultimate, 2x Home Premium), all 64bit - maybe the problem is bound to this setup?

0
Comment actions Permalink

Hi,

Please try to add option -Dsvnkit.http.methods=Basic,Digest,NTLM to RubyMine vmoptions:
1. Exit from RubyMine
2. Open file C:\Program Files (x86)\JetBrains\RubyMine 1.0\bin\rubymine.exe.vmoptions
3. Append line -Dsvnkit.http.methods=Basic,Digest,NTLM
4. Save rubymine.exe.vmoptions and run RubyMine

May be this option will solve the problem.

0
Comment actions Permalink

Thanks Roman,

your solution works fine.

Regards,

neogrande

0
Comment actions Permalink

Sorry for inconvenience, next RM builds will work without this option.

Develop with pleasure!

0
Comment actions Permalink

I got the same problem when running RubyMine on Mac OS X. Unfortunately the workaround suggested does not seem to change anything.

I've added the line to ./RubyMine 1.0.app/bin/rubymine.exe.vmoptions and restarted RubyMine but it immediately started to ask me for the credentials again and again. If specifying 'Save credentials' a file in ~/.subversion/auth/svn.simple/ gets updated - with the credentials in plain text...
I've also tried to switch the SVN configuration directory with no useful effect. The only difference seems to be that the SVN activity on startup seems to write the credentials to a file that can be read by the command line client on Mac OS X while the updates of the "Repository" or "Incoming" tabs write to a different file...

I did not attach the log as there's almost nothing in it

0
Comment actions Permalink

I've added the line to ./RubyMine 1.0.app/bin/rubymine.exe.vmoptions and restarted RubyMine but it immediately started to ask me for the credentials again and again. I

rubymine.exe.vmoptions file is for Windows and Linux users. On Mac OS you should fix property Root | Java | VM Options in file /Applications/RubyMine 1.0.app/Contents/Info.plist

0
Comment actions Permalink

Thanks for the very fast reply to that time Now it is working as expected!
Just read other threads and already got the impression that it was the wrong place.

Pretty off-topic but probably not worth to open a separate thread yet:
I assume there is no plan for a combined Mac OS X and Eclipse key map - I'm thinking of having the Mac OS X system specific commands (e.g. ⌘W to close an editor or ⌘ instead of ^) mixed with Eclipse specific commands (like ⌘5 to ⌘8 for the debugger which is ^5 to ^8 in Windows). At least in Eclipse it has been quite simple for me to switch between Windows and Mac OS X and to feel that I'm using the same commands but consistent to the OS. But maybe it's just my personal preference today as I've not been using IntelliJ for some time

0
Comment actions Permalink

If you want you may create such keymap from RubyMine's Mac OS Default keymap. Then we probably will bundle it or post a download link. Also Brian Takita created project on github which contains useful RubyMine settings/live templates/color schemes(http://www.jetbrains.net/devnet/message/5235668#5235668) and may be it is possible to share such keymap there. As for our team - we don't use Eclipse so we don't know it's keymap. But we can help you to find RubyMine's equivalent for some Eclipse actions/features. Also it's hard for us to support changes/improvements in lot's of keymaps and color schemes and we will prefer to use such time for developing other RM features.

0
Comment actions Permalink

I'll have a look but as stated before I'll probably find that it's not that helpful to try to use RubyMine with Eclipse key maps. If I feel the need, I'll create a key map and post it.
It's obvious that you'll not want to support the key maps of all other IDEs (in all versions)... (esp. as I'd assume that on Mac OS X Eclipse is less popular for (J)Ruby/Rails development than TextMate or the 'pure' text editors)

0
Comment actions Permalink

Hello,

I just upgraded to RubyMine 1.1 and have encountered, that the problem still exists.
Of course, the bugfix works for this version, too, but as Roman said, next RM-builds will work without the fix, it should not happen, right?

Just wanted to inform you, that it is still there ;-)

0
Comment actions Permalink

Hi,

Just wanted to inform you, that it is still there ;-)

Sorry for inconvenience. Actually we decided not to include in RubyMine 1.1 our updated svn support because it isn't stable enough to include it in release build. This problem is fixed in our trunk version, please wait =)

0

Please sign in to leave a comment.