Localization Dashboard fail to gather text when connected to Source Control

I have encountered several issues when tried to use Localization Dashboard to gather text from project assets/sources.

First one happens on a clear project without any localization settings ever made. Gather Text commandlet log has theese lines in it:

[2015.06.16-13.21.56:396][  0]LogInit:Display: SourceControl:Error: Error fatal: pathspec 'D:/work/Unreal Projects/Yeevah/Content/Localization/Game/Game.manifest' did not match any files
[2015.06.16-13.21.56:397][  0]LogInit:Display: LogGatherTextCommandletBase:Error: Check out of file ../../../../../../Unreal Projects/Yeevah/Content/Localization/Game/Game.manifest failed: Failed to add file '../../../../../../Unreal Projects/Yeevah/Content/Localization/Game/Game.manifest' to source control.
[2015.06.16-13.21.56:397][  0]LogInit:Display: LogGenerateManifestCommandlet:Error: Failed to write manifest to ../../../../../../Unreal Projects/Yeevah/Content/Localization/Game/Game.manifest.

Bug is probably located inside a UGatherTextCommandletBase::WriteJSONToTextFile function. It first tries to add a manifest file to source control, but there is no actual file yet created, and it fails trying to add nonexistent file. Function returns and not actually writes content to a manifest file.
If I disconnect from source control operation completes successfully. I am using git as my source control slution, other options may give different results.

Second issue arises when I have already created localization related files when not connected to source control, so they are not marked to add. Gather Text commandlet log has theese lines in it:

[2015.06.16-13.37.23:945][  0]LogInit:Display: SourceControl:Error: Error warning: LF will be replaced by CRLF in Content/Localization/Game/Game.csv.
[2015.06.16-13.37.23:946][  0]LogInit:Display: SourceControl:Error: Error The file will have its original line endings in your working directory.

Looks like Source Control treats this as an error, but all files are actually become marked to add.

All other runs of gather text commandlet after those two complete successfully.

I’ve confirmed the issue reproduces here locally. I’ll report back with the fix changelist when it is available. In the mean time, you should be able to get around the first issue by creating an empty file at the specified path and add it to your source control.

The first problem should be resolved with changelist 2606511.

I’ll update when the second problem has a solution.

Which Git source control plugin are you using, the default one that ships with UE4? Can you provide a more specific set of instructions to cause the second issue to happen?

I am using the default git plugin. Steps to reproduce second issue:

  1. Run Gather Text when not connected to source control. Make sure it completed succesfully, so manifest and other files are created.
  2. Connect to source control.
  3. Run Gather Text again. You will see the mentioned error.
    It may also be important, that you git repository configured to make automatic CRLF conversion on commit, and keep local files as is.

Hi Druha,

I just checked status of the second issue. We have a ticket logged to investigate it (UE-17178), and a tentative fix has been created, but we have not had a to test it yet.