[TIMOB-15954] Tizen: 7za.exe not found while running app on Tizen emulator
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-12-11T02:33:27.000+0000 |
Affected Version/s | Release 3.2.0 |
Fix Version/s | 2013 Sprint 25, Release 3.2.0, Release 3.3.0 |
Components | Tizen |
Labels | qe-closed-3.2.0, qe-testadded |
Reporter | Praveen Innamuri |
Assignee | Praveen Innamuri |
Created | 2013-12-11T01:44:18.000+0000 |
Updated | 2014-02-25T01:18:25.000+0000 |
Description
Running Tizen app on emulator fails to build and throws the below error. Looks the exception 7za file is not found in the titanium mobile sdk.
[ERROR] : 7za.exe not found. Expected path: C:\Users\Praveen Innamuri\AppData\Roaming\Titanium\mobilesdk\win32\3.2.0.v20131209163246\tizen\utils\7za.exe
C:\Users\Praveen Innamuri\AppData\Roaming\npm\node_modules\titanium\node_modules\longjohn\dist\longjohn.js:184
throw e;
^
TypeError: Cannot call method 'toString' of undefined
at build.wgtPackaging7z (C:\Users\Praveen Innamuri\AppData\Roaming\Titanium\mobilesdk\win32\3.2.0.v20131209163246\tizen\cli\commands\_build.js:1248:58)
at Object. (C:\Users\Praveen Innamuri\AppData\Roaming\Titanium\mobilesdk\win32\3.2.0.v20131209163246\tizen\cli\commands\_build.js:400:13)
at C:\Users\Praveen Innamuri\AppData\Roaming\Titanium\mobilesdk\win32\3.2.0.v20131209163246\node_modules\async\lib\async.js:548:21
at C:\Users\Praveen Innamuri\AppData\Roaming\Titanium\mobilesdk\win32\3.2.0.v20131209163246\node_modules\async\lib\async.js:224:13
at iterate (C:\Users\Praveen Innamuri\AppData\Roaming\Titanium\mobilesdk\win32\3.2.0.v20131209163246\node_modules\async\lib\async.js:131:13)
at C:\Users\Praveen Innamuri\AppData\Roaming\Titanium\mobilesdk\win32\3.2.0.v20131209163246\node_modules\async\lib\async.js:142:25
at C:\Users\Praveen Innamuri\AppData\Roaming\Titanium\mobilesdk\win32\3.2.0.v20131209163246\node_modules\async\lib\async.js:226:17
at C:\Users\Praveen Innamuri\AppData\Roaming\Titanium\mobilesdk\win32\3.2.0.v20131209163246\node_modules\async\lib\async.js:553:34
at C:\Users\Praveen Innamuri\AppData\Roaming\Titanium\mobilesdk\win32\3.2.0.v20131209163246\tizen\cli\commands\_build.js:394:8
at C:\Users\Praveen Innamuri\AppData\Roaming\Titanium\mobilesdk\win32\3.2.0.v20131209163246\tizen\cli\commands\_build.js:1503:5
I verified that the 7za util is available in the github repo (https://github.com/appcelerator/titanium_mobile_tizen/tree/master/utils/7zip), but it not copied over when the SDK is build.
Pushed fix to master and cherry-picked to 3_2_X
Closing as fixed. Tested with: Appcelerator Studio, build: 3.2.0.201312101708 Titanium SDK, build: 3.2.0.v20131210191510 CLI 3.2.0-cr Alloy 1.3.0-cr Tizen Emulator 2.2 Successfully built and ran an app on Tizen Emulator. No errors.