Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1491] Error while loading Android emulator list

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionDuplicate
Resolution Date2014-07-15T17:52:49.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsStudio
Labelsandroid, genymotion, windows
ReporterPLN
AssigneeMauro Parra-Miranda
Created2014-06-18T10:04:29.000+0000
Updated2016-03-08T07:37:56.000+0000

Description

Titanium crashes in CLI or in its command window when executing "ti build -p android". Stack trace: Error: EPERM, operation not permitted 'C:\Program Files\Fichiers communs' at fs.readdirSync (fs.js:659:18) at scan (C:\Users\PLN\AppData\Roaming\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\titanium-sdk\lib\emulators\genymotion.js:138:25) at scan (C:\Users\PLN\AppData\Roaming\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\titanium-sdk\lib\emulators\genymotion.js:152:26) at C:\Users\PLN\AppData\Roaming\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\titanium-sdk\lib\emulators\genymotion.js:158:10 at C:\Users\PLN\AppData\Roaming\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\titanium-sdk\lib\emulators\genymotion.js:113:8 at q.process (C:\Users\PLN\AppData\Roaming\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\async\lib\async.js:731:21) at processImmediate (timers.js:336:15) --------------------------------------------- at async.setImmediate (C:\Users\PLN\AppData\Roaming\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\async\lib\async.js:96:15) at C:\Users\PLN\AppData\Roaming\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\async\lib\async.js:696:21 at Array.forEach (native) at _each (C:\Users\PLN\AppData\Roaming\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\async\lib\async.js:32:24) at _insert (C:\Users\PLN\AppData\Roaming\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\async\lib\async.js:681:11) at q.push (C:\Users\PLN\AppData\Roaming\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\async\lib\async.js:708:15) at C:\Users\PLN\AppData\Roaming\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\titanium-sdk\lib\emulators\genymotion.js:129:12 at queue.drain (C:\Users\PLN\AppData\Roaming\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\node-appc\lib\subprocess.js:108:3) --------------------------------------------- at async.setImmediate (C:\Users\PLN\AppData\Roaming\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\async\lib\async.js:96:15) at C:\Users\PLN\AppData\Roaming\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\async\lib\async.js:696:21 at Array.forEach (native) at _each (C:\Users\PLN\AppData\Roaming\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\async\lib\async.js:32:24) at _insert (C:\Users\PLN\AppData\Roaming\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\async\lib\async.js:681:11) at q.push (C:\Users\PLN\AppData\Roaming\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\async\lib\async.js:708:15) at Object.findExecutable (C:\Users\PLN\AppData\Roaming\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\node-appc\lib\subprocess.js:113:8) at async.parallel.virtualbox (C:\Users\PLN\AppData\Roaming\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\titanium-sdk\lib\emulators\genymotion.js:99:20) --------------------------------------------- at run (C:\Users\PLN\AppData\Roaming\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\node-appc\lib\subprocess.js:59:8) at C:\Users\PLN\AppData\Roaming\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\titanium-sdk\lib\android.js:453:4 at C:\Users\PLN\AppData\Roaming\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\node-appc\lib\subprocess.js:129:3 at exithandler (child_process.js:645:7) at ChildProcess.emit (events.js:98:17) at maybeClose (child_process.js:755:16) at Socket. (child_process.js:968:11) --------------------------------------------- at exports.execFile (child_process.js:701:9) at exports.exec (child_process.js:588:18) at getRealName (C:\Users\PLN\AppData\Roaming\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\node-appc\lib\subprocess.js:128:2) at C:\Users\PLN\AppData\Roaming\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\titanium-sdk\lib\android.js:450:3 at C:\Users\PLN\AppData\Roaming\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\async\lib\async.js:533:17 at C:\Users\PLN\AppData\Roaming\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\async\lib\async.js:119:25 at C:\Users\PLN\AppData\Roaming\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\async\lib\async.js:24:16 at C:\Users\PLN\AppData\Roaming\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\async\lib\async.js:530:21 --------------------------------------------- at run (C:\Users\PLN\AppData\Roaming\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\node-appc\lib\subprocess.js:59:8) at C:\Users\PLN\AppData\Roaming\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\node-appc\lib\jdk.js:185:5 at C:\Users\PLN\AppData\Roaming\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\async\lib\async.js:533:17 at C:\Users\PLN\AppData\Roaming\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\async\lib\async.js:119:25 at C:\Users\PLN\AppData\Roaming\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\async\lib\async.js:24:16 at C:\Users\PLN\AppData\Roaming\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\async\lib\async.js:530:21 at C:\Users\PLN\AppData\Roaming\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\node-appc\lib\jdk.js:100:6 at find (C:\Users\PLN\AppData\Roaming\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\node-appc\lib\subprocess.js:76:15) --------------------------------------------- at async.setImmediate (C:\Users\PLN\AppData\Roaming\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\async\lib\async.js:96:15) at C:\Users\PLN\AppData\Roaming\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\async\lib\async.js:696:21 at Array.forEach (native) at _each (C:\Users\PLN\AppData\Roaming\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\async\lib\async.js:32:24) at _insert (C:\Users\PLN\AppData\Roaming\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\async\lib\async.js:681:11) at q.push (C:\Users\PLN\AppData\Roaming\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\async\lib\async.js:708:15) at findExecutable (C:\Users\PLN\AppData\Roaming\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\node-appc\lib\subprocess.js:113:8) at tasks.(anonymous function) (C:\Users\PLN\AppData\Roaming\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\node-appc\lib\jdk.js:99:5) --------------------------------------------- at async.setImmediate (c:\Users\PLN\AppData\Roaming\npm\node_modules\titanium\node_modules\async\lib\async.js:96:15) at c:\Users\PLN\AppData\Roaming\npm\node_modules\titanium\node_modules\async\lib\async.js:696:21 at Array.forEach (native) at _each (c:\Users\PLN\AppData\Roaming\npm\node_modules\titanium\node_modules\async\lib\async.js:32:24) at _insert (c:\Users\PLN\AppData\Roaming\npm\node_modules\titanium\node_modules\async\lib\async.js:681:11) at q.push (c:\Users\PLN\AppData\Roaming\npm\node_modules\titanium\node_modules\async\lib\async.js:708:15) at Object.findExecutable (c:\Users\PLN\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\lib\subprocess.js:113:8) at resolveNode (c:\Users\PLN\AppData\Roaming\npm\node_modules\titanium\lib\titanium.js:97:34) The folder "Fichiers Communs" (i.e. Common Files) can't be read by Titanium, and genymotion.js's scan function crashes. "Solved" hideously by adding a continue based on the folder's name, but I hope you won't take this for a potential solution.

Comments

  1. Mauro Parra-Miranda 2014-07-15

JSON Source