Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13084] Tizen : Run on emulator & device errors out with the tizen sdk version 2.0.0

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionInvalid
Resolution Date2013-03-24T01:21:37.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTizen
Labelssdk-tizen
ReporterLokesh Choudhary
AssigneeIngo Muschenetz
Created2013-03-15T23:23:59.000+0000
Updated2014-06-19T12:42:38.000+0000

Description

Note: On the preview page the tizen sdk link to download is for 2.0.0a & this issue is for 2.0.0 version. Everything works fine with sdk version 2.0.0a Description: 1.Setup the tizen environment as per the preview page here: http://ec2-50-16-19-245.compute-1.amazonaws.com/studio/tizen/ 2.Make sure you install tizen sdk version 2.0.0 & not 2.0.0a given on the preview page. 3.You can also download tizen sdk from here : https://developer.tizen.org/downloads/tizen-sdk 4.Launch the tizen emulator. 5.Open the latest nightly studio & create a default app with target as tizen 6.Run on emulator/device Actual result: 1.The app builds but does not run on the emulator/device & gives the following log:
Titanium Command-Line Interface, CLI version 3.0.24, Titanium SDK version 3.1.0.v20130225195538
Copyright (c) 2012-2013, Appcelerator, Inc.  All Rights Reserved.
[INFO] :   Compiling "development" build
[INFO] :   Reading Titanium Mobile Web package.json file
[INFO] :   Processing tiapp.xml for tizen node
[INFO] :   <tizen> node. tizen app id:vexWAUg4AV
[INFO] :   <tizen> node available.
[INFO] :   Validating theme
[INFO] :   Copying project files
[INFO] :   Finding all Titanium API dependencies
[INFO] :   Creating favicon and Apple touch icons
[INFO] :   Finding all required modules to be cached
[INFO] :   Finding all precached modules
[INFO] :   Finding all precached images
[INFO] :   No Titanium Modules required, continuing
[INFO] :   Finding all distinct cached modules
[INFO] :   Found 334 dependencies, 1 package, 336 modules
[INFO] :   Assembling titanium.js
[INFO] :   Processing splash screen
[INFO] :   Assembling titanium.css
[INFO] :   Creating the filesystem registry
[INFO] :   Creating the index.html
[INFO] :   createConfigXml
[INFO] :   signing application in  "C:\Users\QEtester\Desktop\tistud\tistud-nightly\workspace\test_new/build/tizen" 
[INFO] :   this.tizenCert = undefined
[INFO] :   Signer commandline:  "java -jar C:\Users\QEtester\AppData\Roaming\Titanium\mobilesdk\win32\3.1.0.v20130225195538\tizen\utils\signapp.jar -sig_proj C:\Users\QEtester\Desktop\tistud\tistud-nightly\workspace\test_new/build/tizen" 
[INFO] :   Packaging application into wgt
[INFO] :   wgtPackaging7z  buildDir "C:\Users\QEtester\Desktop\tistud\tistud-nightly\workspace\test_new/build/tizen" 
[INFO] :   reading file: C:\Users\QEtester\AppData\Local\tizen-sdk-data\tizensdkpath
[INFO] :   Tizen SDK found at: C:\tizen-sdk
[INFO] :   Forsing widget uninstall cmd: C:\tizen-sdk\tools\ide\bin\web-uninstall.bat --id=http:// --device=emulator-26100
[INFO] :   Uninstall failed, 'http://' widget is not installed.
[INFO] :   UnInstalled wgt failed
[INFO] :   install cmd: C:\tizen-sdk\tools\ide\bin\web-run.bat --id=http:// --widget="C:\Users\QEtester\Desktop\tistud\tistud-nightly\workspace\test_new\build\tizen\tizenapp.wgt" --device=emulator-26100
[INFO] :   E: Invalid usage [Unrecognized option: --widget=C:\Users\QEtester\Desktop\tistud\tistud-nightly\workspace\test_new\build\tizen\tizenapp.wgt]
[INFO] :   Installed wgt: C:\Users\QEtester\Desktop\tistud\tistud-nightly\workspace\test_new\build\tizen\tizenapp.wgt
[INFO] :   Project built successfully in 12s 644ms
Expected Result: 1.The app should run with out any problems on simulator/device

Comments

  1. Lokesh Choudhary 2013-03-22

    I verified the issue on windows, it builds but does not launch on emulator or device. It gives me the following logs: 1.Win 8 log:
       Titanium Command-Line Interface, CLI version 3.0.24, Titanium SDK version 3.1.0.v20130322135539
       Copyright (c) 2012-2013, Appcelerator, Inc.  All Rights Reserved.
       [INFO] :   Compiling "development" build
       [INFO] :   Reading Titanium Mobile Web package.json file
       [INFO] :   Target device Id:  "emulator-26100" 
       [INFO] :   Processing tizen section of tiapp.xml
       [INFO] :   <tizen> node. tizen app id: vexWAUg4AV
       [INFO] :   tiapp.xml does not contains <tizen> node. Using default values
       [INFO] :   Validating theme
       [INFO] :   Copying project files
       [INFO] :   Finding all Titanium API dependencies
       [INFO] :   Creating favicon and Apple touch icons
       [INFO] :   Finding all required modules to be cached
       [INFO] :   Finding all precached modules
       [INFO] :   Finding all precached images
       [INFO] :   No Titanium Modules required, continuing
       [INFO] :   Finding all distinct cached modules
       [INFO] :   Found 338 dependencies, 1 package, 340 modules
       [INFO] :   Assembling titanium.js
       [INFO] :   Processing splash screen
       [INFO] :   Assembling titanium.css
       [INFO] :   Creating the filesystem registry
       [INFO] :   Creating the index.html
       [INFO] :   delete C:\Users\QEtester\Desktop\tistud\tistud-nightly\workspace\test_new/build/tizen/mobileweb/apple_startup_images
       [INFO] :   Signing application in  "C:\Users\QEtester\Desktop\tistud\tistud-nightly\workspace\test_new/build/tizen" 
       [INFO] :   Signer commandline:  "java -jar "C:\Users\QEtester\AppData\Roaming\Titanium\mobilesdk\win32\3.1.0.v20130322135539\tizen\utils\signapp.jar" -sig_proj C:\Users\QEtester\Desktop\tistud\tistud-nightly\workspace\test_new/build/tizen" 
       [INFO] :   Packaging application into wgt
       [INFO] :   Reading Tizen SDK location from: C:\Users\QEtester\AppData\Local\tizen-sdk-data\tizensdkpath
       [INFO] :   Tizen SDK found at: C:\tizen-sdk
       [INFO] :   Executing: C:\tizen-sdk\tools\ide\bin\web-uninstall.bat -t 10 -i vexWAUg4AV --device=emulator-26100
       [INFO] :   Uninstall failed, 'vexWAUg4AV' widget is not installed.
       [INFO] :   Executing: C:\tizen-sdk\tools\ide\bin\web-install.bat -t 10  --widget="C:\Users\QEtester\Desktop\tistud\tistud-nightly\workspace\test_new\build\tizen\tizenapp.wgt" --device=emulator-26100
       [INFO] :   'tizenapp.wgt' file transfer successful.
       Enable developer mode.
       'vexWAUg4AV' install successful.
       [INFO] :   Executing: C:\tizen-sdk\tools\ide\bin\web-run.bat -t 10 -i vexWAUg4AV --device=emulator-26100
       [INFO] :   'vexWAUg4AV' launch failed.
       [INFO] :   Project built successfully in 5s 605ms
       
    2.Win 7 log:
       Titanium Command-Line Interface, CLI version 3.0.24, Titanium SDK version 3.1.0.v20130322135539
       Copyright (c) 2012-2013, Appcelerator, Inc.  All Rights Reserved.
       [INFO] :   Compiling "development" build
       [INFO] :   Reading Titanium Mobile Web package.json file
       [INFO] :   Target device Id:  "emulator-26100" 
       [INFO] :   Processing tizen section of tiapp.xml
       [INFO] :   <tizen> node. tizen app id: sTF8u6GiTT
       [INFO] :   tiapp.xml does not contains <tizen> node. Using default values
       [INFO] :   Validating theme
       [INFO] :   Copying project files
       [INFO] :   Finding all Titanium API dependencies
       [INFO] :   Creating favicon and Apple touch icons
       [INFO] :   Finding all required modules to be cached
       [INFO] :   Finding all precached modules
       [INFO] :   Finding all precached images
       [INFO] :   No Titanium Modules required, continuing
       [INFO] :   Finding all distinct cached modules
       [INFO] :   Found 338 dependencies, 1 package, 340 modules
       [INFO] :   Assembling titanium.js
       [INFO] :   Processing splash screen
       [INFO] :   Assembling titanium.css
       [INFO] :   Creating the filesystem registry
       [INFO] :   Creating the index.html
       [INFO] :   delete C:\Users\tester\Desktop\tistud\nightly\workspace\tizen_test/build/tizen/mobileweb/apple_startup_images
       [INFO] :   Signing application in  "C:\Users\tester\Desktop\tistud\nightly\workspace\tizen_test/build/tizen" 
       [INFO] :   Signer commandline:  "java -jar "C:\Users\tester\AppData\Roaming\Titanium\mobilesdk\win32\3.1.0.v20130322135539\tizen\utils\signapp.jar" -sig_proj C:\Users\tester\Desktop\tistud\nightly\workspace\tizen_test/build/tizen" 
       [INFO] :   Packaging application into wgt
       [INFO] :   Reading Tizen SDK location from: C:\Users\tester\AppData\Local\tizen-sdk-data\tizensdkpath
       [INFO] :   Tizen SDK found at: C:\tizen-sdk
       [INFO] :   Executing: C:\tizen-sdk\tools\ide\bin\web-uninstall.bat -t 10 -i sTF8u6GiTT --device=emulator-26100
       [INFO] :   Uninstall failed, 'sTF8u6GiTT' widget is not installed.
       [INFO] :   Executing: C:\tizen-sdk\tools\ide\bin\web-install.bat -t 10  --widget="C:\Users\tester\Desktop\tistud\nightly\workspace\tizen_test\build\tizen\tizenapp.wgt" --device=emulator-26100
       [INFO] :   'tizenapp.wgt' file transfer successful.
       Enable developer mode.
       Operation failed.
       [INFO] :   Executing: C:\tizen-sdk\tools\ide\bin\web-run.bat -t 10 -i sTF8u6GiTT --device=emulator-26100
       [INFO] :   'sTF8u6GiTT' launch failed.
       [INFO] :   Project built successfully in 33s 39ms
       
  2. Anatoliy Odukha 2013-03-23

    original log in tickets shows that it try execute Tizen CLI 2.0.0a specific command on Tizen 2.0. As result it failed. It was fixed. Logs in Lockesh comment shows different issue. [INFO] :   Executing: C:\tizen-sdk\tools\ide\bin\web-run.bat -t 10 -i sTF8u6GiTT --device=emulator-26100 [INFO] :   'sTF8u6GiTT' launch failed. As I see it try do execute Tizen CLI command. Command line for it was composed well. Here is Tizen CLI fail. Nothing to fix in Titanium code. If it can be reproduces we have to fill bug in Tizen jira.
  3. Lokesh Choudhary 2013-03-23

  4. Anatoliy Odukha 2013-03-23

    wgt contains Tizen 2.0.0a info and it prevents installation on 2.0. Probably it here because older sdk added it into tiapp.xml How to fix: a) create project from scratch or b) edit tiapp.xml. remove node
  5. Neeraj Gupta 2013-03-24

    Marking this ticket invalid as this issue occurs only for the projects created with an earlier SDK and we do not support project migration.
  6. Lokesh Choudhary 2013-03-25

    Closing the issue as it is invalid. Full clean install works fine.

JSON Source