{ "id": "102947", "key": "TIMOB-11314", "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": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14167", "description": "2012 Sprint 21 JS", "name": "2012 Sprint 21 JS", "archived": true, "released": true, "releaseDate": "2012-10-22" }, { "id": "14273", "description": "2012 Sprint 21", "name": "2012 Sprint 21", "archived": true, "released": true, "releaseDate": "2012-10-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-10-14T20:41:46.000+0000", "created": "2012-10-09T15:49:55.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "cli", "core", "qe-port", "triage" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2012-11-12T19:09:42.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": "12305", "name": "Core", "description": "Central component of the Platform (outside of Tooling, or platform specific implementation details)" } ], "description": "I am attempting to build a project for android with alloy. The alloy compile finishes, so I don't think the problem is there, but here is the relevant output\r\n\r\n{code}\r\n[INFO] Parsing AST for \"alloy/string.js\"...\r\n[INFO] - Processing \"builtins\" module...\r\n[INFO] - Processing \"mangle\" module...\r\n[INFO] - Processing \"squeeze\" module...\r\n[INFO] compile:trigger-> post:compile\r\n[INFO] Titanium SDK version: 3.0.0 (10/09/12 08:57 33c586f)\r\n[WARN] Fastdev enabled, but server isn't running, deploying normally\r\n[INFO] Copying CommonJS modules...\r\n[INFO] Copying project resources..\r\n[ERROR] Application Installer abnormal process termination. Process exit value was 1\r\n[ERROR] Exception occured while building Android project:\r\n[ERROR] Traceback (most recent call last):\r\n[ERROR] File \"/Users/tlukasavage/Library/Application Support/Titanium/mobilesdk/osx/3.0.0/android/builder.py\", line 2367, in \r\n[ERROR] builder.build_and_run(False, avd_id, debugger_host=debugger_host)\r\n[ERROR] File \"/Users/tlukasavage/Library/Application Support/Titanium/mobilesdk/osx/3.0.0/android/builder.py\", line 2049, in build_and_run\r\n[ERROR] self.copy_project_resources()\r\n[ERROR] File \"/Users/tlukasavage/Library/Application Support/Titanium/mobilesdk/osx/3.0.0/android/builder.py\", line 791, in copy_project_resources\r\n[ERROR] tiapp_delta = self.project_deltafy.scan_single_file(self.project_tiappxml)\r\n[ERROR] File \"/Users/tlukasavage/Library/Application Support/Titanium/mobilesdk/osx/3.0.0/android/deltafy.py\", line 181, in scan_single_file\r\n[ERROR] return self.check_delta(file, os.stat(file))\r\n[ERROR] File \"/Users/tlukasavage/Library/Application Support/Titanium/mobilesdk/osx/3.0.0/android/deltafy.py\", line 148, in check_delta\r\n[ERROR] modified_time = datetime.fromtimestamp(path_stat.st_mtime)\r\n[ERROR] ValueError: year is out of range\r\n{code}\r\n\r\nNot exactly sure what is going on here, it appears to be choking on resolving file timestamps or something.\r\n\r\nThings I've tried:\r\n\r\n* clean\r\n* restart tistudio\r\n* adb kill-server && adb start-server\r\n\r\nNo luck.", "attachment": [ { "id": "32586", "filename": "logForStudio.txt", "author": { "name": "sguduru", "key": "sguduru", "displayName": "Smitha Guduru", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-13T00:20:46.000+0000", "size": 1337, "mimeType": "text/plain" } ], "flagged": false, "summary": "CLI: \"ValueError: year is out of range\" on Alloy for android build", "creator": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio, build: 3.0.0.201210072147\r\nTiSDK 3.0.0 from master", "comment": { "comments": [ { "id": "223222", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I'm getting this on a fairly regular basis now running android apps through the new CLI. It's becoming a pretty big problem because I know of no workaround for this error.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-11T23:45:22.000+0000", "updated": "2012-10-11T23:45:22.000+0000" }, { "id": "223345", "author": { "name": "sguduru", "key": "sguduru", "displayName": "Smitha Guduru", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Unable to install an app with ti.cloud on to an android device using studio. Please check the attached log, logForStudio.txt\nEnvironment:\nSDK: 3.0.0.v20121012131612,\nTitanium Studio(RC): 3.0.0.201210101947,\nti.cloud: 2.3.0,\nti.cloudpush: 2.0.7,\nDevice: Xoom(4.0.3)\nMac OS X: 10.8\nNode.js: v0.8.8", "updateAuthor": { "name": "sguduru", "key": "sguduru", "displayName": "Smitha Guduru", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-13T00:20:11.000+0000", "updated": "2012-10-13T00:20:11.000+0000" }, { "id": "223351", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Changing severity to blocker. Seeing a similar issue when using ti.cloud sample app with titanium app. See Smitha's comment.", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-10-13T00:43:11.000+0000", "updated": "2012-10-13T00:43:11.000+0000" }, { "id": "223427", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "The cause of the error is the year of the date modified of the tiapp.xml is set WAY into the future by several thousands of years. The exact cause of the date being set that far future is yet to be determined.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-10-13T22:13:18.000+0000", "updated": "2012-10-13T22:13:18.000+0000" }, { "id": "223431", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master pull request: https://github.com/appcelerator/titanium_mobile/pull/3217\n3.0.x pull request: https://github.com/appcelerator/titanium_mobile/pull/3218", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-10-13T22:29:02.000+0000", "updated": "2012-10-13T22:29:02.000+0000" }, { "id": "224040", "author": { "name": "sguduru", "key": "sguduru", "displayName": "Smitha Guduru", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix and I am able to install the titanium cloud sample app on to android device. \n\nVerified in:\nSDK: 3.0.0.v20121016183111,\nTitanium Studio: 3.0.0.201210101947,\nti.cloud: 2.3.0,\nti.cloudpush: 2.0.7,\nMac OS X: 10.8.2,\nDevice: Droid 3(2.3.4)", "updateAuthor": { "name": "sguduru", "key": "sguduru", "displayName": "Smitha Guduru", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-17T20:25:06.000+0000", "updated": "2012-10-17T20:25:06.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }