Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-13534

BlackBerry : Distribution of app fails as quoting of path is incorrect

    Details

      Description

      Description:
      1. Create an app for BB
      2. Do a BlackBerry distribute

      Actual Results:
      1. We get errors like below:

       
      /usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:181
              throw e;
                    ^
      Error: ENOENT, open '"/Users/lokeshchoudhary/Desktop/BB_test_cli/build/blackberry/arm/o.le-v7/BB_test_cli".bar'
      ---------------------------------------------
          at Stream.pipe (stream.js:85:10)
          at self.run (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/blackberry/cli/common/blackberryndk.js:387:72)
          at runCommandFromArray (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/blackberry/cli/common/blackberryndk.js:61:3)
          at exithandler (child_process.js:538:7)
          at EventEmitter.emit (events.js:99:17)
          at maybeClose (child_process.js:638:16)
          at ChildProcess.spawn.stdin (child_process.js:815:11)
      ---------------------------------------------
          at exports.execFile (child_process.js:594:9)
          at exports.exec (child_process.js:481:18)
          at runCommandFromArray (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/blackberry/cli/common/blackberryndk.js:59:2)
          at self.run (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/blackberry/cli/common/blackberryndk.js:383:6)
          at runCommandFromArray (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/blackberry/cli/common/blackberryndk.js:61:3)
          at exithandler (child_process.js:538:7)
          at EventEmitter.emit (events.js:99:17)
      ---------------------------------------------
          at exports.execFile (child_process.js:594:9)
          at exports.exec (child_process.js:481:18)
          at runCommandFromArray (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/blackberry/cli/common/blackberryndk.js:59:2)
          at self.run (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/blackberry/cli/common/blackberryndk.js:352:13)
          at exports.init (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/blackberry/cli/hooks/run.js:33:12)
          at cli.createHook.async.series.next (/usr/local/lib/node_modules/titanium/lib/cli.js:110:12)
          at async.series.results (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:486:21)
          at _asyncMap (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:185:13)
      ---------------------------------------------
          at exports.execFile (child_process.js:594:9)
          at exports.exec (child_process.js:481:18)
          at runCommandFromArray (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/blackberry/cli/common/blackberryndk.js:59:2)
          at self.build (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/blackberry/cli/common/blackberryndk.js:235:4)
          at build.<anonymous> (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/blackberry/cli/commands/_build.js:140:15)
          at cli.createHook.async.series.next (/usr/local/lib/node_modules/titanium/lib/cli.js:116:18)
          at _asyncMap (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:190:13)
          at async.forEachSeries.iterate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:116:25)
      ---------------------------------------------
          at exports.execFile (child_process.js:594:9)
          at exports.exec (child_process.js:481:18)
          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)
          at async.series.results (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/node_modules/async/lib/async.js:486:21)
          at _asyncMap (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/node_modules/async/lib/async.js:185:13)
          at async.forEachSeries.iterate (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/node_modules/async/lib/async.js:108:13)
          at async.forEachSeries.iterate (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/node_modules/async/lib/async.js:119:25)
          at _asyncMap (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/node_modules/async/lib/async.js:187:17)
      ---------------------------------------------
          at exports.execFile (child_process.js:594:9)
          at exports.exec (child_process.js:481:18)
          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)
          at async.series.results (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/node_modules/async/lib/async.js:486:21)
          at _asyncMap (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/node_modules/async/lib/async.js:185:13)
          at async.forEachSeries.iterate (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/node_modules/async/lib/async.js:108:13)
          at async.forEachSeries.iterate (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/node_modules/async/lib/async.js:119:25)
          at _asyncMap (/Users/lokeshchoudhary/Desktop/bb-mobilesdk-osx/mobilesdk/osx/3.2.0.v20130411012621/node_modules/async/lib/async.js:187:17)
      

      2. The bar file is created but its empty.It just creates a .bar file for the app
      3. 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.

      Expected Result:
      1. The app's bar file should be created without any issues

        Attachments

          Activity

            People

            • Assignee:
              rmcmahon Russell McMahon
              Reporter:
              lokeshchdhry Lokesh Choudhary (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-16226
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration