Error packaging html5

Hello I am trying to deploy my level on html 5 I made a few test on a basic fps scene everything went fine (except that Y was inversed and I don’t know why). So I tried to cook the realistic rendering level to html5 just to see how it would work and I have this error happening :

Project.LogDeploymentContext: PakFileInternalRoot = ../../../

Project.LogDeploymentContext: UnrealFileServerInternalRoot = ../../../

Project.LogDeploymentContext: End Deployment Context **************

HTML5Platform.Package: Package C:\Users\Denis\Documents\Unreal Projects\RealisticRendering\RealisticRendering.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.21.0\tools\file_packager.py" "C:\Users\Denis\Documents\Unreal Projects\RealisticRendering\Binaries\HTML5\RealisticRendering.data" --preload . --js-output="C:\Users\Denis\Documents\Unreal Projects\RealisticRendering\Binaries\HTML5\RealisticRendering.data.js"

cmd: Traceback (most recent call last):

cmd:   File "C:\Program Files\Emscripten\emscripten\1.21.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:\Program Files\Emscripten\python\2.7.5.3_64bit\lib\ntpath.py", line 263, in walk

cmd:     walk(name, func, arg)

cmd:   File "C:\Program Files\Emscripten\python\2.7.5.3_64bit\lib\ntpath.py", line 263, in walk

cmd:     walk(name, func, arg)

cmd:   File "C:\Program Files\Emscripten\python\2.7.5.3_64bit\lib\ntpath.py", line 263, in walk

cmd:     walk(name, func, arg)

cmd:   File "C:\Program Files\Emscripten\python\2.7.5.3_64bit\lib\ntpath.py", line 263, in walk

cmd:     walk(name, func, arg)

cmd:   File "C:\Program Files\Emscripten\python\2.7.5.3_64bit\lib\ntpath.py", line 259, in walk

cmd:     func(arg, top, names)

cmd:   File "C:\Program Files\Emscripten\emscripten\1.21.0\tools\file_packager.py", line 203, in add

cmd:     if should_ignore(fullname):

cmd:   File "C:\Program Files\Emscripten\emscripten\1.21.0\tools\file_packager.py", line 187, in should_ignore

cmd:     if has_hidden_attribute(fullname):

cmd:   File "C:\Program Files\Emscripten\emscripten\1.21.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 0xe9 in position 59: ordinal not in range(128)

CommandUtils.Run: Run: Took 8,2914742s to run cmd.exe

ErrorReporter.Error: ERROR: AutomationTool error: Command failed (Result:1): C:\Windows\system32\cmd.exe /c python "C:\Program Files\Emscripten\emscripten\1.21.0\tools\file_packager.py" "C:\Users\Denis\Documents\Unreal Projects\RealisticRendering\Binaries\HTML5\RealisticRendering.data" --preload . --js-output="C:\Users\Denis\Documents\Unreal Projects\RealisticRendering\Binaries\HTML5\RealisticRendering.data.js". See logfile for details: 'cmd.txt' 

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.21.0\tools\file_packager.py" "C:\Users\Denis\Documents\Unreal Projects\RealisticRendering\Binaries\HTML5\RealisticRendering.data" --preload . --js-output="C:\Users\Denis\Documents\Unreal Projects\RealisticRendering\Binaries\HTML5\RealisticRendering.data.js". See logfile for details: 'cmd.txt' 

Stacktrace:    ? AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options) dans c:\Users\Denis\Documents\Unreal Projects\UnrealEngine\Engine\Source\Programs\AutomationTool\ProcessUtils.cs:ligne 777

   ? HTML5Platform.Package(ProjectParams Params, DeploymentContext SC, Int32 WorkingCL) dans c:\Users\Denis\Documents\Unreal Projects\UnrealEngine\Engine\Source\Programs\AutomationTool\HTML5\HTML5Platform.Automation.cs:ligne 43

   ? Project.Package(ProjectParams Params, Int32 WorkingCL) dans c:\Users\Denis\Documents\Unreal Projects\UnrealEngine\Engine\Source\Programs\AutomationTool\Scripts\PackageCommand.Automation.cs:ligne 52

   ? BuildCookRun.DoBuildCookRun(ProjectParams Params) dans c:\Users\Denis\Documents\Unreal Projects\UnrealEngine\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:ligne 238

   ? BuildCommand.Execute() dans c:\Users\Denis\Documents\Unreal Projects\UnrealEngine\Engine\Source\Programs\AutomationTool\BuildCommand.cs:ligne 37

   ? AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands) dans c:\Users\Denis\Documents\Unreal Projects\UnrealEngine\Engine\Source\Programs\AutomationTool\Automation.cs:ligne 367

   ? AutomationTool.Automation.Process(String[] CommandLine) dans c:\Users\Denis\Documents\Unreal Projects\UnrealEngine\Engine\Source\Programs\AutomationTool\Automation.cs:ligne 335

   ? AutomationTool.Program.MainProc(Object Param) dans c:\Users\Denis\Documents\Unreal Projects\UnrealEngine\Engine\Source\Programs\AutomationTool\Program.cs:ligne 160

   ? AutomationTool.InternalUtils.RunSingleInstance(MainProc Main, Object Param) dans c:\Users\Denis\Documents\Unreal Projects\UnrealEngine\Engine\Source\Programs\AutomationTool\Utils.cs:ligne 631

   ? AutomationTool.Program.Main() dans c:\Users\Denis\Documents\Unreal Projects\UnrealEngine\Engine\Source\Programs\AutomationTool\Program.cs:ligne 107

Program.Main: ERROR: Command failed (Result:1): C:\Windows\system32\cmd.exe /c python "C:\Program Files\Emscripten\emscripten\1.21.0\tools\file_packager.py" "C:\Users\Denis\Documents\Unreal Projects\RealisticRendering\Binaries\HTML5\RealisticRendering.data" --preload . --js-output="C:\Users\Denis\Documents\Unreal Projects\RealisticRendering\Binaries\HTML5\RealisticRendering.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

I was on looking on forums but I didn’t fnd anything why is it bugging?

Thanks in advance

Denis Hénon

Any help? :frowning: Is it just because it’s still in beta?

UBT tells you to check the following log file:

See logfile for details: ‘cmd.txt’

It should be located within your saved folder somewhere (I have no engine to test it atm), just sarch fror cmd.txt