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

CLI: Genymotion library causes crash when scanning for Virtual Box in restricted folders

    Details

      Description

      There is a bug in the Genymotion library that causes an error when it tries to scan for Virtual Box and encounters a restricted directory.

      C:\Users\manuel.conde\AppData\Roaming\npm\node_modules\titanium\node_modules\longjohn\dist\longjohn.js:184
              throw e;
                    ^
      Error: EPERM, operation not permitted 'C:\Program Files\Archivos comunes'
          at fs.readdirSync (fs.js:654:18)
          at scan (C:\Users\manuel.conde\AppData\Roaming\Titanium\mobilesdk\win32\3.2.0.GA\node_modules\titanium-sdk\lib\emulators\genymotion.js:138:25)
          at scan (C:\Users\manuel.conde\AppData\Roaming\Titanium\mobilesdk\win32\3.2.0.GA\node_modules\titanium-sdk\lib\emulators\genymotion.js:150:26)
          at C:\Users\manuel.conde\AppData\Roaming\Titanium\mobilesdk\win32\3.2.0.GA\node_modules\titanium-sdk\lib\emulators\genymotion.js:156:10
          at C:\Users\manuel.conde\AppData\Roaming\Titanium\mobilesdk\win32\3.2.0.GA\node_modules\titanium-sdk\lib\emulators\genymotion.js:113:8
          at q.process (C:\Users\manuel.conde\AppData\Roaming\Titanium\mobilesdk\win32\3.2.0.GA\node_modules\async\lib\async.js:728:21)
          at processImmediate (timers.js:330:15)
      ---------------------------------------------
          at C:\Users\manuel.conde\AppData\Roaming\Titanium\mobilesdk\win32\3.2.0.GA\node_modules\async\lib\async.js:693:21
          at Array.forEach (native)
          at _each (C:\Users\manuel.conde\AppData\Roaming\Titanium\mobilesdk\win32\3.2.0.GA\node_modules\async\lib\async.js:32:24)
          at _insert (C:\Users\manuel.conde\AppData\Roaming\Titanium\mobilesdk\win32\3.2.0.GA\node_modules\async\lib\async.js:678:11)
          at q.push (C:\Users\manuel.conde\AppData\Roaming\Titanium\mobilesdk\win32\3.2.0.GA\node_modules\async\lib\async.js:705:15)
          at C:\Users\manuel.conde\AppData\Roaming\Titanium\mobilesdk\win32\3.2.0.GA\node_modules\titanium-sdk\lib\emulators\genymotion.js:129:12
          at queue.drain (C:\Users\manuel.conde\AppData\Roaming\Titanium\mobilesdk\win32\3.2.0.GA\node_modules\node-appc\lib\subprocess.js:108:3)
          at next (C:\Users\manuel.conde\AppData\Roaming\Titanium\mobilesdk\win32\3.2.0.GA\node_modules\async\lib\async.js:723:31)
      ---------------------------------------------
          at C:\Users\manuel.conde\AppData\Roaming\Titanium\mobilesdk\win32\3.2.0.GA\node_modules\async\lib\async.js:693:21
          at Array.forEach (native)
          at _each (C:\Users\manuel.conde\AppData\Roaming\Titanium\mobilesdk\win32\3.2.0.GA\node_modules\async\lib\async.js:32:24)
          at _insert (C:\Users\manuel.conde\AppData\Roaming\Titanium\mobilesdk\win32\3.2.0.GA\node_modules\async\lib\async.js:678:11)
          at q.push (C:\Users\manuel.conde\AppData\Roaming\Titanium\mobilesdk\win32\3.2.0.GA\node_modules\async\lib\async.js:705:15)
          at Object.findExecutable (C:\Users\manuel.conde\AppData\Roaming\Titanium\mobilesdk\win32\3.2.0.GA\node_modules\node-appc\lib\subprocess.js:113:8)
          at async.parallel.virtualbox (C:\Users\manuel.conde\AppData\Roaming\Titanium\mobilesdk\win32\3.2.0.GA\node_modules\titanium-sdk\lib\emulators\genymotion.js:99:20)
          at C:\Users\manuel.conde\AppData\Roaming\Titanium\mobilesdk\win32\3.2.0.GA\node_modules\async\lib\async.js:521:25
      

      Here's the original Q&A question: http://developer.appcelerator.com/question/160759/update-to-ti-320ga-android-not-compiling-anymore

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cbarber Chris Barber
                Reporter:
                cbarber Chris Barber
                Reviewer:
                Allen Yeung
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration