语言

Menu
Sites
Language
Unable to install MUSIC app on device with tizen:privilege - Error- installation has failed - ace check failure

Hi! Team.,

I create a sample to load a music conent & play in tizen player. The sample which i create is working fine on Emulator 2.2.

Same playmusic.wgt, fails to install on device. If i remove below "tizen:privilege", then it allows to install.

   <tizen:privilege name="http://tizen.org/privilege/content.read"/>
    <tizen:privilege name="http://tizen.org/privilege/content.write"/>
    <tizen:privilege name="http://tizen.org/privilege/application.launch"/>

Below , is the error message displayed on my minicom while installing app with above privilege.

-sh-4.1# wrt-installer -i /opt/apps/tmp/6/playmusic.wgt
===========================================================
# wrt-installer #
# argc [3]
# argv[0] = [wrt-installer]
# argv[1] = [-i]
# argv[2] = [/opt/apps/tmp/6/playmusic.wgt]
===========================================================
ERR<1978>:evas_main evas_object_smart.c:749 evas_object_smart_need_recalculate_set() Object 0xb2845f68 is not stable during recalc loop
ERR<1978>:edje edje_util.c:3313 edje_object_size_min_restricted_calc() group icon has a non-fixed part 'uninstall_focus'. Adding 'fixed: 1 1.
ERR<1978>:evas_main evas_object_smart.c:749 evas_object_smart_need_recalculate_set() Object 0xb2845f68 is not stable during recalc loop
## wrt-installer : lxH12fpZvs.playmusic installation has failed - ace check failure

Experts, Pls Suggest me on this.

Thanks in advance !
Ganesh Kumar R.

 

响应

8 回复
Raghavendra Reddy Shiva

Looks to be access issues. Can you try following below steps to install the application. It worked for me.
Also assuming the author certificates are in place at Window > Preferences > Tizen SDK > Secure Profiles > Profile items.

  1. sdb root on
  2. sdb push playmusic.wgt /opt/home/
  3. sdb shell
  4. cd opt/home
  5. wrt-installer -i playmusic.wgt.wgt


Below are other alternative methods to install application onto the device.

1) Installing the *.wgt using the CLI command "web-install" as below,

ex: web-install -w Sample.wgt

The CLI tools can be found at, C:\tizen-sdk\tools\ide\bin

https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.appprogramming/html/ide_sdk_tools/command_line_interface.htm

2) Try importing the widget using the Tizen SDK, build it and deploy to emulator.

Ganesh Kumar R

Hi! Shiva.,

At present my device is not able to connect to sdb shell (hardware not support). I am connected to minicom to get sdb terminal.

As you said, I did  the  "Secure Profiles" and create general profile item and set Active (Pls tell same profile item can be used for n app ?) , still same error observed.

Finally, I found that my os is not allowing me to install any app , if it have app launch privilage.

<tizen:privilege name="http://tizen.org/privilege/application.launch"/>

Possible to tell me OS level, I can change to allow my app to install with launch privilege.

Thanks.,
GK

 

Raghavendra Reddy Shiva


Yeah,the same profile will work for both web and native applications.

Which Tizen developer device are you using ?
AFAIK, tizen deosn't recommend using minicom for connecting to device.

There is another USB network connection method mentioned in below wiki (that din't work for me though) you can try,
https://wiki.tizen.org/wiki/Manually_installing_apps

Ganesh Kumar R

Hi! Raghu.,

As you suggested i tried with manual installation, Still am getting same error while installing app via wrt-installer.

wrt-installer -i myapp.wgt

## wrt-installer : lxH12fpZvs.myapp installation has failed - ace check failure

Is there any other possible way to install an web app without using wrt-installer ? , like copying the html & config.xml files directly into some path in the filesystem ?

FYI I am on a arm based dev board where sdb interface is not brought up yet.

Is that possible to disable tizen security feautures at the platform level by stopping some service or so? Kinldy let me know if any.

Thanks.,

Raghavendra Reddy Shiva

Ok. So all the possible ways din't work for us. And for now, don't have any other alternatives to suggest.

For me, it looks the error is from "Access Control Engine (ACE)" module from web runtime, and is resposible for checking the permissions to access the Tizen API's. Though not sure, why the access is denied when using Tizen privileges even when logging into the device as root.

Have put forward the request to the concerned team. Will post back, once i hear from them.

Ganesh Kumar R

Great Shiva ! Please point to respective team & get us some solution.

Looking forward to hear you.

Thanks for you support.

 

Ganesh Kumar R

Experts ! Found any solution on this issues ?

Pls Advice.

Raghavendra Reddy Shiva

Ganesh,

Haven't heard back from the folks yet. Following up.