{ "id": "109817", "key": "TIMOB-12768", "fields": { "issuetype": { "id": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true }, "parent": { "id": "109793", "key": "TIMOB-12761", "fields": { "summary": "CLI : Building with '--skip-js-minify' for android fails on windows", "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" } }, "priority": { "name": "Critical", "id": "1" }, "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": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" }, { "id": "15278", "description": "2013 Sprint 04 JS", "name": "2013 Sprint 04 JS", "archived": true, "released": true, "releaseDate": "2013-02-25" }, { "id": "14814", "description": "2013 Sprint 04", "name": "2013 Sprint 04", "archived": true, "released": true, "releaseDate": "2013-02-25" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-02-16T02:54:21.000+0000", "created": "2013-02-16T01:45:21.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "merge-3.0.2", "qe-sdk3.0.2" ], "versions": [], "issuelinks": [ { "id": "25898", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "outwardIssue": { "id": "109793", "key": "TIMOB-12761", "fields": { "summary": "CLI : Building with '--skip-js-minify' for android fails on windows", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2013-02-19T18:22: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": "Description:\r\n1.In cli run command \"ti build -T 'target' -p android -d 'project-dir' -o 'output-dir' --skip-js-minify \" (all target types don't work)\r\n2.Observe the output\r\n\r\nActual result:\r\n1.we get error as below:\r\n{code}\r\nTraceback (most recent call last):\r\n File \"C:\\ProgramData\\Application Data\\Titanium\\mobilesdk\\win32\\3.0.2.v20130207164659\\android\\builder.py\", line 15, in \r\n from compiler import Compiler\r\n File \"C:\\ProgramData\\Application Data\\Titanium\\mobilesdk\\win32\\3.0.2.v20130207164659\\android\\compiler.py\", line 14, in \r\n from deltafy import Deltafy\r\n File \"C:\\ProgramData\\Application Data\\Titanium\\mobilesdk\\win32\\3.0.2.v20130207164659\\android\\deltafy.py\", line 53, in \r\n home = os.environ['USERPROFILE']\r\n File \"C:\\Python27\\lib\\os.py\", line 423, in __getitem__\r\n return self.data[key.upper()]\r\nKeyError: 'USERPROFILE'\r\n[ERROR] Project failed to build after 195ms\r\n{code}\r\n2.Cleaning & building the project does not work either\r\n3.Not putting the '--skip-js-minify' works fine\r\n\r\nExpected Result:\r\n1.We should be able to build with '--skip-js-minify'\r\n\r\n", "attachment": [], "flagged": false, "summary": "Backport: CLI : Building with '--skip-js-minify' for android fails on windows", "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\nCLI version : 3.0.24-cr\r\nWin 7", "comment": { "comments": [ { "id": "238785", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "3.0.x pull request: https://github.com/appcelerator/titanium_mobile/pull/3883", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-02-16T01:48:37.000+0000", "updated": "2013-02-16T01:48:37.000+0000" }, { "id": "238905", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed on win 7 and win 8\r\nCLI: 3.0.24-cr\r\nTitanium SDK version 3.0.2.v20130215190201\r\nTitanium Studio, build: 3.0.2.201302041757\r\n", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-19T18:22:14.000+0000", "updated": "2013-02-19T18:22:14.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }