{ "id": "160258", "key": "TIMOB-23379", "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": "11258", "description": "Holding Pen for Triaged Issues", "name": "Backlog", "archived": false, "released": false } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2019-11-11T17:02:14.000+0000", "created": "2016-05-14T06:47:02.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "updated": "2019-11-11T17:02:14.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": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "When Appcelerator is running in a PC with McAfee antivirus installed, Running a project leads to \"An uncaught exception was thrown! EPERM, operation not permitted\" error.", "attachment": [], "flagged": false, "summary": "Windows OS: Appcelerator is not compatible with McAfee antivirus.", "creator": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "subtasks": [], "reporter": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "environment": null, "comment": { "comments": [ { "id": "385785", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "Sounds like this is a file/folder permissions issue, unlikely to be related to McAfee Antivirus. It'd be helpful to have more details here:\r\n- What version of Titanium SDK?\r\n- What version of Appcelerator CLI?\r\n- Was this through Studio or the CLI? If Studio, what version Studio?\r\n- What version of Windows OS?\r\n- Where is the project path? Do you have the exact error log/output to trace what section of code complained and what path it was referring to?\r\n", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2016-05-16T13:23:41.000+0000", "updated": "2016-05-16T13:23:41.000+0000" }, { "id": "388586", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Here is the details of one of our user, who was facing the issue. He was trying to build for Android. He overcomes the error by completely uninstalling the MacAfee antivirus.\r\n{code}\r\n$ appc ti build -p android -C \"Samsung Galaxy S5 - 4.4.4 - API 19 - 1080x1920\"\r\nAppcelerator Command-Line Interface, version 5.2.2\r\nCopyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved.\r\n\r\n2016-05-04 07:29:27\r\n\r\nOperating System\r\nName = Microsoft Windows 8 Single Language\r\nVersion = 6.2.9200\r\nArchitecture = 32bit\r\n# CPUs = 4\r\nMemory = 8394137600\r\n\r\nNode.js\r\nNode.js Version = 0.12.7\r\nnpm Version = 2.11.3\r\n\r\nTitanium CLI\r\nCLI Version = 5.0.6\r\n\r\nTitanium SDK\r\nSDK Version = 5.2.2.GA\r\nSDK Path = C:\\ProgramData\\Titanium\\mobilesdk\\win32\\5.2.2.GA\r\nTarget Platform = android\r\n\r\nCommand\r\nc:\\Program Files (x86)\\nodejs\\node.exe c:\\Users\\Andreas\\.appcelerator\\install\\5.2.2\\package\\node_modules\\titanium\\lib\\titanium.js build -p android -\r\nC Samsung Galaxy S5 - 4.4.4 - API 19 - 1080x1920 --config-file C:\\Users\\Andreas\\AppData\\Local\\Temp\\build-1462321740135.json --log-level info --no-bann\r\ner --project-dir D:\\Application\\Appcelerator\\Appcelerator_Studio_Workspace_New\\sc\r\n\r\n[INFO] Found Titanium module id=ti.cloud version=3.2.9 platform=commonjs deploy-type=development path=C:\\ProgramData\\Application Data\\Titanium\\module\r\ns\\commonjs\\ti.cloud\\3.2.9\r\n[INFO] Found better matching module id=ti.cloud version=latest platform=commonjs deploy-type=development path=C:\\ProgramData\\Application Data\\Titaniu\r\nm\\modules\\commonjs\\ti.cloud\\3.2.10\r\n[INFO] Found Titanium plugin id=ti.alloy version=1.0\r\n[INFO] Deploy type: development\r\n[INFO] Building for target: emulator\r\n[INFO] Building for emulator: Samsung Galaxy S5 - 4.4.4 - API 19 - 1080x1920\r\n[INFO] Targeting Android SDK API: 23\r\n[INFO] Building for the following architectures: armeabi, armeabi-v7a, x86\r\n[INFO] Signing with keystore: C:\\ProgramData\\Titanium\\mobilesdk\\win32\\5.2.2.GA\\android\\dev_keystore (tidev)\r\n[INFO] Debugging disabled\r\n[INFO] Profiler disabled\r\n[INFO] Forcing rebuild: D:\\Application\\Appcelerator\\Appcelerator_Studio_Workspace_New\\sc\\build\\android\\build-manifest.json does not exist\r\n[INFO] Found Alloy app in D:\\Application\\Appcelerator\\Appcelerator_Studio_Workspace_New\\sc\\app\r\n[INFO] Executing Alloy compile: c:\\Program Files (x86)\\nodejs\\node.exe c:\\Users\\Andreas\\.appcelerator\\install\\5.2.2\\package\\node_modules\\alloy\\bin\\al\r\nloy compile D:\\Application\\Appcelerator\\Appcelerator_Studio_Workspace_New\\sc\\app --config platform=android,version=0,simtype=none,devicefamily=none,de\r\nploytype=development,target=emulator\r\n[WARN] Generated \"/i18n\" directory is not ignored by Git, please add it to your .gitignore\r\n[WARN] Generated \"/platform\" directory is not ignored by Git, please add it to your .gitignore\r\n[INFO] [config.json] config.json unchanged, using cached config.json...\r\n[INFO] ----- MVC GENERATION -----\r\n[INFO] [global style] loading from cache...\r\n[INFO] [models/Account.js] model processing...\r\n[INFO] [home.xml] view processing...\r\n[INFO] style: \"home.tss\"\r\n[INFO] view: \"home.xml\"\r\n[INFO] created: \"Resources\\android\\alloy\\controllers\\home.js\"\r\n[INFO] created: \"Resources\\android\\alloy\\styles\\home.js\"\r\n[INFO] [index.xml] view processing...\r\n[INFO] style: \"index.tss\"\r\n[INFO] view: \"index.xml\"\r\n[INFO] controller: \"index.js\"\r\n[INFO] created: \"Resources\\android\\alloy\\controllers\\index.js\"\r\n[INFO] created: \"Resources\\android\\alloy\\styles\\index.js\"\r\n[INFO]\r\n[INFO] [app.js] using cached app.js...\r\n[INFO]\r\n[INFO] ----- OPTIMIZING -----\r\n[INFO] - alloy\\CFG.js\r\n[INFO] - android\\alloy.js\r\n[INFO] - android\\alloy\\models\\Account.js\r\n[INFO] - android\\alloy\\sync\\localStorage.js\r\n[INFO] - android\\alloy\\sync\\properties.js\r\n[INFO] - android\\alloy\\sync\\sql.js\r\n[INFO]\r\n[INFO] Alloy compiled in 2.29576s\r\n[INFO] Alloy compiler completed successfully\r\n[INFO] Launching emulator: Samsung Galaxy S5 - 4.4.4 - API 19 - 1080x1920\r\n[INFO] Running: D:\\Application\\Android\\Genymobile\\Genymotion\\player.exe --vm-name \"Samsung Galaxy S5 - 4.4.4 - API 19 - 1080x1920\"\r\n[INFO] JavaScript files need to be encrypted\r\n[WARN] Overwriting file D:\\Application\\Appcelerator\\Appcelerator_Studio_Workspace_New\\sc\\build\\android\\bin\\assets\\Resources\\appicon.png\r\n[WARN] Overwriting file D:\\Application\\Appcelerator\\Appcelerator_Studio_Workspace_New\\sc\\build\\android\\alloy_generated\r\n[INFO] Processing JavaScript files\r\n[INFO] Encrypting JavaScript files: C:\\ProgramData\\Titanium\\mobilesdk\\win32\\5.2.2.GA\\android\\titanium_prep.win32.exe \"com.tvip.sc\" \"D:\\Application\\Ap\r\npcelerator\\Appcelerator_Studio_Workspace_New\\sc\\build\\android\\assets\" \"alloy/CFG.js\" \"app.js\" \"alloy/backbone.js\" \"alloy/constants.js\" \"alloy/controll\r\ners/BaseController.js\" \"alloy/controllers/home.js\" \"alloy/controllers/index.js\" \"alloy/models/Account.js\" \"alloy/styles/home.js\" \"alloy/styles/index.j\r\ns\" \"alloy/sync/localStorage.js\" \"alloy/sync/properties.js\" \"alloy/sync/sql.js\" \"alloy/underscore.js\" \"alloy/widget.js\" \"alloy.js\" \"ti.cloud.js\" \"_app_\r\nprops_.json\"\r\n[INFO] Writing D:\\Application\\Appcelerator\\Appcelerator_Studio_Workspace_New\\sc\\build\\android\\bin\\assets\\app.json\r\n[INFO] Extracting module resources: C:\\ProgramData\\Titanium\\mobilesdk\\win32\\5.2.2.GA\\android\\modules\\titanium-analytics.res.zip\r\n[INFO] Extracting module resources: C:\\ProgramData\\Titanium\\mobilesdk\\win32\\5.2.2.GA\\android\\modules\\titanium-android.res.zip\r\nAn uncaught exception was thrown!\r\nEPERM, operation not permitted 'D:\\Application\\Appcelerator\\Appcelerator_Studio_Workspace_New\\sc\\build\\android\\res\\values\\strings.xml'\r\nEPERM, operation not permitted 'D:\\Application\\Appcelerator\\Appcelerator_Studio_Workspace_New\\sc\\build\\android\\res\\values\\strings.xml'\r\n{code}\r\nSo, This might have something to do with the McAfee antivirus. Closed intercom ticket: https://app.intercom.io/a/apps/k9rdlb68/inbox/conversation/4625097754. Sorry for the late responce. \r\n\r\nRegards,\r\nSharif.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-06-17T20:12:58.000+0000", "updated": "2016-06-17T20:15:51.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }