{ "id": "122034", "key": "TIMOB-15654", "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": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2013-11-07T16:55:04.000+0000", "created": "2013-11-04T18:46:47.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-3.2.0" ], "versions": [], "issuelinks": [], "assignee": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-11-07T16:55:04.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": "12643", "name": "Anvil", "description": "Anvil" } ], "description": "h5.Description:\r\n1. Try to run any suite for platform android on anvil.\r\n\r\nh5.Actual Result:\r\nNOTE: I started to see this error after updating the CLI.\r\n1. We get following errors and the run fails:\r\n{code}\r\nLChoudharyMBP:~ lokeshchoudhary$ node /Users/lokeshchoudhary/Desktop/anvil/titanium_mobile_repo/titanium_mobile/anvil/driver/driver.js --platform=android --command=\"start --config=default --suite=text/textfield --log-level=verbose\"\r\npath.existsSync is now called `fs.existsSync`.\r\nusing Titanium SDK version <3.2.0.v20131025115646>\r\nthe custom harness config set at <./anvil/configSet/name.txt> does not contain a name.txt file that provides a harness config set name, ignoring\r\n- waiting for device -\r\nharness uninstalled\r\nharness is not built, building\r\nharness does not exist, creating\r\ntemp android harness dir already exist\r\nharness created\r\nharness updated with template\r\nharness suites updated\r\nharness tiapp.xml updated\r\napp.js updated for harness\r\nTraceback (most recent call last):\r\n File \"/Users/lokeshchoudhary/Desktop/anvil/anvilsdk/mobilesdk/osx/3.2.0.v20131025115646/android/builder.py\", line 2546, in \r\n builder = Builder(project_name,sdk_dir,project_dir,template_dir,app_id,is_emulator)\r\n File \"/Users/lokeshchoudhary/Desktop/anvil/anvilsdk/mobilesdk/osx/3.2.0.v20131025115646/android/builder.py\", line 458, in __init__\r\n android_creator.create(parent_dir, project_dir=self.top_dir, build_time=True)\r\n File \"/Users/lokeshchoudhary/Desktop/anvil/anvilsdk/mobilesdk/osx/3.2.0.v20131025115646/android/android.py\", line 341, in create\r\n app_properties = self.app_properties, app_info = self.app_info)\r\n File \"/Users/lokeshchoudhary/Desktop/anvil/anvilsdk/mobilesdk/osx/3.2.0.v20131025115646/android/android.py\", line 110, in render\r\n tmpl = self.load_template(os.path.join(template_dir, 'templates', template_file))\r\n File \"/Users/lokeshchoudhary/Desktop/anvil/anvilsdk/mobilesdk/osx/3.2.0.v20131025115646/android/android.py\", line 102, in load_template\r\n return Template(filename=template, output_encoding='utf-8', encoding_errors='replace')\r\n File \"/Users/lokeshchoudhary/Desktop/anvil/anvilsdk/mobilesdk/osx/3.2.0.v20131025115646/common/mako/template.py\", line 93, in __init__\r\n (code, module) = _compile_text(self, file(filename).read(), filename)\r\nIOError: [Errno 2] No such file or directory: '/Users/lokeshchoudhary/Desktop/anvil/anvilsdk/mobilesdk/osx/3.2.0.v20131025115646/android/templates/AppInfo.java'\r\nerror encountered when building harness: 1\r\n{code}\r\n\r\nh5.Expected Result:\r\n1. We should not get any errors & the anvil run for android should run normally.\r\n", "attachment": [], "flagged": false, "summary": "Anvil: Android run for anvil errors out", "creator": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Environment:\r\nAppcel Studio : 3.2.0.201310312311\r\nTi SDK : 3.2.0.v20131031141643\r\nMac OSX : 10.8.5\r\nAlloy : 1.3.0\r\nCLI - 3.2.0", "comment": { "comments": [ { "id": "277994", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am not able to verify this issue today due to npm issues. But will comment on it soon after the npm issue is fixed.", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-11-04T18:48:45.000+0000", "updated": "2013-11-04T18:53:44.000+0000" }, { "id": "278059", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Will close if not reproducible after the CLI install issue is fixed. Ticket: TIMOB-15658", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-04T21:35:47.000+0000", "updated": "2013-11-05T19:06:55.000+0000" }, { "id": "278221", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Tried it with latest CLI 3.2.0 & sdk 3.2.0.v20131104164843 & was not reproduce the issue.", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-11-05T19:13:21.000+0000", "updated": "2013-11-05T19:13:21.000+0000" }, { "id": "278222", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Cannot Reproduce . Closing.", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-11-05T19:13:56.000+0000", "updated": "2013-11-05T19:13:56.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }