x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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

Product Version: Not Selected
Tags:
more ▼

asked Sep 24 '14 at 02:39 AM in Packaging & Deployment

avatar image

Denis
34 11 14 20

avatar image Denis Sep 29 '14 at 10:56 AM

Any help? :( Is it just because it's still in beta?

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

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

more ▼

answered Sep 29 '14 at 11:01 AM

avatar image

Moss
6.4k 127 98 606

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question