Languages

Menu
Sites
Language
Get SIGNATURE_INVALID_NO_HASH_FILE [77] error when installing a wgt packaged by command line

Hello,

 

I have a Tizen web application for Gear S3, built based on SDK 2.3.2. It works perfectly with Tizen Studio. However, if I package the application using the command line:

tizen package -t wgt -s myProfile -- ./MyApplication

and then install it using:

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px 'Andale Mono'; color: #29f914; background-color: #000000} span.s1 {font-variant-ligatures: no-common-ligatures}

tizen install -n MyApplication.wgt

 

I got SIGNATURE_INVALID_NO_HASH_FILE [77] error. My default profile path was set as ~/workspace/.metadata/.plugins/org.tizen.common.sign/profiles.xml, and tizen security-profiles list returns the correct profile name. I am sure this profile is the same one used in the certificate manager in Tizen Studio. 

 

Could somebody tell me where I made wrong?

 

Thanks.

 

Jinghai

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px 'Andale Mono'; color: #29f914; background-color: #000000} span.s1 {font-variant-ligatures: no-common-ligatures}

Responses

3 Replies
Armaan-Ul- Islam

Tizen Wiki Discusses about error 77: SIGNATURE_INVALID_NO_HASH_FILE.

 

Please check this section and related references:

https://wiki.tizen.org/SDK#error_77_:_SIGNATURE_INVALID_NO_HASH_FILE

Jinghai Rao

After I make the package with the following command, it can be installed correctly. 

tizen build-app -p "name: MyApplication, targets: [MyApplication]" -s myProfile

 
However, I don't know the differents between tizen package and tizen build-app -p.
Armaan-Ul- Islam

-> 'package' command packages the Tizen application with signing.

 

-> 'build-app' is genrally used for Multiple project packing ( like service app,widget app with UI app ). 

     '-p' parameter in 'build-app' command specifies the package description like: name of the package, type of the package, target,etc.

 

Reference: Command Line Interface Commands

 

Once your profile signing is okay, 'package' command would also work fine. Before that first you have to run 'build-web'and specify project directory correctly. Make sure you are specifying correct project directory/folder where your MyApplication.wgt' resides in '--' parameter of package command.

 

Additionally, This Tip&Tech Document on "Sample Web Application development using Command Line Interface" may help.