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.
Apache License 2.0
113 stars 25 forks source link

Error: There is invalid WITS_USER_DATA #89

Open needz opened 3 years ago

needz commented 3 years ago

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

prozanne commented 3 years ago

Hi,

For using VSCode, since the profile path of extension is addressing inside their location, you should create a new certification for VSCode.

Enter to the palette > Tizen TV: Run certificate manager > Create Profile (Tizen) And then, Tizen TV: WITs start again.

Thanks. Rosie

needz commented 3 years ago

@prozanne , thanks, after I created the certificate, it progresses further, but there is now another error:

Failed to install Wits
Error: Command failed: /***/***/tizentv-tools/sdb/sdb -s 192.168.0.123:26101 shell 0 debug ***.***WITs
closed

You can see there is WITs added at the end of command (. is the package name) and if I run this command manually without WITs at the end, it progresses further.

How can I fix this bug? Which file should I edit to remove the unnecessary "WITs" at the end of the command?

prozanne commented 3 years ago

Hi, there.

First, "WITs" at the end of package name is not a bug. WITs has a quite different construct. WITs is actually container application which we push your actual application codes to the iframe tag on WITs container application. If the package name is redundant It's gonna be real problem.

The reason why Wits hasn't been installed is I will look at. Thanks