{ "id": "112747", "key": "TIMOB-13534", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "15113", "description": "2013 Sprint 08 BB", "name": "2013 Sprint 08 BB", "archived": true, "released": true, "releaseDate": "2013-04-22" }, { "id": "15106", "description": "2013 Sprint 08", "name": "2013 Sprint 08", "archived": true, "released": true, "releaseDate": "2013-04-22" }, { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-04-13T03:25:58.000+0000", "created": "2013-04-12T00:32:05.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-testadded", "sdk-bb" ], "versions": [], "issuelinks": [], "assignee": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:44:41.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10230", "name": "BlackBerry", "description": "BlackBerry Platform" } ], "description": "Description:\r\n1. Create an app for BB\r\n2. Do a BlackBerry distribute\r\n\r\nActual Results:\r\n1. We get errors like below:\r\n{code}\r\n\r\n/usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:181\r\n throw e;\r\n ^\r\nError: ENOENT, open '\"/Users/lokeshchoudhary/Desktop/BB_test_cli/build/blackberry/arm/o.le-v7/BB_test_cli\".bar'\r\n---------------------------------------------\r\n at Stream.pipe (stream.js:85:10)\r\n at self.run (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/blackberry/cli/common/blackberryndk.js:387:72)\r\n at runCommandFromArray (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/blackberry/cli/common/blackberryndk.js:61:3)\r\n at exithandler (child_process.js:538:7)\r\n at EventEmitter.emit (events.js:99:17)\r\n at maybeClose (child_process.js:638:16)\r\n at ChildProcess.spawn.stdin (child_process.js:815:11)\r\n---------------------------------------------\r\n at exports.execFile (child_process.js:594:9)\r\n at exports.exec (child_process.js:481:18)\r\n at runCommandFromArray (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/blackberry/cli/common/blackberryndk.js:59:2)\r\n at self.run (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/blackberry/cli/common/blackberryndk.js:383:6)\r\n at runCommandFromArray (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/blackberry/cli/common/blackberryndk.js:61:3)\r\n at exithandler (child_process.js:538:7)\r\n at EventEmitter.emit (events.js:99:17)\r\n---------------------------------------------\r\n at exports.execFile (child_process.js:594:9)\r\n at exports.exec (child_process.js:481:18)\r\n at runCommandFromArray (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/blackberry/cli/common/blackberryndk.js:59:2)\r\n at self.run (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/blackberry/cli/common/blackberryndk.js:352:13)\r\n at exports.init (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/blackberry/cli/hooks/run.js:33:12)\r\n at cli.createHook.async.series.next (/usr/local/lib/node_modules/titanium/lib/cli.js:110:12)\r\n at async.series.results (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:486:21)\r\n at _asyncMap (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:185:13)\r\n---------------------------------------------\r\n at exports.execFile (child_process.js:594:9)\r\n at exports.exec (child_process.js:481:18)\r\n at runCommandFromArray (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/blackberry/cli/common/blackberryndk.js:59:2)\r\n at self.build (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/blackberry/cli/common/blackberryndk.js:235:4)\r\n at build. (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/blackberry/cli/commands/_build.js:140:15)\r\n at cli.createHook.async.series.next (/usr/local/lib/node_modules/titanium/lib/cli.js:116:18)\r\n at _asyncMap (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:190:13)\r\n at async.forEachSeries.iterate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:116:25)\r\n---------------------------------------------\r\n at exports.execFile (child_process.js:594:9)\r\n at exports.exec (child_process.js:481:18)\r\n at exports.detect.async.series.cached (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/node_modules/node-appc/lib/android.js:81:4)\r\n at async.series.results (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/node_modules/async/lib/async.js:486:21)\r\n at _asyncMap (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/node_modules/async/lib/async.js:185:13)\r\n at async.forEachSeries.iterate (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/node_modules/async/lib/async.js:108:13)\r\n at async.forEachSeries.iterate (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/node_modules/async/lib/async.js:119:25)\r\n at _asyncMap (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/node_modules/async/lib/async.js:187:17)\r\n---------------------------------------------\r\n at exports.execFile (child_process.js:594:9)\r\n at exports.exec (child_process.js:481:18)\r\n at exports.detect.async.series.exec.cwd (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/node_modules/node-appc/lib/android.js:68:4)\r\n at async.series.results (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/node_modules/async/lib/async.js:486:21)\r\n at _asyncMap (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/node_modules/async/lib/async.js:185:13)\r\n at async.forEachSeries.iterate (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/node_modules/async/lib/async.js:108:13)\r\n at async.forEachSeries.iterate (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/node_modules/async/lib/async.js:119:25)\r\n at _asyncMap (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/node_modules/async/lib/async.js:187:17)\r\n{code}\r\n2. The bar file is created but its empty.It just creates a .bar file for the app\r\n3. If you llok at this line: '\"/Users/lokeshchoudhary/Desktop/BB_test_cli/build/blackberry/arm/o.le-v7/BB_test_cli\".bar' the double quotes end before the .bar file.\r\n\r\nExpected Result:\r\n1. The app's bar file should be created without any issues\r\n", "attachment": [], "flagged": false, "summary": "BlackBerry : Distribution of app fails as quoting of path is incorrect", "creator": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Environment:\r\nTi Studio : 3.1.0.201304051530\r\nTi BB SDK : 3.2.0.v20130411012621\r\nMac OSX : 10.8.2\r\nwin 7 \r\nWin 8 \r\nBB simulator : 10.0.10.261\r\nZ10 device running 10.0.10.88", "comment": { "comments": [ { "id": "247345", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Reopening as I am able to reproduce the issue.\r\n\r\nEnvironment:\r\nTi Studio : 3.1.0.201304051530\r\nTi BB SDK : 3.2.0.v20130412030224\r\nMac OSX : 10.8.2\r\nwin 7 \r\nWin 8 \r\nBB simulator : 10.0.10.261\r\nZ10 device running 10.0.10.88", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-04-12T21:15:33.000+0000", "updated": "2013-04-12T21:15:45.000+0000" }, { "id": "247396", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Reopening as I can repro it.\r\n\r\n{code}\r\nusr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:181\r\n throw e;\r\n ^\r\nTypeError: Cannot read property 'build-id' of undefined\r\n at self.run (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130412162441/blackberry/cli/common/blackberryndk.js:335:45)\r\n at exports.init (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130412162441/blackberry/cli/hooks/run.js:33:12)\r\n at cli.createHook.async.series.next (/usr/local/lib/node_modules/titanium/lib/cli.js:110:12)\r\n at async.series.results (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:486:21)\r\n at _asyncMap (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:185:13)\r\n at async.forEachSeries.iterate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:108:13)\r\n at async.forEachSeries.iterate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:119:25)\r\n at _asyncMap (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:187:17)\r\n at async.series.results (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:491:34)\r\n at cli.createHook.async.series.next (/usr/local/lib/node_modules/titanium/lib/cli.js:112:8)\r\n---------------------------------------------\r\n at exports.execFile (child_process.js:594:9)\r\n at exports.exec (child_process.js:481:18)\r\n at runCommandFromArray (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130412162441/blackberry/cli/common/blackberryndk.js:59:2)\r\n at self.build (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130412162441/blackberry/cli/common/blackberryndk.js:235:4)\r\n at build. (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130412162441/blackberry/cli/commands/_build.js:140:15)\r\n at cli.createHook.async.series.next (/usr/local/lib/node_modules/titanium/lib/cli.js:116:18)\r\n at _asyncMap (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:190:13)\r\n at async.forEachSeries.iterate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:116:25)\r\n---------------------------------------------\r\n at exports.execFile (child_process.js:594:9)\r\n at exports.exec (child_process.js:481:18)\r\n at exports.detect.async.series.cached (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130412162441/node_modules/node-appc/lib/android.js:81:4)\r\n at async.series.results (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130412162441/node_modules/async/lib/async.js:486:21)\r\n at _asyncMap (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130412162441/node_modules/async/lib/async.js:185:13)\r\n at async.forEachSeries.iterate (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130412162441/node_modules/async/lib/async.js:108:13)\r\n at async.forEachSeries.iterate (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130412162441/node_modules/async/lib/async.js:119:25)\r\n at _asyncMap (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130412162441/node_modules/async/lib/async.js:187:17)\r\n---------------------------------------------\r\n at exports.execFile (child_process.js:594:9)\r\n at exports.exec (child_process.js:481:18)\r\n at exports.detect.async.series.exec.cwd (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130412162441/node_modules/node-appc/lib/android.js:68:4)\r\n at async.series.results (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130412162441/node_modules/async/lib/async.js:486:21)\r\n at _asyncMap (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130412162441/node_modules/async/lib/async.js:185:13)\r\n at async.forEachSeries.iterate (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130412162441/node_modules/async/lib/async.js:108:13)\r\n at async.forEachSeries.iterate (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130412162441/node_modules/async/lib/async.js:119:25)\r\n at _asyncMap (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130412162441/node_modules/async/lib/async.js:187:17)\r\n{code}\r\n\r\n\r\nEnvironment:\r\nTi Studio : 3.1.0.201304051530\r\nTi BB SDK : 3.2.0.v20130412162441\r\nMac OSX : 10.8.2\r\nwin 7 \r\nWin 8 \r\nBB simulator : 10.0.10.261\r\nZ10 device running 10.0.10.88\r\n", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-04-13T00:51:15.000+0000", "updated": "2013-04-13T00:51:39.000+0000" }, { "id": "247429", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified the issue & the app is distributed properly without any issues.\r\n\r\nEnvironment:\r\nTi Studio : 3.1.0.201304051530\r\nTi BB SDK : 3.2.0.v20130412191647\r\nMac OSX : 10.8.2\r\nwin 7 \r\nWin 8 \r\nBB simulator : 10.0.10.261\r\nZ10 device running 10.0.10.88", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-04-13T17:21:22.000+0000", "updated": "2013-04-13T17:21:22.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }