Samsung / Wits

Wits for Your Tizen web application development.It will saved your development times and bring pleasure of developing out. Using Wits, You can instantly RELOAD your app's JavaScript/CSS code instead of reinstalling your app every time you make a change.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I get IDS_WEBVIEW_HEADER_THIS_WEBPAGE_IS_NOT_AVAILABLE after npm start

caymard opened this issue · comments

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.

Hi
I have never seen a this message.
and if your app which is basic app generated also will occur same result,
I think your application has some reason.
Can you share your app? I will check it.

Since I have the same issue with my app and and empty basic app there is no need to share it. This is the test process I have:

tizen create web-project -n witsTest -p tv-5.0 -t WebBasicapplication -- $PWD
cd Wits
cat connectionInfo.json
# {
#  "recentlyBaseAppPath": "/home/caymard/dev/witsTest",
#  "baseAppPaths": [
#    "/home/caymard/dev/witsTest"
#  ],
#  "width": "1920",
#  "ip": "192.168.0.42",
#  "port": "8498",
#  "isDebugMode": true
#}
npm start

Then I see the error message on my screen.

These are the logs from npm start:

> Wits@1.0.0 start /home/caymard/dev/Wits
> node app.js

Start Wits............
? Input your Application Path : /home/caymard/dev/witsTest
? Input your Application width (1920 or 1280) : 1920
? Input your TV Ip address(If using Emulator, input 0.0.0.0) : 192.168.0.42
? Input your port number : 8498
? Do you want to launch with chrome DevTools? :  Yes
{ baseAppPath: '/home/caymard/dev/witsTest',
  width: '1920',
  ip: '192.168.0.42',
  port: '8498',
  isDebugMode: true }
connect to....192.168.0.42
connecting to 192.168.0.42:26101 ...
connected to 192.168.0.42:26101
Success to connect 192.168.0.42
List of devices attached 
192.168.0.42:26101  	device    	QB43N
192.168.0.41:26101  	device    	PM32F
? Select the device to launch Wits : 192.168.0.42:26101
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.0_TV_REL
sdbd_cap_version:1.0
log_enable:disabled
log_path:/tmp
appcmd_support:disabled
appid2pid_support:enabled
pkgcmd_debugmode:enabled

appInstallPath /home/owner/share/tmp/sdk_tools/
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 : /home/caymard/dev/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.370
Author certficate: /home/caymard/tizen-studio-data/keystore/author/clement.p12
Distributor1 certificate : /home/caymard/tizen-studio/tools/certificate-generator/certificates/distributor/tizen-distributor-signer.p12
Excludes File Pattern: {.manifest.tmp, .delta.lst}
Ignore File: /home/caymard/dev/Wits/tizen/.buildResult/.manifest.tmp
Package File Location: /home/caymard/dev/Wits/tizen/.buildResult/Wits.wgt
Package created at /home/caymard/dev/Wits/tizen/build/Wits.wgt
uninstall Wits
app_id[Wits] uninstall start
app_id[Wits] uninstalling[4]
app_id[Wits] uninstalling[8]
app_id[Wits] uninstalling[13]
app_id[Wits] uninstalling[17]
app_id[Wits] uninstalling[21]
app_id[Wits] uninstalling[26]
app_id[Wits] uninstalling[30]
app_id[Wits] uninstalling[34]
app_id[Wits] uninstalling[39]
app_id[Wits] uninstalling[43]
app_id[Wits] uninstalling[47]
app_id[Wits] uninstalling[52]
app_id[Wits] uninstalling[56]
app_id[Wits] uninstalling[60]
app_id[Wits] uninstalling[65]
app_id[Wits] uninstalling[69]
app_id[Wits] uninstalling[73]
app_id[Wits] uninstalling[78]
app_id[Wits] uninstalling[82]
app_id[Wits] uninstalling[86]
app_id[Wits] uninstalling[91]
app_id[Wits] uninstalling[95]
app_id[Wits] uninstalling[100]
app_id[Wits] uninstall completed
spend time for wascmd is [886]ms
cmd_ret:0
WARNING: Your data are to be sent over an unencrypted connection and could be read by others.
pushed                       Wits.wgt	100%	    118KB	    0KB/s
1 file(s) pushed. 0 file(s) skipped.
tizen/build/Wits.wgt             856KB/s (121308 bytes in 0.138s)
install Wits
package_path /home/owner/share/tmp/sdk_tools/Wits.wgt
was_install_app return WAS_TRUE
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] installing[26]
app_id[Wits] installing[28]
app_id[Wits] installing[31]
app_id[Wits] installing[34]
app_id[Wits] installing[36]
app_id[Wits] installing[39]
app_id[Wits] installing[42]
app_id[Wits] installing[44]
app_id[Wits] installing[47]
app_id[Wits] installing[50]
app_id[Wits] installing[52]
app_id[Wits] installing[55]
app_id[Wits] installing[57]
app_id[Wits] installing[60]
app_id[Wits] installing[63]
app_id[Wits] installing[65]
app_id[Wits] installing[68]
app_id[Wits] installing[71]
app_id[Wits] installing[73]
app_id[Wits] installing[76]
app_id[Wits] installing[78]
app_id[Wits] installing[81]
app_id[Wits] installing[84]
app_id[Wits] installing[86]
app_id[Wits] installing[89]
app_id[Wits] installing[92]
app_id[Wits] installing[94]
app_id[Wits] installing[97]
app_id[Wits] installing[100]
app_id[Wits] install completed
spend time for wascmd is [1005]ms
cmd_ret:0
... successfully launched pid = 1594 with debug 1 port: 51838
error: cannot remove forward listener
listening on  8498
Chrome debugging port running on 44667
a user connected
new client contected, id =   h8ReleRPZTzDxs6VAAAA
socket on::::push_request
[warning] Failed to get Wits ignore
Total File Number : 6
WARNING: Your data are to be sent over an unencrypted connection and could be read by others.
pushed                     config.xml	100%	    501 B	    0KB/s
1 file(s) pushed. 0 file(s) skipped.
/home/caymard/dev/witsTest/config.xml   2KB/s (501 bytes in 0.194s)
WARNING: Your data are to be sent over an unencrypted connection and could be read by others.
pushed                       icon.png	100%	     25KB	    0KB/s
1 file(s) pushed. 0 file(s) skipped.
/home/caymard/dev/witsTest/icon.png   187KB/s (25897 bytes in 0.135s)
WARNING: Your data are to be sent over an unencrypted connection and could be read by others.
pushed                      .tproject	100%	    221 B	    0KB/s
1 file(s) pushed. 0 file(s) skipped.
/home/caymard/dev/witsTest/.tproject   1KB/s (221 bytes in 0.170s)
WARNING: Your data are to be sent over an unencrypted connection and could be read by others.
pushed                     index.html	100%	    590 B	    0KB/s
1 file(s) pushed. 0 file(s) skipped.
/home/caymard/dev/witsTest/index.html   3KB/s (590 bytes in 0.167s)
WARNING: Your data are to be sent over an unencrypted connection and could be read by others.
pushed                      style.css	100%	    329 B	    0KB/s
1 file(s) pushed. 0 file(s) skipped.
/home/caymard/dev/witsTest/css/style.css   1KB/s (329 bytes in 0.180s)
WARNING: Your data are to be sent over an unencrypted connection and could be read by others.
pushed                        main.js	100%	    552 B	    0KB/s
1 file(s) pushed. 0 file(s) skipped.
/home/caymard/dev/witsTest/js/main.js   2KB/s (552 bytes in 0.180s)
^CExit Wits............
 disconnect, id =  h8ReleRPZTzDxs6VAAAA

Sorry but Wit process work fine with your log.
File push complete, Wits load your content html file in Iframe tag which is located Wits DOM.
I think the issue occurred at that point.
Please check again your html file.
thank you