{ "id": "131781", "key": "TIMOB-17164", "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": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-08-28T14:34:15.000+0000", "created": "2014-06-16T19:45:14.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_liveview", "qe-closed-3.4.0", "qe-manualtest", "triage" ], "versions": [ { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "issuelinks": [], "assignee": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-09-03T18:05:55.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": "13600", "name": "LiveView", "description": "Live preview of Titanium apps" } ], "description": "h3. Description\r\nLive View breaks with RC build with the following error:\r\n{code}\r\n[ERROR] Invalid Titanium project path (no tiapp.xml) at \"/Users/aleard/Downloads/Appcelerator_Studio/AppceleratorStudio.app/Contents/MacOS\"\r\n{code}\r\nh3. Repro Steps\r\n1. Build attached app with Live View enabled\r\n2. Make a change to any file and save it\r\n3. App will not reload and error appears", "attachment": [ { "id": "48975", "filename": "Test.zip", "author": { "name": "aleard", "key": "aleard", "displayName": "Alan Leard", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-16T19:45:14.000+0000", "size": 5925163, "mimeType": "application/zip" } ], "flagged": false, "summary": "LiveView: Error on rebuild - \"Invalid Titanium project path (no tiapp.xml)\"", "creator": { "name": "aleard", "key": "aleard", "displayName": "Alan Leard", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "aleard", "key": "aleard", "displayName": "Alan Leard", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OSX 10.9.2\r\nAppcelerator Studio, build: 3.3.1.201406131701\r\nCLI version 3.3.0-rc\r\nTitanium SDK version 3.3.0.v20140306012502\r\nAlloy 1.4-rc", "closedSprints": [ { "id": 155, "state": "closed", "name": "2014 Sprint 15 Tooling", "startDate": "2014-07-21T22:15:26.319Z", "endDate": "2014-08-02T00:00:00.000Z", "completeDate": "2014-08-04T14:51:13.686Z", "originBoardId": 121 }, { "id": 188, "state": "closed", "name": "2014 Sprint 17 Tooling", "startDate": "2014-08-21T22:08:00.000Z", "endDate": "2014-08-30T00:00:00.000Z", "completeDate": "2014-09-02T07:54:24.111Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "311168", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Unable to reproduce issue on:\r\nMac OSX 10.9.3\r\nWindows 8.1\r\nAppcelerator Studio, build: 3.3.0.201406231625\r\nTitanium SDK, build: 3.3.0.v20140626115712\r\nTitanium CLI, build: 3.3.0-rc3\r\nAlloy: 1.4.0-rc2\r\nLiveView: 1.0.4\r\n\r\nAttached alloy project successfully updates with LiveView changes.\r\nNo tiapp.xml error is thrown.", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-26T22:08:11.000+0000", "updated": "2014-06-26T22:08:11.000+0000" }, { "id": "311473", "author": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~aleard] I'm unable to reproduce the issue while trying to run the app on iOS simulator and Android device. \r\n\r\nAre you running the app on android/ios simulator/device ?", "updateAuthor": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-06-28T00:20:27.000+0000", "updated": "2014-06-28T00:20:27.000+0000" }, { "id": "311474", "author": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Here is my environment :\r\n\r\nTitanium CLI : 3.3.0-rc3\r\nAlloy : 1.4.0-rc3\r\nStudio : 3.3.0.201406271159", "updateAuthor": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-06-28T00:27:58.000+0000", "updated": "2014-06-28T00:27:58.000+0000" }, { "id": "312348", "author": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I have validated that this issue exists only in 3.3.1 and 3.4.x builds. We have addressed an issue (in 3.3.1) with respect to UNC path and does not pass in the working directory to the build command. However, Alloy expects the working directory to be set when it is forced to recompile by liveview.\r\n\r\ncomple/index.js file (at line 48) invokes getAndValidateProjectPaths() method with one of a valid arguments. However, since the working directory is not set with the project directory, it picks up the working directory of the process (which is happened to be Studio base directory). [~skypanther] Do you think that Alloy should consider the project path directory here, instead of falling back to process current directory ?", "updateAuthor": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-07-03T22:52:26.000+0000", "updated": "2014-07-03T22:52:26.000+0000" }, { "id": "312552", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "[~pinnamuri] The statement you reference accepts one of three paths: {{program.outputPath || args[0] || process.cwd()}} . The first of those comes from the CLI (e.g. {{ti build ...}} when it spawns the compile process and represents the project-dir as defined by the CLI. The remaining two look to the current path and would come into play when {{alloy compile}} is called directly. Where would Alloy get this project path if it's not passed to it or extracted from the process environment?", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-07-07T15:24:36.000+0000", "updated": "2014-07-07T15:24:36.000+0000" }, { "id": "320018", "author": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/liveview/pull/81\r\n\r\nTo verify the changes : \r\n# Copy the liveview changes into the Appcelerator Studio installation (/plugins/com.appcelerator.titanium.liveview.core_1.1.0.1408413634/node_modules/liveview/)\r\n# Run a Alloy app onto iOS simulator with liveview enabled.\r\n# After the app is run in simulator, make a few changes to the Alloy app. Make sure the changes are reflected in simulator/device.", "updateAuthor": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-08-22T22:42:59.000+0000", "updated": "2014-08-22T22:42:59.000+0000" }, { "id": "320317", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the issue:\r\nAppcelerator Studio: 3.4.0.201408251831\r\nSdk:3.4.0.v20140825141714\r\nalloy:1.5.0-dev\r\ntitanium:3.4.0-dev\r\ntitanium-code-processor:1.1.1\r\nacs:1.0.16\r\nnpm:1.3.2\r\nOS:Maverick(10.9.4)\r\nxcode: Xcode6Beta5\r\nDevice:iPhone5c(v7.1.2)\r\n\r\nLiveView working fine.Reloading changes without error on both alloy and classic project.\r\n\r\nAfter the fix we have new Appcelerator Studio build(3.4.0.201408251831)\r\nin which above mentioned git changes already exist in the file (Appcelerator_Studio/plugins /com.appcelerator.titanium.liveview.core_1.1.0.1409014742/node_modules/liveview/lib/fserver.js)\r\n\r\n", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-26T09:28:25.000+0000", "updated": "2014-08-26T09:28:25.000+0000" }, { "id": "320553", "author": { "name": "jkneen", "key": "jkneen", "displayName": "Jason Kneen", "active": false, "timeZone": "Africa/Ceuta" }, "body": "This is still an issue if the Workspace path has spaces :-\r\n\r\n[ERROR] Titanium project path does not exist at \"/Users/jkneen/Documents/Code/Titanium\".\r\n\r\nMy Workspace is in the old format, without _ between the words.", "updateAuthor": { "name": "jkneen", "key": "jkneen", "displayName": "Jason Kneen", "active": false, "timeZone": "Africa/Ceuta" }, "created": "2014-08-27T11:12:08.000+0000", "updated": "2014-08-27T11:12:08.000+0000" }, { "id": "320721", "author": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~jkneen] Thanks for testing the fix and reporting the issue.", "updateAuthor": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-08-28T00:41:20.000+0000", "updated": "2014-08-28T00:41:20.000+0000" }, { "id": "320784", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "Works as described. PR merged", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-08-28T14:34:15.000+0000", "updated": "2014-08-28T14:34:15.000+0000" }, { "id": "321421", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified fix on:\r\n\r\nMac OSX 10.9.4\r\nAppcelerator Studio, build: 3.4.0.201408291834\r\nTitanium SDK build: 3.4.0.v20140829184521 \r\nTitanium CLI, build: 3.4.0-dev\r\nAlloy: 1.5.0-dev\r\n\r\nCreated a new Alloy project that contained a space in the project name and built to iOS device, made changes to the code and saved. The changes were reflected by the simulator.\r\n\r\nClosing ticket.", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2014-09-02T19:59:28.000+0000", "updated": "2014-09-02T19:59:28.000+0000" } ], "maxResults": 12, "total": 12, "startAt": 0 } } }