{ "id": "175544", "key": "TIMOB-28139", "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": [], "resolution": null, "resolutiondate": null, "created": "2020-09-15T21:20:40.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [ { "id": "21051", "description": "", "name": "Release 9.2.0", "archived": false, "released": true, "releaseDate": "2020-09-23" }, { "id": "21052", "description": "", "name": "Release 9.3.0", "archived": false, "released": true, "releaseDate": "2020-12-14" }, { "id": "20950", "name": "Release 9.1.0", "archived": false, "released": true, "releaseDate": "2020-08-25" } ], "issuelinks": [], "assignee": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "updated": "2020-12-14T14:35:47.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "13600", "name": "LiveView", "description": "Live preview of Titanium apps" } ], "description": "When running Liveview on windows-Android the following error is seen when pressing save for the first time. \r\n{code:java}\r\nC:\\Users\\APPC\\.appcelerator\\install\\8.1.1-master.9\\package\\node_modules\\alloy\\node_modules\\fs-extra\\lib\\mkdirs\\mkdirs-sync.js:49\r\n throw err0\r\n ^\r\nError: EPERM: operation not permitted, mkdir 'C:\\Users\\APPC\\Documents\\Appcelerator_Studio_Workspace\\gmseedbutonwindows\\i18n'\r\n at Object.mkdirSync (fs.js:840:3)\r\n at Object.mkdirsSync (C:\\Users\\APPC\\.appcelerator\\install\\8.1.1-master.9\\package\\node_modules\\alloy\\node_modules\\fs-extra\\lib\\mkdirs\\mkdirs-sync.js:31:9)\r\n at module.exports (C:\\Users\\APPC\\.appcelerator\\install\\8.1.1-master.9\\package\\node_modules\\alloy\\Alloy\\commands\\compile\\index.js:390:5)\r\n at Object. (C:\\Users\\APPC\\.appcelerator\\install\\8.1.1-master.9\\package\\node_modules\\alloy\\Alloy\\alloy.js:114:11)\r\n at Module._compile (internal/modules/cjs/loader.js:1158:30)\r\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)\r\n at Module.load (internal/modules/cjs/loader.js:1002:32)\r\n at Function.Module._load (internal/modules/cjs/loader.js:901:14)\r\n at Module.require (internal/modules/cjs/loader.js:1044:19)\r\n at require (internal/modules/cjs/helpers.js:77:18)\r\n at Object. (C:\\Users\\APPC\\.appcelerator\\install\\8.1.1-master.9\\package\\node_modules\\alloy\\bin\\alloy:3:1)\r\n at Module._compile (internal/modules/cjs/loader.js:1158:30)\r\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)\r\n at Module.load (internal/modules/cjs/loader.js:1002:32)\r\n at Function.Module._load (internal/modules/cjs/loader.js:901:14)\r\n at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)\r\n at internal/main/run_main_module.js:18:47 {\r\n errno: -4048,\r\n syscall: 'mkdir',\r\n code: 'EPERM',\r\n path: 'C:\\\\Users\\\\APPC\\\\Documents\\\\Appcelerator_Studio_Workspace\\\\gmseedbutonwindows\\\\i18n'\r\n}\r\n{code}\r\n\r\n*Test Steps*\r\n# Download APPC studio: {{6.0.0.202005141803}}\r\n# Create a new alloy application \r\n# Run application \r\n# Make changes to the {{index.xml}}\r\n# Press Save\r\n# Above error is shown\r\n# Make another change and press save again\r\n# Live view works as expected\r\n\r\n*Actual result*\r\nAbove error is seen at step 5.\r\n\r\n*Expected result*\r\nNo error should be seen at step 5 and liveview should make the desired changes. \r\n\r\n*Note (may need another ticket)*: When building to device on windows this error is also seen:\r\n{code:java}\r\nERROR] : V8Exception: Exception occurred at /app.js:671: Uncaught Error: [LiveView] File Server unavailable. Host Unreachable @ 192.168.86.114:8324\r\n[ERROR] : V8Exception: [LiveView] Please ensure your device and computer are on the same network and the port is not blocked.\r\n[INFO] : Adreno: QUALCOMM build : 4a00b69, I4e7e888065\r\n[INFO] : Adreno: Build Date : 04/09/19\r\n[INFO] : Adreno: OpenGL ES Shader Compiler Version: EV031.26.06.00\r\n[INFO] : Adreno: Local Branch : mybranche95ae4c8-d77f-f18d-a9ef-1458d0b52ae8\r\n[INFO] : Adreno: Remote Branch : quic/gfx-adreno.lnx.1.0\r\n[INFO] : Adreno: Remote Branch : NONE\r\n[INFO] : Adreno: Reconstruct Branch : NOTHING\r\n[INFO] : Adreno: Build Config : S L 8.0.5 AArch64\r\n[INFO] : Adreno: PFP: 0x005ff110, ME: 0x005ff066\r\n[WARN] : Gralloc3: mapper 3.x is not supported\r\n[ERROR] : TiHTTPClient: (TiHttpClient-1) [117338,128443] HTTP Error (java.net.ConnectException): Failed to connect to /192.168.86.114:8324\r\n[ERROR] : TiHTTPClient: java.net.ConnectException: Failed to connect to /192.168.86.114:8324\r\n[ERROR] : TiHTTPClient: \tat com.android.okhttp.internal.io.RealConnection.connectSocket(RealConnection.java:147)\r\n[ERROR] : TiHTTPClient: \tat com.android.okhttp.internal.io.RealConnection.connect(RealConnection.java:116)\r\n[ERROR] : TiHTTPClient: \tat com.android.okhttp.internal.http.StreamAllocation.findConnection(StreamAllocation.java:186)\r\n[ERROR] : TiHTTPClient: \tat com.android.okhttp.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:128)\r\n[ERROR] : TiHTTPClient: \tat com.android.okhttp.internal.http.StreamAllocation.newStream(StreamAllocation.java:97)\r\n[ERROR] : TiHTTPClient: \tat com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:289)\r\n[ERROR] : TiHTTPClient: \tat com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:232)\r\n[ERROR] : TiHTTPClient: \tat com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:465)\r\n[ERROR] : TiHTTPClient: \tat com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:411)\r\n[ERROR] : TiHTTPClient: \tat com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:542)\r\n[ERROR] : TiHTTPClient: \tat ti.modules.titanium.network.TiHTTPClient$ClientRunnable.run(TiHTTPClient.java:1343)\r\n{code}\r\n ", "attachment": [], "flagged": false, "summary": "Windows - Android: Liveview only works on 2nd save on Simulator and fails to launch on device", "creator": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "environment": " APPC studio 6.0.0.202005141803\r\nOperating System\r\n Name = Microsoft Windows 10 Pro\r\n Version = 10.0.18363\r\n Architecture = 64bit\r\n # CPUs = 16\r\n Memory = 63.9GB\r\n\r\nNode.js\r\n Node.js Version = 12.16.1\r\n npm Version = 6.13.4\r\n\r\nAppcelerator CLI\r\n Installer = 5.0.0\r\n Core Package = 8.1.1-master.9\r\n\r\nTitanium CLI\r\n CLI Version = 5.2.5\r\n node-appc Version = 1.1.1", "comment": { "comments": [ { "id": "457394", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "*Update* I am no longer getting an error to device but I still see the original issue mentioned in this ticket. ", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-10-29T17:11:21.000+0000", "updated": "2020-10-29T17:11:21.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }