Hi, I need to urgently turn a project of mine into HTML5, I have emscripten installed, the dependencies for UE 4.3.1 from Github built from scratch, the paths are ok, and yet, the frontend won’t package the game, I’m getting this strange error and can’t find that log file cmd.txt, I just don’t know what else to do. I’m attaching the FrontEnd log, for anyone who can possibly give me a hand over here.
Program.Main: ERROR: Exception in AutomationTool: Command failed (Result:1): C:\Windows\system32\cmd.exe /c python "C:\Program Files\Emscripten\emscripten\1.16.0\tools\file_packager.py" "H:\LABUROS\Amandita\LaRescatista\Binaries\HTML5\LaRescatista.data" --preload . --js-output="H:\LABUROS\Amandita\LaRescatista\Binaries\HTML5\LaRescatista.data.js". See logfile for details: 'cmd.txt'
I have no idea what could it be. I’m truly desperate right now. Here’s the part of the log despicting the error:
HTML5Platform.Package: Package H:\LABUROS\Amandita\LaRescatista\LaRescatista.uproject
InternalUtils.SafeFileExists: SafeFileExists C:\Windows\system32\cmd.exe=True
CommandUtils.Run: Run: C:\Windows\system32\cmd.exe /c python "C:\Program Files\Emscripten\emscripten\1.16.0\tools\file_packager.py" "H:\LABUROS\Amandita\LaRescatista\Binaries\HTML5\LaRescatista.data" --preload . --js-output="H:\LABUROS\Amandita\LaRescatista\Binaries\HTML5\LaRescatista.data.js"
cmd: Traceback (most recent call last):
cmd: File "C:\Program Files\Emscripten\emscripten\1.16.0\tools\file_packager.py", line 218, in <module>
cmd: os.path.walk(file_['srcpath'], add, [file_['mode'], file_['srcpath'], file_['dstpath']])
cmd: File "C:\Python27\lib\ntpath.py", line 272, in walk
cmd: walk(name, func, arg)
cmd: File "C:\Python27\lib\ntpath.py", line 272, in walk
cmd: walk(name, func, arg)
cmd: File "C:\Python27\lib\ntpath.py", line 272, in walk
cmd: walk(name, func, arg)
cmd: File "C:\Python27\lib\ntpath.py", line 268, in walk
cmd: func(arg, top, names)
cmd: File "C:\Program Files\Emscripten\emscripten\1.16.0\tools\file_packager.py", line 203, in add
cmd: if should_ignore(fullname):
cmd: File "C:\Program Files\Emscripten\emscripten\1.16.0\tools\file_packager.py", line 187, in should_ignore
cmd: if has_hidden_attribute(fullname):
cmd: File "C:\Program Files\Emscripten\emscripten\1.16.0\tools\file_packager.py", line 177, in has_hidden_attribute
cmd: attrs = ctypes.windll.kernel32.GetFileAttributesW(unicode(filepath))
cmd: UnicodeDecodeError: 'ascii' codec can't decode byte 0xe1 in position 33: ordinal not in range(128)
CommandUtils.Run: Run: Took 0,3770215s to run cmd.exe
BuildCommand.Execute: ERROR: BUILD FAILED
Program.Main: ERROR: AutomationTool terminated with exception:
Program.Main: ERROR: Exception in AutomationTool: Command failed (Result:1): C:\Windows\system32\cmd.exe /c python "C:\Program Files\Emscripten\emscripten\1.16.0\tools\file_packager.py" "H:\LABUROS\Amandita\LaRescatista\Binaries\HTML5\LaRescatista.data" --preload . --js-output="H:\LABUROS\Amandita\LaRescatista\Binaries\HTML5\LaRescatista.data.js". See logfile for details: 'cmd.txt'
Stacktrace: en AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options) en h:\UECode\UnrealEngine-4.3\Engine\Source\Programs\AutomationTool\ProcessUtils.cs:l?nea 775
en HTML5Platform.Package(ProjectParams Params, DeploymentContext SC, Int32 WorkingCL) en h:\UECode\UnrealEngine-4.3\Engine\Source\Programs\AutomationTool\HTML5\HTML5Platform.Automation.cs:l?nea 43
en Project.Package(ProjectParams Params, Int32 WorkingCL) en h:\UECode\UnrealEngine-4.3\Engine\Source\Programs\AutomationTool\Scripts\PackageCommand.Automation.cs:l?nea 52
en BuildCookRun.DoBuildCookRun(ProjectParams Params) en h:\UECode\UnrealEngine-4.3\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:l?nea 238
en BuildCommand.Execute() en h:\UECode\UnrealEngine-4.3\Engine\Source\Programs\AutomationTool\BuildCommand.cs:l?nea 37
en AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands) en h:\UECode\UnrealEngine-4.3\Engine\Source\Programs\AutomationTool\Automation.cs:l?nea 367
en AutomationTool.Automation.Process(String[] CommandLine) en h:\UECode\UnrealEngine-4.3\Engine\Source\Programs\AutomationTool\Automation.cs:l?nea 335
en AutomationTool.Program.MainProc(Object Param) en h:\UECode\UnrealEngine-4.3\Engine\Source\Programs\AutomationTool\Program.cs:l?nea 99
en AutomationTool.InternalUtils.RunSingleInstance(MainProc Main, Object Param) en h:\UECode\UnrealEngine-4.3\Engine\Source\Programs\AutomationTool\Utils.cs:l?nea 610
en AutomationTool.Program.Main() en h:\UECode\UnrealEngine-4.3\Engine\Source\Programs\AutomationTool\Program.cs:l?nea 50
Program.Main: ERROR: Command failed (Result:1): C:\Windows\system32\cmd.exe /c python "C:\Program Files\Emscripten\emscripten\1.16.0\tools\file_packager.py" "H:\LABUROS\Amandita\LaRescatista\Binaries\HTML5\LaRescatista.data" --preload . --js-output="H:\LABUROS\Amandita\LaRescatista\Binaries\HTML5\LaRescatista.data.js". See logfile for details: 'cmd.txt'
ProcessManager.KillAll: Trying to kill 0 spawned processes.
Program.Main: AutomationTool exiting with ExitCode=1
Domain_ProcessExit
ProcessManager.KillAll: Trying to kill 0 spawned processes.
AutomationToolLauncher exiting with ExitCode=1
copying UAT log files...
RunUAT.bat ERROR: AutomationTool was unable to run successfully.
BUILD FAILED
Full Log here: https://drive.google.com/file/d/0BykoA0CHxH7-akxNbEdQa3lmNkE/edit?usp=sharing