{ "id": "88831", "key": "TIMOB-8305", "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": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "13207", "name": "Sprint 2012-07", "archived": true, "released": true, "releaseDate": "2012-04-08" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-03-26T16:05:26.000+0000", "created": "2012-03-26T08:53:05.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-port" ], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2012-08-13T10:18:01.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": "11500", "name": "MobileWeb", "description": "Mobile Web (HTML) Platform" } ], "description": "If the apple startup images folder does not exist, then the compiler crashes with:\r\n\r\n{code}\r\nTraceback (most recent call last):\r\n File \"/Library/Application Support/Titanium/mobilesdk/osx/2.0.0/mobileweb/builder.py\", line 21, in \r\n main(sys.argv)\r\n File \"/Library/Application Support/Titanium/mobilesdk/osx/2.0.0/mobileweb/builder.py\", line 18, in main\r\n compiler.Compiler(project_dir,deploytype)\r\n File \"/Library/Application Support/Titanium/mobilesdk/osx/2.0.0/mobileweb/compiler.py\", line 95, in __init__\r\n self.copy(os.path.join(self.resources_path, 'mobileweb', 'apple_startup_images', 'Default.jpg'), self.build_path)\r\n File \"/Library/Application Support/Titanium/mobilesdk/osx/2.0.0/mobileweb/compiler.py\", line 624, in copy\r\n shutil.copy(src_path, dest_path)\r\n File \"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py\", line 116, in copy\r\n copyfile(src, dst)\r\n File \"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py\", line 81, in copyfile\r\n with open(src, 'rb') as fsrc:\r\nIOError: [Errno 2] No such file or directory: 'workspace/Sample.Mapping/Resources/mobileweb/apple_startup_images/Default.jpg'\r\n{code}\r\n\r\nBecause of this issue, any projects created by users prior to 2.0 will crash.", "attachment": [], "flagged": false, "summary": "MobileWeb: If an app does not contain Resources/mobileweb/apple_startup_images, the build process crashes.", "creator": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "188575", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "This is because someone created a project with the old directory layout. I'll add checks to see that the files exist first.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-03-26T09:08:25.000+0000", "updated": "2012-03-26T09:08:25.000+0000" }, { "id": "188584", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FYI the projects in question are all of the samples that Ping created, Kitchen Sink, Bravo, NBC, and everything else I could get my hands on.", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-26T09:26:11.000+0000", "updated": "2012-03-26T09:26:11.000+0000" }, { "id": "188714", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Pull request: https://github.com/appcelerator/titanium_mobile/pull/1848", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-03-26T15:47:51.000+0000", "updated": "2012-03-26T15:47:51.000+0000" }, { "id": "214046", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified fix on:\r\nTitanium studio : 2.1.1.201207271312\r\nSDK version : 2.2.0.v20120810194112\r\nAndroid 4.0.4 - default ,chrome 18.0\r\nIphone 4.3.5 - safari mobile\r\nMountain lion(10.8) - chrome 21.0,safari 6,firefox 14.0.1", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-08-13T10:18:01.000+0000", "updated": "2012-08-13T10:18:01.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }