KyroFrCode / moonlight-chrome-tizen-docker

Docker file in order to build the Moonlight application for Samsung TVs running under Tizen from my Github repository
155 stars 12 forks source link

Error with manifest #18

Open vitaliiTolmachov opened 10 months ago

vitaliiTolmachov commented 10 months ago

Using UE49NU7100 TV running on Tyzen Version 4.0 Getting error while trying to install the app

moonlight@ca2b919423d2:~$ sdb connect 192.168.1.170
connecting to 192.168.1.170:26101 ...
connected to 192.168.1.170:26101
moonlight@ca2b919423d2:~$ sdb devices
List of devices attached
192.168.1.170:26101     device          UE49NU7100
moonlight@ca2b919423d2:~$ tizen install -n MoonlightWasm.wgt -t UE49NU7100
Transferring the package...
Transferred the package: /home/moonlight/MoonlightWasm.wgt -> /home/owner/share/
tmp/sdk_tools/tmp
Installing the package...
--------------------
Platform log view
--------------------
install MoonLightS.MoonlightWasm
package_path /home/owner/share/tmp/sdk_tools/tmp/MoonlightWasm.wgt
was_install_app return WAS_TRUE
app_id[MoonLightS.MoonlightWasm] install start
app_id[MoonLightS.MoonlightWasm] install failed[118019]
spend time for wascmd is [984]ms
cmd_ret:0
Failed to install Tizen application.
Total time: 00:00:01.659

Tried to change the required version in the config file to 4.0 (tried older an newer versions as well) with no luck Error references HERE says

Your Tizen config.xml manifest file contains a restricted privilege. Remove it.

Here how is my config file /home/moonlight/build/widget/config.xml looks like:

<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns:tizen="http://tizen.org/ns/widgets" xmlns="http://www.w3.org/ns/widgets" id="http://samsung.tv/MoonlightWasm" version="1.0.0" viewmodes="fullscreen">
    <access origin="*"></access>
    <tizen:application id="MoonLightS.MoonlightWasm" package="MoonLightS" required_version="4.0" launch_mode="caller"/>
    <content src="index.html"/>
    <description>MoonlightWasm</description>
    <feature name="http://tizen.org/feature/screen.size.all"/>
    <icon src="icon128.png"/>
    <name>MoonlightWasm</name>
    <tizen:privilege name="http://tizen.org/privilege/unlimitedstorage"/>
    <tizen:privilege name="http://tizen.org/privilege/filesystem.write"/>
    <tizen:privilege name="http://tizen.org/privilege/tv.inputdevice"/>
    <tizen:privilege name="http://tizen.org/privilege/filesystem.read"/>
    <tizen:privilege name="http://tizen.org/privilege/internet"/>
    <tizen:setting screen-orientation="landscape" context-menu="enable" background-support="disable" encryption="disable" install-location="auto" hwkey-event="enable"/>
</widget>
  1. Where is the Tyzen app manifest file located and how it should be edited?
  2. I managed to install Tyzen IDE for developers. How can I pull the project files and deploy it to my my TV manually from IDE?
nnabdou commented 8 months ago

I am getting the same error:

moonlight@0879e3bfeb5b:~$ tizen install -n Moonlight.wgt -t UN65NU6900
Transferring the package...
Transferred the package: /home/moonlight/Moonlight.wgt -> /home/owner/share/tmp/sdk_tools/tmp
Installing the package...
--------------------
Platform log view
--------------------
install MoonLightS.MoonlightWasm
package_path /home/owner/share/tmp/sdk_tools/tmp/Moonlight.wgt
was_install_app return WAS_TRUE
app_id[MoonLightS.MoonlightWasm] install start
app_id[MoonLightS.MoonlightWasm] install failed[118019]
spend time for wascmd is [1080]ms
cmd_ret:0
Failed to install Tizen application.
Total time: 00:00:01.738

Anyone have any suggestions?

OneLiberty commented 7 months ago

If the TV is not on at least Tizen 5.5 no need to try anything it won't work.

vitaliiTolmachov commented 7 months ago

Ok, thanks. Is there any way to update manually from Tyzen 4.0 to 5.0?

OneLiberty commented 7 months ago

No, no way to update Tizen version.