Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15954] Tizen: 7za.exe not found while running app on Tizen emulator

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2013-12-11T02:33:27.000+0000
Affected Version/sRelease 3.2.0
Fix Version/s2013 Sprint 25, Release 3.2.0, Release 3.3.0
ComponentsTizen
Labelsqe-closed-3.2.0, qe-testadded
ReporterPraveen Innamuri
AssigneePraveen Innamuri
Created2013-12-11T01:44:18.000+0000
Updated2014-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

Comments

  1. Praveen Innamuri 2013-12-11

    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.
  2. Praveen Innamuri 2013-12-11

    Pushed fix to master and cherry-picked to 3_2_X
  3. Olga Romero 2013-12-11

    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.

JSON Source