Giter Club home page Giter Club logo

wits's Introduction

WITs

WITs is a useful development tool for helping to run and develop your Tizen web application easily on your 2017+ Samsung TV. It is the fastest way to get your local code running on the TV device during development. Saving you from having to build, package, and reinstall your application every time you want to see how it will run on device. We call it a LIVE RELOAD. WITs is helpful to continue your developing context.

Supported WITs guide in other languages

Always welcome, if you contribute WITs guide in your language! Guides should be placed in "doc" directory. Please pull-request and join it!

Installing and Configuring WITs

For developers using npm

1. Install WITs npm globally

    $ npm install -g @tizentv/wits

For developers using Git repository

1. Clone WITs git repository.

    $ git clone https://github.com/Samsung/Wits.git

2. Install WITs Dependencies

    $ cd ~/{path-to}/Wits
    $ npm install -g

System Requirements

WITs needs the following prerequisites on your local development machine.

1. Open Terminal on MacOS / Linux or CMD / PowerShell on Windows

2. Install Node.js and Git (recommend v7.10.1 ~)

We will not describe how to do these installations as there are many ways to do it and its developer preference. We recommend using something like nvm or asdf to manage different versions of Node.js across your code projects.

3. Developer Mode is enabled on your Samsung TV.

  • 1 With your Samsung Remote, press the Home button.

  • 2 Navigate to the Apps button and press Enter/OK.

  • 3 When on the Apps screen, press 1 2 3 4 5 in order on the remote to open the Developer Mode Dialog. If this doesn't work, try it again.

  • 4 When the Developer Mode Dialog appears, toggle the switch to On and enter the IP address of your development machine.

4. Certification for packaging application (Tizen / Samsung)

Certification(Tizen / Samsung) is required for packaging your tizen web application.

Using Editor

  • Tizen Studio Install the latest version of Tizen Studio.

  • VSCode Install the latest version of VSCode. And download the extension "tizensdk.tizentv".

  • Atom Install the latest version of Atom. And download the package "atom-tizentv-2"

Using WITs

  • WITs (v2.4.0 ~) supports creating a Tizen certification. Please do "wits -c" for making a new Tizen certification.

WITs details

The Project Structure for using WITs

.witsconfig.json, .witsignore files are only added at the your tizen web application.

WITs CLI

wits

For showing which options you can use

wits -i / wits --init

For configuring WITs Please note that, It should be run when you use first time on your tizen application project. .witsconfig.json and .witsignore files are generated on your tizen app project. After then, you can modify your information to them.

witsi

wits -c / wits --certificate

For creating a certification(Supported Tizen certification only). As following steps, you can create a certification on ~/{path-to}/wits/resource/profiles.xml.

witsc

wits -s / wits --start

All in one. For connecting to TV, installing and launching your app and using Live Reload If wits -i hasn't run before, It is not allowed to run.

# Run wits --start
$ wits -s

# Run wits --start with deviceIp. Available to switch the device Ip easily.
$ wits -s deviceIp=192.168.250.250

# Run wits --start with deviceIp. Available to switch the device Ip easily. For debugging, add --verbose option. It should be at the end of command.
$ wits -s deviceIp=192.168.250.250 --verbose

witss

wits -w / wits --watch

For connecting to TV, using Live Reload After connecting, every time you make changes on your tizen app project, It is reflected to TV device instantly.

# Run wits --watch
$ wits -w

# Run wits --watch with deviceIp. Available to switch the device Ip easily.
$ wits -w deviceIp=192.168.250.250

# Run wits --watch with deviceIp. Available to switch the device Ip easily. For debugging, add --verbose option. It should be at the end of command.
$ wits -w deviceIp=192.168.250.250 --verbose

witsw

WITs API

WITs supports the following APIs

  • setWitsconfigInfo(WitsInfoData data) : This API is for setting WITs environment, It should be called before start function or watch function.
  • start() : This API is a sequence for building and installing your application, connecting PC and Target TV, pushing files, supporting live-reload feature.
  • watch() : This API is a sequence for connecting PC and Target TV, pushing files, supporting live-reload feature. (Except for re-building and re-installing your application.)
  • disconnect() : This API is for disconnecting communications between PC and Target TV.
  • setOutputChannel(OutputCallback callback) : This is for getting WITs' log information. The return value is integer value between 1000 and 9999, and this value will be used to unsetOutputChannel().
  • unsetOutputChannel() : This is for unregistering the output callback. Call the unsetOutputChannel() with the return value of the setOutputChannel().

For detail, check whole APIs in How to use WITs as APIs.

.witsconfig.json of WITs

For details, Sample data for .witsconfig.json on Windows and MacOS both, WITs recognises path segment only one separator(/).

  • connectionInfo (mandatory)
    • deviceIp [string] : Device(TV) Ip address (In case of Emulator, Please input 0.0.0.0)
    • hostIp [string] : Host(PC) Ip address
    • width [string] : Resolution
    • isDebugMode [boolean] : Setting true, chrome inspector is launched automatically. / Setting false, nothing happened.
  • profileInfo (mandatory)
    • path [string] : Tizen Studio Certificate Profile path

.witsignore of WITs

Sometimes there are a few files what you do not want to push to your TV device such as .git or node_modules. If you input unnecessary files or directories on .witsignore file before pushing files to the TV device, It would be pushed except them to your TV. You can use it optionally. This works exactly same as .gitignore.

Example of .witsignore:

node_modules
.git
deprecated
stglib

Known Issues

failed to live reload on react application

  • Check the router what you uses, and change to MemoryRouter. Please refer the closed Issue #114

FAQ

Supported Platforms

  • 2017 Samsung Smart TV (Tizen 3.0)
  • 2018 Samsung Smart TV (Tizen 4.0)
  • 2019 Samsung Smart TV (Tizen 5.0)
  • 2020 Samsung Smart TV (Tizen 5.5)

wits's People

Contributors

darangkim avatar dependabot[bot] avatar dfredude avatar gemerz avatar jfrux avatar mdabrowski2 avatar prozanne avatar pwsses avatar sejoongdejang avatar somang-park avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wits's Issues

[Improvement] Host ip config

Hello,
I'd like to introduce a small new feature into Wits which is manually setting host ip by adding field "hostIP" in profileInfo.json.
There's an issue when I'm trying to connect to Wits on my TV via LAN.
The problem is Wits automatically sets host ip with the "ip" library and it uses my external address while I need him to connect with me with 192.168.137.1 address.
I would like to add a simple feature allowing user to input his own host ip manually, overriding the ip library.

How to reload in Remote App??

Our app does not load packaged HTML/JS but instead goes directly to a URL in the config XML. Does this work with Wits? How would the refresh cycle work in this case?

'sdb' is not recognized error on application launch

Hello,

After Wits configuration, I am trying to launch it but I get the following error: 'sdb' is not recognized as an internal or external command, operable program or batch file. exec: 'sdb' is not recognized as an internal or external command, operable program or batch file.

Sometimes I get this error when launching debug mode in Tizen Studio. Still can't figure out what is the problem. I am using Windows and it is probably issue with PATH.

reload fails

Hi,
I have wits running on mac OS with a react tizen custom project. I am trying to use live reload using tizen emulator.
On initial run of wits -s or wits -w, it loads the app in emulator. However upon changing a file, app failed to reload with error messaage on emulator says

Unable to fiind page you requested
file:/// may be down or moved to new address

here is detail log
At the end of this log it says chrome disconnected, however chrome stays connected.

wits -s --verbose
 _      ____________  
| | /| / /  _/_  __/__
| |/ |/ // /  / / (_-<
|__/|__/___/ /_/ /___/

Start running Wits............

[@tizentv/tools]tools.getToolPath: toolName = sdb

      > [ Stored Information ]

      > baseAppPath  : /Users/xxxx/development/ott
      > width        : 1920
      > deviceIp     : 0.0.0.0
      > isDebugMode  : true

      > profile path : /Users/xxxx/tizen-studio-data/profile/profiles.xml
      > hostIp       : 10.50.69.11

List of devices attached 
emulator-26101          device          t-0409-1

secure_protocol:enabled
intershell_support:disabled
filesync_support:pushpull
usbproto_support:disabled
sockproto_support:enabled
syncwinsz_support:enabled
sdbd_rootperm:disabled
rootonoff_support:disabled
encryption_support:disabled
zone_support:disabled
multiuser_support:enabled
cpu_arch:x86
sdk_toolpath:/home/owner/share/tmp/sdk_tools
profile_name:tv
vendor_name:Samsung
can_launch:tv-samsung
device_name:Tizen
platform_version:7.0
product_version:4.0
sdbd_version:2.2.31
sdbd_plugin_version:3.8.5_EM_REL
sdbd_cap_version:1.0
log_enable:disabled
log_path:/tmp
appcmd_support:disabled
appid2pid_support:enabled
pkgcmd_debugmode:enabled
netcoredbg_support:enabled
architecture:32
platform_build_version:7.0


content src is : dist/index.html

Start packaging Samsung Tizen TV Platform......

[webide-common-tizentv]projectHelper.buildWidget() profilePath = /Users/xxxx/tizen-studio-data/profile/profiles.xml, excludeFiles = undefined
After build package, signature temporary files were removed
[webide-common-tizentv]projectHelper.widget.on(): Build Package completed!
============================== Build Package completed!

============================== Start to install the package

uninstall MTAPlusWITs
app_id[MTAPlusWITs] uninstall start
app_id[MTAPlusWITs] uninstalling[4]
app_id[MTAPlusWITs] uninstalling[100]
app_id[MTAPlusWITs] uninstall completed
spend time for wascmd is [1148]ms

WARNING: Your data are to be sent over an unencrypted connection and could be read by others.
pushed                       WITs.wgt   100%        136KB           0KB/s
1 file(s) pushed. 0 file(s) skipped.
/usr/local/lib/node_modules/@tizentv/wits/container/WITs.wgt   1474KB/s (139911 bytes in 0.092s)


install MTAPlusWITs
package_path /home/owner/share/tmp/sdk_tools/WITs.wgt
app_id[MTAPlusWITs] install start
app_id[MTAPlusWITs] installing[10]
app_id[MTAPlusWITs] installing[13]
app_id[MTAPlusWITs] installing[97]
app_id[MTAPlusWITs] installing[100]
app_id[MTAPlusWITs] install completed
spend time for wascmd is [1374]ms


terminate app QXQQPihnR1.MTAPlusWITs
spend time for wascmd is [16]ms

... successfully launched pid = 27283 with debug 1 port: 36881



listening on 4662
a user connected
new client connected, id = Qbr2nv1nDRXuIRg0AAAB 
socket on::::push_request
Total File Number : 170
socket on::::watch_request
hostAppPath /home/owner/share/tmp/sdk_tools/MTAPlusWITs
[Warning]: Failed to wrapped FileSystem to contents file.
Please install a Chrome browser. Error: connect ECONNREFUSED ::1:58345
Please install a Chrome browser. Error: connect ECONNREFUSED ::1:58344

/Users/xxxx/development/ott/src/pages/home.js update
watch file : /src/pages/home.js
Program output : WARNING: Your data are to be sent over an unencrypted connection and could be read by others.
pushed                        home.js   100%       3424 B           0KB/s
1 file(s) pushed. 0 file(s) skipped.
/Users/xxxx/development/ott/src/pages/home.js   57KB/s (3424 bytes in 0.058s)

Two instances of Chrome launch when debugging against the emulator

The launchDebugMode function in appLaunchHelper.js checks to see if deviceIpAddress === EMULATOR_IP. At which point it calls setPortForward which launches an instance of Chrome. However after setPortForward returns another instance of Chrome is launched within launchDebugMode. It is unclear why the launch is needed within setPortForward since the debugIP is remapped to local host.

I wanted to confirm the intent before submitting a PR.

Install Wits

Hello, can someone help me please. i cannot install Wits.

This is the message what i get:

Start packaging Samsung Tizen TV Platform......
Tizen CLI 2.5.5
Setting configuration is succeeded....

Build Web Application: 100% (10/10)

BUILD SUCCESSFUL

Output path : E:\projects\Wits\tizen.buildResult
Excluded : [.build/, .build, .sign/, .sign, webUnitTest/, webUnitTest, .externalToolBuilders/, .externalToolBuilders, .buildResult/, .buildResult, .settings/, .settings, .package/*, .package, .tproject, .project, .sdk_delta.info, .rds_delta, *.wgt, .tizen-ui-builder-tool.xml]
Total time: 00:00:00.777
Warning: Not found tizen signature file
Warning: Not found tizen author signature file
Excludes File Pattern: {.manifest.tmp, .delta.lst}
Package File Location: E:\projects\Wits\tizen.buildResult\Wits.wgt
Package created at E:\projects\Wits\tizen\build\Wits.wgt

[Warning] Failed to uninstall Wits
Start install package...

Start install package...

Failed to install Wits

Thanks

Problem when starting a new project

Hi,

When I type wits --start project build is successful, however I get a message - Total File Number : 7415 and project loads for quite a while but after it finishes loading, it shows this error on TV:

20200521_131222

In Google Chrome I get the following error:

wits_console

My guess is that it loads files from previous project because I tried Wits half a year ago. Is that possible?

Do I need to place my build file to www folder as before? I can't find any information about that part.

Failed to install Wits on UE24N4300

Trying to install it on UE24N4300

image

this is version 4.0 right?

when running

I receive only

Failed to install Wits

here the full log

wits -s --verbose
 _      ____________  
| | /| / /  _/_  __/__
| |/ |/ // /  / / (_-<
|__/|__/___/ /_/ /___/

Start running Wits............

[@tizentv/tools]tools.getToolPath: toolName = sdb

      > [ Stored Information ]

      > baseAppPath  : C:/code/testing-tizen
      > width        : 1920
      > deviceIp     : 192.168.1.240
      > isDebugMode  : false

      > profile path : C:/tizen-studio-data/profile/profiles.xml
      > hostIp       : 192.168.1.71

connect to....192.168.1.240
connecting to 192.168.1.240:26101 ...
connected to 192.168.1.240:26101     

Success to connect 192.168.1.240
List of devices attached 
192.168.1.240:26101     device          UE24N4300

secure_protocol:enabled
intershell_support:disabled
filesync_support:push
usbproto_support:disabled
sockproto_support:enabled
syncwinsz_support:enabled
sdbd_rootperm:disabled
rootonoff_support:disabled
encryption_support:disabled
zone_support:disabled
multiuser_support:enabled
cpu_arch:armv7
sdk_toolpath:/home/owner/share/tmp/sdk_tools
profile_name:tv
vendor_name:Samsung
can_launch:tv-samsung
device_name:Tizen
platform_version:4.0
product_version:4.0
sdbd_version:2.2.31
sdbd_plugin_version:3.4.1_TV_REL
sdbd_cap_version:1.0
log_enable:disabled
log_path:/tmp
appcmd_support:disabled
appid2pid_support:enabled
pkgcmd_debugmode:enabled


content src is : index.html

Start packaging Samsung Tizen TV Platform......

[webide-common-tizentv]projectHelper.buildWidget() profilePath = C:/tizen-studio-data/profile/profiles.xml, excludeFiles = undefined
[@tizentv/tools]tools.getToolPath: toolName = certificate-encryptor
cryptTool = C:\tizentv-tools\certificate-encryptor\wincrypt.exe
[@tizentv/tools]tools.getToolPath: toolName = certificate-encryptor
cryptTool = C:\tizentv-tools\certificate-encryptor\wincrypt.exe
After build package, signature temporary files were removed
[webide-common-tizentv]projectHelper.widget.on(): Build Package completed!
============================== Build Package completed!

============================== Start to install the package
uninstall example1WITs
app_id[example1WITs] uninstall start
app_id[example1WITs] uninstall failed[132]
spend time for wascmd is [26]ms
cmd_ret:0


[warning] Failed to uninstall Wits
WARNING: Your data are to be sent over an unencrypted connection and could be read by others.
pushed                       WITs.wgt   100%        137KB           0KB/s
1 file(s) pushed. 0 file(s) skipped.
C:\Users\matteo.bombelli\AppData\Roaming\npm\node_modules\@tizentv\wits\container\WITs.wgt   1413KB/s (140888 bytes in 0.097s)

install example1WITs
package_path /home/owner/share/tmp/sdk_tools/WITs.wgt
was_install_app return WAS_TRUE
app_id[example1WITs] install start
app_id[example1WITs] installing[7]
app_id[example1WITs] installing[10]
app_id[example1WITs] installing[13]
app_id[example1WITs] installing[15]
app_id[example1WITs] installing[18]
app_id[example1WITs] installing[21]
app_id[example1WITs] installing[23]
app_id[example1WITs] install failed[118012]
spend time for wascmd is [1375]ms
cmd_ret:0


Failed to install Wits

any suggestion?

Thank you!

Failed to un/install Wits

After the build succeeds, I receive the following errors:

Start packaging Samsung Tizen TV Platform......
Tizen CLI 2.5.5
Setting configuration is succeeded....

Build Web Application:  100% (10/10)

BUILD SUCCESSFUL

...[snip]...

[Warning] Failed to uninstall Wits
exec: error: too few arguments

Start install package...

Failed to install Wits

The device is a 2018 PM32F-BC. I tried installing the built Wits/tizen/build/Wits.wgt directly through Device Manager, too, but received a closed response.

Would you happen to have any clues as to what I'm doing wrong? Thanks!

Need more instructions

Hello,

I am confused about how Wits is supposed to work.

I followed the instructions and launched Wits on my Smart TV. It copied my project files and it just stays on loading 100%. In the terminal, I see that it watches for the file changes and it stops if I minimize the app on the TV.

And that's it so far. I'm not sure how this is equivalent to building -> packaging -> reinstalling. I think I must be missing something.

Right now, I'm using Toast plugin with some custom scripts to rebuild and launch the app on TV in one command. The Wits idea sounds really cool and I'd like to try it out.

Thanks for your help!

Error: There is invalid WITS_USER_DATA

When running WITS in VSCode, I get the following error. I couldn't find any troubleshooting tips for this.

WITs::setWitsconfigInfo
setWitsconfigInfo:::Error: There is invalid profile. Please create a profile or active the profile.
start:::Error: There is invalid WITS_USER_DATA

Regression in v2.3.2: wits can't read stored device IP from `.witsconfig.json`

OS: MacOS Catalina

Steps to reproduce:

  1. Run wits -i and input all data.
  2. Run wits -s.

Result on v2.3.2:

 _      ____________
| | /| / /  _/_  __/__
| |/ |/ // /  / / (_-<
|__/|__/___/ /_/ /___/

Start running Wits............

      > [ Stored Information ]

      > baseAppPath  : /Users/<user>/Projects/<project>
      > width        : 1920
      > deviceIp     : null
      > socketPort   : 8498
      > isDebugMode  : false

      > profile path : /Users/<user>/tizen-studio-data/profile/profiles.xml
      > hostIp       : undefined

There is no deviceIp, Please do "wits -i" for configuration.

Result on v.2.2.0:

 _      ____________
| | /| / /  _/_  __/__
| |/ |/ // /  / / (_-<
|__/|__/___/ /_/ /___/

Start running Wits............

      > [ Stored Information ]

      > baseAppPath  : /Users/<user>/Projects/<project>
      > width        : 1920
      > deviceIp     : 0.0.0.0
      > socketPort   : 3438
      > isDebugMode  : true

      > profile path : /Users/<user>/tizen-studio-data/profile/profiles.xml
      > hostIp       : 192.168.1.67

content src is : /index.html

Start packaging Samsung Tizen TV Platform......

      > [ Stored Information ]

      > baseAppPath  : /Users/xite_trebuh/workspace/BasicProject
      > width        : 1920
      > deviceIp     : 0.0.0.0
      > socketPort   : 3438
      > isDebugMode  : true

...

wits start giving error

I installed the wits globally and trying to setup the wits in emulator

I setup the wits config using the wits -i command, see the screenshot below

Screenshot 2021-08-30 at 11 45 02

then I started the wits in watch mode , wits -w --verbose then I got the below error in the screenshot

Screenshot 2021-08-30 at 11 48 26

Screenshot 2021-08-30 at 11 48 41

One Thing I noted is my app id in config.xml is zPFhhtkB67.BasicProject but in the command I am seeing in terminal I found it is trying to run app with this id zPFhhtkB67.BasicProjectWITs, seeing extra WITS in that

Please help me why I am getting this error, I am able to install and debug the app in the emulator through tizen studio.

thanks in advance for any help

app_id[Wits] install failed[118012]

app_id[Wits] install start
app_id[Wits] installing[7]
app_id[Wits] installing[10]
app_id[Wits] installing[13]
app_id[Wits] installing[15]
app_id[Wits] installing[18]
app_id[Wits] installing[21]
app_id[Wits] installing[23]
app_id[Wits] install failed[118012]

What should we do if this happens?

I've tried all of the connection methods, setting certificate profile, etc. but it still fails. :-/

My capabilities are missing "sdk_toolpath"

capability secure_protocol:enabled
capability intershell_support:disabled
capability filesync_support:push
capability usbproto_support:enabled
capability sockproto_support:enabled
capability syncwinsz_support:enabled
capability rootonoff_support:disabled
capability zone_support:disabled
capability multiuser_support:disabled
capability cpu_arch:armv7
capability profile_name:tv
capability vendor_name:Samsung
capability can_launch:tv-samsung-public_-_tv-samsung-partner
capability platform_version:2.4.0
capability product_version:2.0
capability sdbd_version:2.2.31
capability sdbd_plugin_version:1.0.0
capability sdbd_cap_version:1.0
capability
capability
appInstallPath

Got [Warning]: Failed to resolved /home/owner/share/tmp/sdk_tools/Wits

Set up everything and launched WTIs, but in the browser WITs stay Disconnected and at the console I see these messages:


main.js:37 onload!!!
main.js:142 reqAppControl.appControl.data
main.js:143 Array(4)
main.js:58 [Warning]: Failed to resolved /home/owner/share/tmp/sdk_tools/Wits
172.28.195.69:8498/socket.io/?EIO=3&transport=polling&t=1555365479786-0
Failed to load resource: net::ERR_TIMED_OUT

ReferenceError when connecting to TV

I'm getting the following error when attempting to connect to my TV:

 <user>@MacBook-Pro  ~/workspace/Empty  wits -s
 _      ____________
| | /| / /  _/_  __/__
| |/ |/ // /  / / (_-<
|__/|__/___/ /_/ /___/

Start running Wits............

      > [ Stored Information ]

      > baseAppPath  : /Users/<user>/workspace/Empty
      > width        : 1920
      > deviceIp     : 192.168.1.65
      > socketPort   : 26101
      > isDebugMode  : true

      > profile path : /Users/<user>/tizen-studio-data/profile/profiles.xml
      > hostIp       : 192.168.1.67

connect to....192.168.1.65
Success to connect 192.168.1.65
(node:22068) UnhandledPromiseRejectionWarning: ReferenceError: deviceIpAddress is not defined
    at Object.getDeviceName (/Users/<user>/.nvm/versions/node/v12.18.3/lib/node_modules/@tizentv/wits/lib/deviceConnectHelper.js:49:17)
    at Object.getConnectedDeviceInfo (/Users/<user>/.nvm/versions/node/v12.18.3/lib/node_modules/@tizentv/wits/lib/deviceConnectHelper.js:13:47)
    at Object.getDeviceInfo (/Users/<user>/.nvm/versions/node/v12.18.3/lib/node_modules/@tizentv/wits/lib/userInfoHelper.js:69:42)
    at Object.run (/Users/<user>/.nvm/versions/node/v12.18.3/lib/node_modules/@tizentv/wits/command/start.js:38:49)
    at Object.<anonymous> (/Users/<user>/.nvm/versions/node/v12.18.3/lib/node_modules/@tizentv/wits/lib/cli.js:31:18)
    at Module._compile (internal/modules/cjs/loader.js:1137:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
    at Module.load (internal/modules/cjs/loader.js:985:32)
    at Function.Module._load (internal/modules/cjs/loader.js:878:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
(node:22068) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:22068) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Tizen studio shows a TV connected at this IP address:
image

I tried changing the port number, but it made no difference.

It all works well when running on a Tizen simulator on the same device.

Failed to uninstall wits

Can anyone help me solve this issue? I have already tried full TV reset, but it doesn't help. There is no Wits installed on TV.

Wits 2.4.7
macOS Big Sur 11.1
Tizen 5.5 TV

Start running Wits............

[@tizentv/tools]tools.getToolPath: toolName = sdb

  > [ Stored Information ]

  > baseAppPath  : /........
  > width        : 1920
  > deviceIp     : 192.168.0.121
  > isDebugMode  : true

  > profile path : /usr/local/lib/node_modules/@tizentv/wits/resource/profiles.xml
  > hostIp       : 192.168.0.100

connect to....192.168.0.121
Success to connect 192.168.0.121
content src is : index.html

Start packaging Samsung Tizen TV Platform......

[webide-common-tizentv]projectHelper.buildWidget() profilePath = /usr/local/lib/node_modules/@tizentv/wits/resource/profiles.xml, excludeFiles = undefined
After build package, signature tempory files were removed
[webide-common-tizentv]projectHelper.widget.on(): Build Package completed!
============================== Build Package completed!

============================== Start to install the package

[warning] Failed to uninstall Wits

Failed to install Wits

Message error

wits --start 수행 후 실패시 메세지 깨집니다

connect to.... xxx.xxx.xxx.xxx
'sdb'��(��) ���� �Ǵ� �ܺ� ����, ������ �� �ִ� ���α׷�, �Ǵ�
��ġ ������ �ƴմϴ�.
Failed to connect xxx.xxx.xxx.xxx

환경
window 10, tizen studio 설치 하지 않음
powershell, cmd 동일한 이슈 발생합니다.

Getting 'Failed to load resource' when running an application build.

Hi, I am experimenting with Wits and when I try to run an application build from WWW directory, I get Failed to load resource: net::ERR_FILE_NOT_FOUND error. I tried to change src link from src="/static/..." to src="./static/..." and then it works fine but it is very inconveniente to always change my application build manually. You should build Wits, so it would read same directory files without ./ o rperaphs there is already a way to overcome this?

Getting "app_id[Wits] download failed[16]" during install?

Start Wits............
? Input your Application Path : www
? Input your Application width (1920 or 1280) : 1920
? Input your TV Ip address(If using Emulator, input 0.0.0.0) : 10.8.82.242
? Input your port number : 8498
? Do you want to launch with chrome DevTools? :  No
{ baseAppPath: 'www',
  width: '1920',
  ip: '10.8.82.242',
  port: '8498',
  isDebugMode: false }
connect to....10.8.82.242
10.8.82.242:26101 is already connected
Success to connect 10.8.82.242
List of devices attached
10.8.82.242:26101       device          UN43KU6300
emulator-26101          device          T-samsung-5.0-x86
? Select the device to launch Wits : 10.8.82.242:26101
secure_protocol:enabled
intershell_support:disabled
filesync_support:push
usbproto_support:enabled
sockproto_support:enabled
syncwinsz_support:enabled
rootonoff_support:disabled
zone_support:disabled
multiuser_support:disabled
cpu_arch:armv7
profile_name:tv
vendor_name:Samsung
can_launch:tv-samsung-public_-_tv-samsung-partner
platform_version:2.4.0
product_version:2.0
sdbd_version:2.2.31
sdbd_plugin_version:1.0.0
sdbd_cap_version:1.0

appInstallPath
content src is : index.html

Start packaging Samsung Tizen TV Platform......
Tizen CLI 2.4.48
Setting configuration is succeeded....

Build Web Application:  100% (10/10)

BUILD SUCCESSFUL

Output path : <redacted>/tizen/.buildResult
Excluded : [.build/*, .build, .sign/*, .sign, webUnitTest/*, webUnitTest, .externalToolBuilders/*, .externalToolBuilders, .buildResult/*, .buildResult, .settings/*, .settings, .package/*, .package, .tproject, .project, .sdk_delta.info, .rds_delta, *.wgt, .tizen-ui-builder-tool.xml]
Total time: 00:00:00.480
Author certficate: <redacted>/release-tizon.p12
Distributor1 certificate : <redacted>/tizen-distributor-signer.p12
Excludes File Pattern: {.manifest.tmp, .delta.lst}
Ignore File: <redacted>/tizen/.buildResult/.manifest.tmp
Package File Location: <redacted>/tizen/.buildResult/Wits.wgt
Package created at <redacted>/tizen/build/Wits.wgt
uninstall Wits
app_id[Wits] uninstall start
app_id[Wits] uninstall failed[132]
spend time for wascmd is [35]ms
cmd_ret:0

[warning] Failed to uninstall Wits
error: too few arguments
info: sdb push <local> <remote> [--with-utf8]
exec: error: too few arguments

install Wits
package_path Wits.wgt
was_install_app return WAS_TRUE
app_id[Wits] install start
app_id[Wits] download failed[16]
spend time for wascmd is [32]ms
cmd_ret:0

Failed to install Wits
✨  Done in 11.64s.

Tizen 3.0 wits support

Error: Command failed
     at checkExecSyncError (node:child_process:871:11)
     at execSync (node:child_process:943:15)
     at Object.launchDebugMode (/Users/marty/tizen/philo-tizen/node_modules/@tizentv/wits/lib/appLaunchHelper.js:74:13)
     at /Users/marty/tizen/philo-tizen/node_modules/@tizentv/wits/command/start.js:48:43
     at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
   status: 1,
   signal: null,
   output: [ null, '', 'closed\n' ],
   pid: 80670,
   stdout: '',
   stderr: 'closed\n'
 }

Wits doesn't work on Tizen 3.0 (2017) devices.

In order to get it to work you need to go to @tizentv/wits/lib/appLaunchHelper.js and inside launchDebugMode, result needs to be:

execSync(APP_LAUNCH_DEBUG_MODE_COMMAND_TIMEOUT, {
 encoding: 'utf-8',
 stdio: 'pipe'
});

the regular APP_LAUNCH_DEBUG_MODE_COMMAND needs to be commented out.

Failed packaging in Ubuntu

I get this error when run wits -s

Start packaging Samsung Tizen TV Platform......

[webide-common-tizentv]projectHelper.buildWidget() profilePath = /home/widya/tizen-studio-data/profile/profiles.xml, excludeFiles = undefined
[@tizentv/tools]tools.getToolPath: toolName = certificate-encryptor
cryptTool = /home/widya/tizentv-tools/certificate-encryptor/secret-tool
PKCS#12 MAC could not be verified. Invalid password?
(node:8028) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'privateKey' of null
    at PackageSigner.signPackage (/usr/lib/node_modules/@tizentv/wits/node_modules/@tizentv/webide-common-tizentv/lib/packageSigner.js:180:48)
    at Promise (/usr/lib/node_modules/@tizentv/wits/node_modules/@tizentv/webide-common-tizentv/lib/projectHelper.js:117:23)
    at process._tickCallback (internal/process/next_tick.js:68:7)
    at Function.Module.runMain (internal/modules/cjs/loader.js:834:11)
    at startup (internal/bootstrap/node.js:283:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
(node:8028) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:8028) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Please advice, thanks 🙏

Wits with angular 4 application is failing

I am getting following log at the end of the build:

WARNING: Your data are to be sent over an unencrypted connection and could be read by others.
error: failed to get status of 'C:/Users/Gautam/Desktop/cf-tizen/tizenSrc/assets/images/arrow-back': No such file or directory
error: failed to get status of '2.png': No such file or directory
error: failed to get status of '/home/owner/share/tmp/sdk_tools/Wits/assets/images/arrow-back': No such file or directory

I have a arrow-back.png in the images directory.

Please see the list of assets:

PS C:\Users\Gautam\Desktop\cf-tizen\tizenSrc\assets\images> ls


    Directory: C:\Users\Gautam\Desktop\cf-tizen\tizenSrc\assets\images


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
-a----        1/22/2019  12:18 PM          10244 .DS_Store
-a----        1/22/2019  12:18 PM         161608 1.png
-a----        1/22/2019  12:18 PM          12736 2.jpg
-a----        1/22/2019  12:18 PM          11213 3.jpg
-a----        1/22/2019  12:18 PM            327 add.png
-a----        1/22/2019  12:18 PM            250 arrow-back 2.png
-a----        1/22/2019  12:18 PM            250 arrow-back.png
-a----        1/22/2019  12:18 PM            426 [email protected]
-a----        1/22/2019  12:18 PM            601 [email protected]
-a----        1/22/2019  12:18 PM           1570 arrow-left-sm.png
-a----        1/22/2019  12:18 PM           1556 arrow-left.png
-a----        1/22/2019  12:18 PM           1550 arrow-right-sm.png
-a----        1/22/2019  12:18 PM            753 back-white.png
-a----        1/22/2019  12:18 PM        3122223 background-image.png
-a----        1/22/2019  12:18 PM            821 bought.png
-a----        1/22/2019  12:18 PM          42912 cf-logo-black.png
-a----        1/22/2019  12:18 PM           3622 check.png
-a----        1/22/2019  12:18 PM           7269 collection.jpg
-a----        1/22/2019  12:18 PM          47232 default-item-large.png
-a----        1/22/2019  12:18 PM           7638 default-item.png
-a----        1/22/2019  12:18 PM           1037 exclamation.png
-a----        1/22/2019  12:18 PM           1149 favourite.png
-a----        1/22/2019  12:18 PM            386 favourited.png
-a----        1/22/2019  12:18 PM         699428 featured-img.png
-a----        1/22/2019  12:18 PM           9972 [email protected]
-a----        1/22/2019  12:18 PM            948 free.png
-a----        1/22/2019  12:18 PM           1883 gift.png
-a----        1/22/2019  12:18 PM           1374 giftSelected.png
-a----        1/22/2019  12:18 PM           9266 h&c-logo.png
-a----        1/22/2019  12:18 PM          43273 handc-play-logo.png
-a----        1/22/2019  12:18 PM            291 home-icon.png
-a----        1/22/2019  12:18 PM            484 home.png
-a----        1/22/2019  12:18 PM           3859 [email protected]
-a----        1/22/2019  12:18 PM            846 hover.png
-a----        1/22/2019  12:18 PM           1415 [email protected]
-a----        1/22/2019  12:18 PM        2370588 image-1.jpg
-a----        1/22/2019  12:18 PM        1458090 live.png
-a----        1/22/2019  12:18 PM          94424 loader.gif
-a----        1/22/2019  12:18 PM            815 locked.png
-a----        1/22/2019  12:18 PM            780 login.png
-a----        1/22/2019  12:18 PM           2461 logo.png
-a----        1/22/2019  12:18 PM            679 notFavourite.png
-a----        1/22/2019  12:18 PM           4754 Now-Playing.png
-a----        1/22/2019  12:18 PM            724 play-2-b-dark.png
-a----        1/22/2019  12:18 PM            724 play-dark.png
-a----        1/22/2019  12:18 PM           1920 play-light.png
-a----        1/22/2019  12:18 PM           2559 purchase-failed.png
-a----        1/22/2019  12:18 PM            152 remove.png
-a----        1/22/2019  12:18 PM           1505 rented.png
-a----        1/22/2019  12:18 PM            275 saved.png
-a----        1/22/2019  12:18 PM           3206 search-box.png
-a----        1/22/2019  12:18 PM            695 search-icon.png
-a----        1/22/2019  12:18 PM           1505 search-xl.png
-a----        1/22/2019  12:18 PM            958 [email protected]
-a----        1/22/2019  12:18 PM           9667 showman.jpeg
-a----        1/22/2019  12:18 PM         504642 standard.png
-a----        1/22/2019  12:18 PM           1097 star-button-fill.png
-a----        1/22/2019  12:18 PM           1430 star-button-outline.png
-a----        1/22/2019  12:18 PM           1058 star-empty.svg
-a----        1/22/2019  12:18 PM            784 star-full.svg
-a----        1/22/2019  12:18 PM           1110 star-half-full.svg
-a----        1/22/2019  12:18 PM           2695 up-next.png
-a----        1/22/2019  12:18 PM            329 watchcheck.png
-a----        1/22/2019  12:18 PM         115685 Water.jpg

Connectioninfo.json

{
  "recentlyBaseAppPath": "C:/Users/Gautam/Desktop/cf-tizen/tizenSrc",
  "baseAppPaths": [
    "C:/Users/Gautam/Desktop/cf-tizen/tizenSrc"
  ],
  "width": "1920",
  "ip": "10.154.3.141",
  "port": "8498",
  "isDebugMode": false
}

Read `deviceIp` from cli options or `.env` files

In order to avoid changing .witsconfig.json non stop when switching between emulator and real device, it would be good to make deviceIp configurable, either reading it from cli options or .env files.
Or even make .witsconfig.json available as .js file so that we can do this on our end.

Wits stoped installing on device

I've had this happen on 2 different devices, I'm trying to run wits -s --verbose I'd be saving a file and then Wits fails to install, The wits app will no longer load to the apps screen, I've tried factory resetting the device. Not sure what else to do. I can get this to work as is after adjusting the .witsconfig for IP address on other devices. Is there some other version of factory reset to clear the TV? or am I looking at the problem wrong. Thanks for any help!


      > [ Stored Information ]

      > baseAppPath  : /Users/tony/Desktop/Code/WITsProject
      > width        : 1920
      > deviceIp     : 192.168.1.89
      > isDebugMode  : true

      > profile path : /Users/tony/Desktop/Code/WITsProject/node_modules/@tizentv/wits/resource/profiles.xml
      > hostIp       : 192.168.1.37

connect to....192.168.1.89
192.168.1.89:26101 is already connected

Success to connect 192.168.1.89
List of devices attached 
192.168.1.89:26101      device          UN43TU700DFXZA

secure_protocol:enabled
intershell_support:disabled
filesync_support:pushpull
usbproto_support:disabled
sockproto_support:enabled
syncwinsz_support:enabled
sdbd_rootperm:disabled
rootonoff_support:disabled
encryption_support:disabled
zone_support:disabled
multiuser_support:enabled
cpu_arch:armv7
sdk_toolpath:/home/owner/share/tmp/sdk_tools
profile_name:tv
vendor_name:Samsung
can_launch:tv-samsung
device_name:Tizen
platform_version:6.0
product_version:4.0
sdbd_version:2.2.31
sdbd_plugin_version:3.8.4_TV_REL
sdbd_cap_version:1.0
log_enable:disabled
log_path:/tmp
appcmd_support:disabled
appid2pid_support:enabled
pkgcmd_debugmode:enabled
netcoredbg_support:enabled


content src is : dist/index.html

Start packaging Samsung Tizen TV Platform......

[webide-common-tizentv]projectHelper.buildWidget() profilePath = /Users/tony/Desktop/Code/WITsProject/node_modules/@tizentv/wits/resource/profiles.xml, excludeFiles = undefined
After build package, signature tempory files were removed
[webide-common-tizentv]projectHelper.widget.on(): Build Package completed!
============================== Build Package completed!

============================== Start to install the package

uninstall WITsProject
app_id[WITsProject] uninstall start
app_id[WITsProject] uninstall failed[132]
spend time for wascmd is [50]ms


[warning] Failed to uninstall Wits
WARNING: Your data are to be sent over an unencrypted connection and could be read by others.
pushed                       WITs.wgt   100%        136KB           0KB/s
1 file(s) pushed. 0 file(s) skipped.
/Users/tony/Desktop/Code/WITsProject/node_modules/@tizentv/wits/container/WITs.wgt   1300KB/s (140174 bytes in 0.105s)


install WITsProject
package_path /home/owner/share/tmp/sdk_tools/WITs.wgt
app_id[WITsProject] install start
app_id[WITsProject] installing[8]
app_id[WITsProject] installing[10]
app_id[WITsProject] installing[12]
app_id[WITsProject] installing[14]
app_id[WITsProject] installing[17]
app_id[WITsProject] installing[19]
app_id[WITsProject] installing[21]
app_id[WITsProject] installing[23]
app_id[WITsProject] installing[25]
app_id[WITsProject] install failed[118, -11], reason: Author certificate not match : 
spend time for wascmd is [1042]ms


Failed to install Wits
✨  Done in 2.20s.```

Google Chrome window is not opened on Wits start

When running a Web application on Tizen 5.0 TV using Wits, I have the following error in the terminal, even though the application is running fine and I can edit the code in real time.

Node.js v8.12.0, macOS Catalina

How can this be fixed?

(node:6933) UnhandledPromiseRejectionWarning: Error
    at new LauncherError (/Users/user/Wits/node_modules/chrome-launcher/dist/utils.js:35:22)
    at new ChromeNotInstalledError (/Users/user/Wits/node_modules/chrome-launcher/dist/utils.js:66:9)
    at Launcher.<anonymous> (/Users/user/Wits/node_modules/chrome-launcher/dist/chrome-launcher.js:145:27)
    at Generator.next (<anonymous>)
    at fulfilled (/Users/user/Wits/node_modules/chrome-launcher/dist/chrome-launcher.js:9:58)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:189:7)
(node:6933) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:6933) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
a user connected

I get IDS_WEBVIEW_HEADER_THIS_WEBPAGE_IS_NOT_AVAILABLE after npm start

I successfully launched Wits on my TV, but I got the following error message:

IDS_WEBVIEW_HEADER_THIS_WEBPAGE_IS_NOT_AVAILABLE
IDS_WEBVIEW_BODY_UNABLE_TO_LOAD_THE_PAGE_PS_MAY_BE_TEMPORARILY_DOWN_OR_HAVE_MOVED_TO_A_NEW_URL

I tried with my app and also with a basic app generated from Tizen Studio. Same result.

Upgrading XML parser

As we're currently using xml2js v0.4.17, I wanted to suggest using fast-xml-parser due to performance;

file size fxp 3.0 validator (rps) fxp 3.0 parser (rps) xml2js 0.4.19 (rps)
1.5k 16581.06758 14032.09323 4615.930805
1.5m 14918.47793 13.23366098 5.90682005
13m 1.834479235 1.135582008 -1
1.3k with CDATA 30583.35319 43160.52342 8398.556349
1.3m with CDATA 27.29266471 52.68877009 7.966000795
1.6k with cdata,prolog,doctype 27690.26082 41433.98547 7872.399268
98m 0.08473858148 0.2600104004 -1

-1 indicates the error.

[Fix] Wits doesn't run with debug on 2017 device

Hello,
Wits doesn't seem to be able to launch app with debug mode (web inspector) on my 2017 Smart TV. It seems to be connected with issue #11 in which @jfrux said

I'll do some testing and if I can get it all working, I'll write it in a universal way so that it supports both and submit a PR.

but it doesn't look like it went anywhere from there so if you don't mind I'd like to submit a PR in which I will add the 300 miliseconds delay at the end of the command like sdb -s deviceName 0 debug appID 300
300 miliseconds delay always worked for me and I tested dozens of SmartTVs.

Disconnected on WITs

I have a strange bug on WITs. Samsung TV model UE43TU7000XTK

============================== Start to install the package
listening on 2108
Chrome debugging port running on 56858

I have no error on console but when i started WITs I have this shot on TV
https://i.hizliresim.com/didXzW.jpg

There isn't any action, nothing loading and i cant debug with TV.

List of valid sdb shell commands

This might be the wrong place to ask, but I haven't found any information anywhere on valid commands to give sdb shell.

The official documentation only mentions commands when you have SDB remote shell access:
https://developer.tizen.org/development/tizen-studio/web-tools/running-and-testing-your-app/sdb#issuing_commands

I work with Samsung Hotel TVs and SSSP screens where shell access is locked, so a basic sdb shell ls outputs nothing.

In this project and webIDE-common-tizentv/ (which is used the hood in the vscode-extension-tizentv), you both use a sdb shell 0 <command> syntax, e.g. with <command> as debug:

Questions:

  1. What does the 0 mean?
  2. How do you know that debug is a valid <command> to give sdb shell 0 <command>? Can I somehow see all valid commands?

I've asked the Samsung B2B Q&A the same question, but they had no answer.

Thanks,
– Andreas

Failed to connect 0.0.0.0

I am getting this error.
Failed to connect 0.0.0.0

I am using windows 10, Emulator working in my side.
But in wits, I am getting this error.

Sometimes, Failed to run Wits with follow error message.

When I run Wits, sometimes failed with follow error message.
...
events.js:183
throw er; // Unhandled 'error' event
^

Error: listen EADDRINUSE :::8888
at Server.setupListenHandle [as _listen2] (net.js:1360:14)
at listenInCluster (net.js:1401:12)
at Server.listen (net.js:1485:7)
at ChildProcess.exithandler (child_process.js:268:7)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:915:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: node app.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
...

Failed to install WITs

So, I think I have everything set up right in my permissions per this and I can make a 'wgt' file independently with the 'tizen command. So, certificates look right.

https://developer.samsung.com/smarttv/develop/getting-started/using-sdk/command-line-interface.html

However, I try to do

wits -s

...and with a little bit of enhanced logging magic (setting {silent: false} where needed in the library), I get this.

Start running Wits............

[@tizentv/tools]tools.getToolPath: toolName = sdb

      > [ Stored Information ]

      > baseAppPath  : /Users/p2713850/samsung-tv/samsung-tizen-wrapper
      > width        : 1280
      > deviceIp     : 192.168.2.3
      > isDebugMode  : false

      > profile path : /Users/p2713850/profiles.xml
      > hostIp       : 192.168.2.1

connect to....192.168.2.3
Success to connect 192.168.2.3
content src is : index.html

Start packaging Samsung Tizen TV Platform......

[webide-common-tizentv]projectHelper.buildWidget() profilePath = /Users/p2713850/profiles.xml, excludeFiles = undefined
After build package, signature tempory files were removed
[webide-common-tizentv]projectHelper.widget.on(): Build Package completed!
============================== Build Package completed!

============================== Start to install the package

[warning] Failed to uninstall Wits, yo. /Users/p2713850/tizentv-tools/sdb/sdb -s 192.168.2.3:26101 shell 0 vd_appuninstall TizenWrapperWITs 
uninstall TizenWrapperWITs
app_id[TizenWrapperWITs] uninstall start
app_id[TizenWrapperWITs] uninstall failed[132]
spend time for wascmd is [8]ms
cmd_ret:0

Failed to install Wits /Users/p2713850/tizentv-tools/sdb/sdb -s 192.168.2.3:26101 shell 0 vd_appinstall TizenWrapperWITs /home/owner/share/tmp/sdk_tools/WITs.wgt 
install TizenWrapperWITs
package_path /home/owner/share/tmp/sdk_tools/WITs.wgt
was_install_app return WAS_TRUE
app_id[TizenWrapperWITs] install start
app_id[TizenWrapperWITs] installing[10]
app_id[TizenWrapperWITs] installing[12]
app_id[TizenWrapperWITs] installing[15]
app_id[TizenWrapperWITs] installing[17]
app_id[TizenWrapperWITs] installing[20]
app_id[TizenWrapperWITs] installing[22]
app_id[TizenWrapperWITs] installing[25]
app_id[TizenWrapperWITs] install failed[118, -12], reason: Check certificate error : :Invalid certificate chain with certificate in signature.:<-3>
spend time for wascmd is [765]ms
cmd_ret:0
➜  samsung-tizen-wrapper git:(master) ✗ 

Now, my one concern is that I may not have this connected, however if I do:

sdb devices

I show connected to my TV.

So that can't be. Certificate looks right. Connection to the TV looks right (checked IP pairing).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.