Titanium JIRA Archive
Appcelerator Community (AC)

[AC-510] [ERROR] Application Installer abnormal process termination. Process exit value was 1

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionNeeds more info
Resolution Date2015-11-26T05:38:36.000+0000
Affected Version/sAppcelerator Studio 4.3.0
Fix Version/sn/a
ComponentsStudio
LabelssupportTeam, updateinstall
ReporterRay Fleming
AssigneeShak Hossain
Created2015-11-23T18:24:15.000+0000
Updated2015-11-26T05:38:36.000+0000

Description

I am new to appcelerator - what have I done wrong ? I am reviewing the package for development adoption in an organization ... How do i go bachk to the previous release to continue the evaluation? projects were compiling and executing well in emulator ... I did a software update the new version is Appcelerator Studio, build: 4.4.0.201511182122 (c) Copyright 2012-2014 by Appcelerator, Inc. All rights reserved. Build: jenkins-appcelerator-rcp-master-337 (origin/master) Date: 18 November 2015, 21:22:46 I build a simple project and get the following failure in the console [ERROR] Application Installer abnormal process termination. Process exit value was 1 full console output was Appcelerator Command-Line Interface, version 5.1.0 Copyright (c) 2014-2015, Appcelerator, Inc. All Rights Reserved. 2015-11-23T18:03:58.344Z | TRACE | __command__ search paths: [ "/Users/wakanda/.appcelerator/install/5.1.0/package", "/Users/wakanda/.appcelerator/install/5.1.0/package/node_modules", "/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/MacOS/node_modules", "/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/node_modules", "/Applications/Appcelerator Studio/AppceleratorStudio.app/node_modules", "/Applications/Appcelerator Studio/node_modules", "/Applications/node_modules", "/node_modules", "/Users/wakanda/.appcelerator/.npm/lib/node_modules" ] 2015-11-23T18:03:58.348Z | DEBUG | [PLUGIN-LOAD] 0ms /Users/wakanda/.appcelerator/install/5.1.0/package/appc.js 2015-11-23T18:03:58.983Z | DEBUG | [PLUGIN-LOAD] 632ms /Users/wakanda/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/appc.js 2015-11-23T18:03:58.989Z | DEBUG | [PLUGIN-LOAD] 1ms /Users/wakanda/.appcelerator/install/5.1.0/package/node_modules/arrow/appc.js log level set to "trace" executing command "run" set environment to {"registry":"https://software.appcelerator.com","security":"https://security.appcelerator.com","baseurl":"https://platform.appcelerator.com"} checking credentials for existing session Attempting to load session info from config file check if session is invalidated session expiry 1448906567434 false +---------------------------------------------------------------------------------------+ + This is a Developer trial account. You may use this software for evaluation purposes. + + Once you are ready to go to production, upgrade at https://billing.appcelerator.com + +---------------------------------------------------------------------------------------+ Arrow Cloud config file: /Users/wakanda/.acs found Arrow Cloud login { mid: '03bcb39b8ae320a18445d2e02d3f4021c4eebfc9', publishPort: 443, publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com', username: 'raylfleming@gmail.com', cookie: [ 'connect.sid=s%3A9Sb1Ce2kw8HxDQKBdjm7zOym.0cvqREw5PM7v%2BVNE9JGQJRTvsh%2FUgsO8PWikvhsulV8; Path=/; Expires=Mon, 07 Dec 2015 18:02:48 GMT; HttpOnly' ], defaultEP: { publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com', publishPort: 443 } } , checking nodeACSEndpoint= https://admin.cloudapp-enterprise.appcelerator.com Arrow Cloud cookie expiry [ 1449511368000 ] session already loaded in opts.session getCredentials() session: { "ipaddress": "193.168.0.153", "username": "raylfleming@gmail.com", "password": "", "session": "", "nonce": "", "environment": { "name": "production", "isProduction": true, "acsBaseUrl": "https://api.cloud.appcelerator.com", "acsAuthBaseUrl": "https://secure-identity.cloud.appcelerator.com", "nodeACSEndpoint": "https://admin.cloudapp-enterprise.appcelerator.com" }, "token": "", "fingerprint": "03bcb39b8ae320a18445d2e02d3f4021c4eebfc9", "fingerprint_description": "Mac OSX Serial Number: QP85306EZE7", "org_id": 100073519, "expiry": 1448906567434 } loading plugins for command "run" run search paths: [ "/Users/wakanda/.appcelerator/install/5.1.0/package", "/Users/wakanda/.appcelerator/install/5.1.0/package/node_modules", "/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/MacOS/node_modules", "/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/node_modules", "/Applications/Appcelerator Studio/AppceleratorStudio.app/node_modules", "/Applications/Appcelerator Studio/node_modules", "/Applications/node_modules", "/node_modules", "/Users/wakanda/.appcelerator/.npm/lib/node_modules" ] [PLUGIN-LOAD] 10ms /Users/wakanda/.appcelerator/install/5.1.0/package/appc.js [PLUGIN-LOAD] 479ms /Users/wakanda/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/appc.js run plugin: /Users/wakanda/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium [PLUGIN-LOAD] 1ms /Users/wakanda/.appcelerator/install/5.1.0/package/node_modules/arrow/appc.js run plugin: /Users/wakanda/.appcelerator/install/5.1.0/package/node_modules/arrow plugin "arrow" failed its "when" function check, skipping... loading plugin "titanium" for command "run" CLI options via function loading plugin "titanium" for command "run" CLI options via array Duplicate option "colors" for command "run", removing... executing command "run" with the following plugins: ["titanium"] 2015-11-23T18:04:01.396Z | TRACE | Attempting to load session info from config file 2015-11-23T18:04:01.397Z | TRACE | check if session is invalidated 2015-11-23T18:04:01.505Z | TRACE | session expiry 1448906567434 false 2015-11-23T18:04:01.506Z | TRACE | session already loaded in opts.session 2015-11-23T18:04:01.508Z | DEBUG | Titanium Downloads Last Checked: 1448220526205 2015-11-23T18:04:01.508Z | TRACE | "/usr/local/bin/node" "/Users/wakanda/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/node_modules/titanium/bin/titanium" config -o json-object 2015-11-23T18:04:02.399Z | TRACE | "/usr/local/bin/node" "/Users/wakanda/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/node_modules/titanium/bin/titanium" sdk -o json 2015-11-23T18:04:03.223Z | TRACE | checking for titanium, result: { activeSDK: '5.1.0.GA', defaultInstallLocation: '/Users/wakanda/Library/Application Support/Titanium', installLocations: [ '/Users/wakanda/Library/Application Support/Titanium', '/Library/Application Support/Titanium' ], installed: { '5.1.0.GA': '/Users/wakanda/Library/Application Support/Titanium/mobilesdk/osx/5.1.0.GA', '5.0.2.GA': '/Users/wakanda/Library/Application Support/Titanium/mobilesdk/osx/5.0.2.GA', '2.1.3.GA': '/Users/wakanda/Library/Application Support/Titanium/mobilesdk/osx/2.1.3.GA' }, sdks: { '5.1.0.GA': { name: '5.1.0.GA', manifest: [Object], path: '/Users/wakanda/Library/Application Support/Titanium/mobilesdk/osx/5.1.0.GA' }, '5.0.2.GA': { name: '5.0.2.GA', manifest: [Object], path: '/Users/wakanda/Library/Application Support/Titanium/mobilesdk/osx/5.0.2.GA' }, '2.1.3.GA': { name: '2.1.3.GA', manifest: null, path: '/Users/wakanda/Library/Application Support/Titanium/mobilesdk/osx/2.1.3.GA' } } } 2015-11-23T18:04:03.229Z | TRACE | /usr/local/bin/node [ '/Users/wakanda/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/node_modules/titanium/bin/titanium', 'build', '--platform', 'android', '--log-level', 'trace', '--sdk', '5.0.2.GA', '--project-dir', '/Users/wakanda/Documents/Appcelerator_Studio_Workspace/first2tab', '--target', 'emulator', '--android-sdk', '/Volumes/development/android-sdk-macosx', '--device-id', 'titanium_1_WVGA800', '--skip-js-minify', '--no-colors', '--no-progress-bars', '--no-prompt', '--prompt-type', 'socket-bundle', '--prompt-port', '65185', '--username', 'raylfleming@gmail.com', '--password', '[HIDDEN]', '--plugin-paths', '/Users/wakanda/.appcelerator/install/5.1.0/package/node_modules', '--config-file', '/var/folders/y1/jc761m0177x2h_tw7w040jzw0000gr/T/build-1448301841508.json', '--no-banner' ] { env: { ANDROID_SDK: '/Volumes/development/android-sdk-macosx', SHELL: '/bin/bash', APP_ICON_38728: '../Resources/titanium.icns', TMPDIR: '/var/folders/y1/jc761m0177x2h_tw7w040jzw0000gr/T/', SHLVL: '1', JAVA_HOME: '/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home', STUDIO_PRODUCT_ID: 'com.appcelerator.titanium.rcp.product', __CF_USER_TEXT_ENCODING: '0x1F8:0:0', STUDIO_VERSION: '4.4.0.201511182122', PATH: '/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/bin:/opt/local/bin:/opt/local/sbin:/Library/Frameworks/Python.framework/Versions/3.5/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/local/git/bin', ANALYTICS_SOURCE: 'studio', APTANA_VERSION: '4.4.0.1445622407', DISPLAY: '/tmp/launch-nC7mgy/org.macosforge.xquartz:0', USER: 'wakanda', JAVA_STARTED_ON_FIRST_THREAD_38728: '1', PWD: '/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/MacOS', HOME: '/Users/wakanda', STUDIO_NAME: 'Appcelerator Studio', LOGNAME: 'wakanda', Apple_PubSub_Socket_Render: '/tmp/launch-Sx3D71/Render', SSH_AUTH_SOCK: '/tmp/launch-Twv31m/Listeners', __CHECKFIX1436934: '1', LANG: 'en_US.UTF-8', APPC_NPM_VERSION: '4.2.2', npm_config_cache: '/Users/wakanda/.appcelerator/.npm', npm_config_prefix: '/Users/wakanda/.appcelerator/.npm', APPC_INSTALL_DIR: '/Users/wakanda/.appcelerator/install', APPC_INSTALL_BIN_DIR: '/Users/wakanda/.appcelerator/install/5.1.0/package/bin/appc', NODE_PATH: '/Users/wakanda/.appcelerator/install/5.1.0/package/node_modules:/Users/wakanda/.appcelerator/cache/node_modules:', APPC_SUPPRESS_PROGRESS: 'true', APPC_REGISTRY_SERVER: 'https://software.appcelerator.com', APPC_SECURITY_SERVER: 'https://security.appcelerator.com', APPC_DASHBOARD_URL: 'https://platform.appcelerator.com', APPC_ENV: 'production', APPC_SESSION_TOKEN: '027db2f3f13a8985df3d21349c05d1889386105e%20kZKFFVll5NeD7dQw5VsyrE7d9KnSgNAo9ddXh3eUL%2BTpFmugigzwRz0NbAJKqW1ysKDj5Ddb1HZ7ytxWFznOYrD7hEYvETbKzHtKnRgPQjCQfN9oWeSyJgLukLXfjMIXDQsV7umlR2m%2FjYHkHyJBhUJZTY7rpYICkZInD3WbWwPzXGP3kuP40HPBllAwNaICPoF4E5uX8oO3NIIi4%2BpDyeWJwP7zomkyaae0EMiEK1zkTBNBAmj36RU5sGSJHQjuGyH96ZPbfv4ebzwSXZoCyGxCTJio4YaGRB7M0KE5Wdp0qmQPNPnJTgIyOIgbyPBFlJ57eFm1CKtSjdnn7285tApqcGAIfn%2BQuILIfS8jITIWDIH2InyYnG3Bx0MDk1XfI1Wu9LeKLGwGh1HHcrllwoTPaRorC7vxhoxV%2FioqnKOD5Nd2Ln6bJ14L0bt3PUWnPNY%2FHgBawqQSRfy%2FQflJsiLB00YgGfT3kQ0wL2PeSJ4T8CmDoV8m4fiP6xUMQBiaE8IZqPFBrq2YdFUIPKeBQr0Uck%2FJ6WgUpTXw%2BiwMADcM370RL97Z7zrMCMGjRQUZrH69OkRHX5h%2Fh2BLgXwEbmVrPmurxGIFQOY%2BfQ6C9be4X3tgcQ6C2gB3zqw8WSUtae6txPchg%2BL92AQ7Hn9%2FLtJhGIAY7MSnJL4plIihDBf4%2Be6SazywsRbUV%2BpwNdrtqcXzVpED4NRyfMHSRgeihjkILNYW9uWBCwqCa5wEDS5jyDk%2B7FszKzA5AGyhz2YCEI3U3JJapoV0mhIxIZrfEA%3D%3D', APPC_SESSION_SID: 's%3AcJ6YQuaZJBSdzoL-yMc-BCwGxk6Y4mz7.yOzlyCXMD3NLaBXQUEEW9S7HyDLEe9o%2FNbBI6v53egY', APPC_SESSION_USERNAME: 'raylfleming@gmail.com', APPC_SESSION_ORGID: '100073519', APPC_SESSION_ENV: '{"name":"production","isProduction":true,"acsBaseUrl":"https://api.cloud.appcelerator.com","acsAuthBaseUrl":"https://secure-identity.cloud.appcelerator.com","nodeACSEndpoint":"https://admin.cloudapp-enterprise.appcelerator.com"}', APPC_SESSION_ENTITLEMENTS: '{"id":"54d8e47cce78815d81104cb1","name":"Developer","partners":["acs","analytics"],"supportLink":"https://community.appcelerator.com","users":{"min":1,"max":-1},"testingDevices":{"min":0,"max":0},"allowProduction":false,"arrowPublish":true,"nativeSDK":false,"insights":false,"apiRateMonthPerSeat":100000,"apiRateMinute":10,"pushRateMinute":10,"storageGBRateMonth":1,"eventRateMonthPerSeat":100000,"daysDataRetained":7,"maxOrganizations":1,"dateRangeLimit":7,"dateRangeCustom":true,"exportMetrics":false,"exportAcs":false,"paid":false,"containerPoints":1,"containerPointsPerSeat":0,"_version":1}', APPC_SUPPRESS_BANNER: 'true', ALLOY_PATH: '/Users/wakanda/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/node_modules/alloy/bin/alloy' }, stdio: [ Socket { _connecting: false, _hadError: false, _handle: [Object], _parent: null, _host: null, _readableState: [Object], readable: true, domain: null, _events: [Object], _eventsCount: 4, _maxListeners: undefined, _writableState: [Object], writable: false, allowHalfOpen: false, destroyed: false, bytesRead: 0, _bytesDispatched: 0, _sockname: null, _writev: null, _pendingData: null, _pendingEncoding: '', fd: 0 }, Socket { _connecting: false, _hadError: false, _handle: [Object], _parent: null, _host: null, _readableState: [Object], readable: false, domain: null, _events: [Object], _eventsCount: 3, _maxListeners: undefined, _writableState: [Object], writable: true, allowHalfOpen: false, destroyed: false, bytesRead: 0, _bytesDispatched: 5317, _sockname: null, _writev: null, _pendingData: null, _pendingEncoding: '', _type: 'pipe', fd: 1, _isStdio: true, destroySoon: [Function], destroy: [Function] }, 'pipe' ] } Error: Cannot find module '/Users/wakanda/Library/Application Support/Titanium/mobilesdk/osx/5.0.2.GA/node_modules/sqlite3/lib/binding/node-v46-darwin-x64/node_sqlite3.node' at Function.Module._resolveFilename (module.js:337:15) at Function.Module._load (module.js:287:25) at Module.require (module.js:366:17) at require (module.js:385:17) at Object. (/Users/wakanda/Library/Application Support/Titanium/mobilesdk/osx/5.0.2.GA/node_modules/sqlite3/lib/sqlite3.js:4:15) at Module._compile (module.js:435:26) at Object.Module._extensions..js (module.js:442:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:311:12) at Module.require (module.js:366:17) at require (module.js:385:17) --------------------------------------------- at Object.run (/Users/wakanda/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/node_modules/titanium/node_modules/node-appc/lib/subprocess.js:59:8) at find (/Users/wakanda/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/node_modules/titanium/node_modules/node-appc/lib/subprocess.js:96:14) at /Users/wakanda/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/node_modules/titanium/node_modules/async/lib/async.js:945:13 at Immediate.q.process (/Users/wakanda/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/node_modules/titanium/node_modules/async/lib/async.js:913:25) at processImmediate [as _immediateCallback] (timers.js:383:17) --------------------------------------------- at Object.setImmediate (/Users/wakanda/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/node_modules/titanium/node_modules/async/lib/async.js:200:9) at _insert (/Users/wakanda/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/node_modules/titanium/node_modules/async/lib/async.js:861:19) at Object.q.push (/Users/wakanda/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/node_modules/titanium/node_modules/async/lib/async.js:888:17) at Object.findExecutable (/Users/wakanda/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/node_modules/titanium/node_modules/node-appc/lib/subprocess.js:113:8) at resolveNode (/Users/wakanda/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/node_modules/titanium/lib/titanium.js:97:34) at /Users/wakanda/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/node_modules/titanium/lib/titanium.js:74:5 at Object. (/Users/wakanda/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/node_modules/titanium/lib/titanium.js:80:2) at Module._compile (module.js:435:26) at Object.Module._extensions..js (module.js:442:10) 2015-11-23T18:04:07.942Z | TRACE | titanium exited with exit code 1 2015-11-23T18:04:07.945Z | ERROR | Error: ti run exited with error code 1 at ChildProcess. (/Users/wakanda/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/plugins/run.js:92:23) at emitTwo (events.js:87:13) at ChildProcess.emit (events.js:172:7) at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12) 2015-11-23T18:04:07.948Z | TRACE | Sending exit signal to titanium process: 38872 [ERROR] Application Installer abnormal process termination. Process exit value was 1

Comments

  1. Ray Fleming 2015-11-23

    Additional log file that occasionally happens seems to identify missing modules -- '/Users/wakanda/Library/Application Support/Titanium/mobilesdk/osx/5.0.2.GA/node_modules/sqlite3/lib/binding/node-v46-darwin-x64 does not exist goes as far as node-v44-darwin-x64 Error: Cannot find module '/Users/wakanda/Library/Application Support/Titanium/mobilesdk/osx/5.0.2.GA/node_modules/sqlite3/lib/binding/node-v46-darwin-x64/node_sqlite3.node' at Function.Module._resolveFilename (module.js:337:15) at Function.Module._load (module.js:287:25) at Module.require (module.js:366:17) at require (module.js:385:17) at Object. (/Users/wakanda/Library/Application Support/Titanium/mobilesdk/osx/5.0.2.GA/node_modules/sqlite3/lib/sqlite3.js:4:15) at Module._compile (module.js:435:26) at Object.Module._extensions..js (module.js:442:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:311:12) at Module.require (module.js:366:17) at require (module.js:385:17) --------------------------------------------- at Object.run (/Users/wakanda/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/node_modules/titanium/node_modules/node-appc/lib/subprocess.js:59:8) at find (/Users/wakanda/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/node_modules/titanium/node_modules/node-appc/lib/subprocess.js:96:14) at /Users/wakanda/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/node_modules/titanium/node_modules/async/lib/async.js:945:13 at Immediate.q.process (/Users/wakanda/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/node_modules/titanium/node_modules/async/lib/async.js:913:25) at processImmediate [as _immediateCallback] (timers.js:383:17) --------------------------------------------- at Object.setImmediate (/Users/wakanda/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/node_modules/titanium/node_modules/async/lib/async.js:200:9) at _insert (/Users/wakanda/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/node_modules/titanium/node_modules/async/lib/async.js:861:19) at Object.q.push (/Users/wakanda/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/node_modules/titanium/node_modules/async/lib/async.js:888:17) at Object.findExecutable (/Users/wakanda/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/node_modules/titanium/node_modules/node-appc/lib/subprocess.js:113:8) at resolveNode (/Users/wakanda/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/node_modules/titanium/lib/titanium.js:97:34) at /Users/wakanda/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/node_modules/titanium/lib/titanium.js:74:5 at Object. (/Users/wakanda/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/node_modules/titanium/lib/titanium.js:80:2) at Module._compile (module.js:435:26) at Object.Module._extensions..js (module.js:442:10) 2015-11-23T18:59:21.342Z | TRACE | titanium exited with exit code 1 2015-11-23T18:59:21.343Z | ERROR | Error: ti run exited with error code 1 at ChildProcess. (/Users/wakanda/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/plugins/run.js:92:23) at emitTwo (events.js:87:13) at ChildProcess.emit (events.js:172:7) at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12) 2015-11-23T18:59:21.344Z | TRACE | Sending exit signal to titanium process: 44106
  2. Jebun Naher 2015-11-24

    Hello [~raylfleming@gmail..com], Thanks for your concern. Please follow the steps below and let us know the update. - Make sure you have the latest Appc CLI from NPM: sudo npm install -g appcelerator - To check which version you are on, run: npm list -g --depth 0 appcelerator - run the setup command with debug and trace flags turned on: DEBUG=* appc setup -l trace Next, try a clean install of your Appc CLI: - Uninstall Appc CLI from NPM global path : sudo npm uninstall -g appcelerator - Remove Appc CLI installed locally : sudo rm -rf .appcelerator - Cache clean from NPM : sudo npm cache clean - Then, reinstall Appc CLI from NPM : sudo npm install -g appcelerator - Run setup : appc setup Thanks.

JSON Source