I’m facing an issue with all versions of UE 4 on OSX 10.10 where I attempt to setup svn settings in editor. When I hit accept window just hangs forever. I’m left with following processes (I have blanked out username and password) still running and never exiting:
When I run exact same svn status command UE4 is trying manually svn status command works just fine and terminates with correct output. For some reason though when UE4Editor attempts to call svn status it just hangs forever (at least 2 hours).
I don’t have anything to add to your post, except that I am seeing same issue here, and I am also able to run command by hand successfully.
I’ll try a few things tomorrow and report back (I have a couple of ideas…).
Edit: I just tried swapping out UE4’s internal svn binaries with some fresh ones from Homebrew and it made no difference unfortunately. I hoped that perhaps it was a SVN bug but I guess it’s probably not.
I’ve got a Windows machine here too with UE4 (which is actually why I started down this path, so I could share easily between them). I’ll try on that tomorrow and see if it’s broken there too.
Not that it’s entirely a solution, but my studio has been using Versions on OS X as our SVN client. And it’s worked really well (much better then Command Line Tools). Here’s a link to their site: http://versionsapp.com/
only downside is that you have to remember to manually add new files, and manually lock them if you want to “check out” a file. But we’re a small studio so it works for us.
Try removing all trailing slashes from repository and labels directory fields & try again. I can login successfully (on Mac) to an SVN server on CloudForge when I don’t have trailing slashes & it fails if I add them with errors being described here.
/Path/To/UE4/Engine/Binaries/ThirdParty/svn/Mac/bin/svn info --username=your_username https://path/to/repository
Replacing /Path/To/UE4 with actual path to your UE4 Engine directory, your_username with your SVN login & path/to/repository with actual path to SVN repo.
This should prompt you to enter your password, or authorise SVN to access keychain for it, in which case click Always Allow.
You’ll only get prompt for password when executing command on Terminal without supplying password as argument. You won’t get a keychain prompt from UE4. You have to do this with UE4’s svn binary not system’s svn, otherwise it will not work without manually entering password each time you wish to connect.
If Terminal doesn’t give you a prompt then you’ve already either permitted or denied UE4’s svn binary to use Keychain.
I used terminal and command as you suggested. No prompt. command executed without for a password. If keychain already has been accepted or denied, why does ue4 hang. This just started last week. Two weeks prior ue4 stopped logging into svn. 3 weeks prior and everything worked perfectly. What next?
After restart I reinstalled UE4
Launcher and UE 4.7.5 (without
opening editor.)
I deleted our whole " Game Project"
and re-downloaded (I ignored and
recursively ignored intermediate
and saved folders from the
repository.) - I made sure to
execute command line function
you posted previously
(/Path/To/UE4/Engine/Binaries/ThirdParty/svn/Mac/bin/svn
info --username=your_username https://path/to/repository ) and I
was given a prompt for a password
this time around. I entered the
password and all seemed good.
I then opened project by double
clicking on blah.uproject. The
project opened fine without source
control enabled. When setting up
source control, all previous SVN
settings were already filled in.
What gives? I figured deleting
everything would delete SVN
settings within project.
So I proceed to enter password
just after double checking SVN
url and it still hangs.
I am beyond confused and frustrated. This has been an ongoing time sink for us since UE4.4. Please help us! PS: I do want to thank you for helping thus far.
I hope you modified paths in step 6 to match your actual config, otherwise they won’t work. If it is still hanging, try using Activity Monitor to sample svn process & posting attached results, since that might show me what it is hanging & give me another avenue of attack.
Yep, if you go into /Applications/Utilities and open ActivityMonitor.app, then highlight hanging svn process and select View → Sample Process it should capture callstacks in svn process. That might enlighten me as to what it is stuck trying to do.
Thanks jcdied4me, it looks like it is stuck trying to print status of your working copy (svn_cl__print_status_xml) via cstdlib functions. So it must definitely have connected successfully. I’m not quite sure why that doesn’t work, certainly it shouldn’t be taking hours even if repo is very large. I’ll have to take a look at how output is supposed to be redirected to UE.