{ "id": "92128", "key": "AC-2815", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2012-08-11T16:10:20.000+0000", "created": "2012-05-21T19:08:56.000+0000", "labels": [ "ios" ], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:47:44.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "app.js wrote following one line.\r\n\r\n// としてTi.U.PICKER_TYPE_DATEを\r\n\r\nInstall to iOS Device , then BUILD FAILED occur.\r\n\r\n---build.log---\r\nUnicodeDecodeError: 'ascii' codec can't decode byte 0xe3 in position 43: ordinal not in range(128)\r\nCommand /bin/sh failed with exit code 1\r\n\r\n\r\n** BUILD FAILED **\r\n---/build.log---\r\n\r\n\r\n---app.js source code hex dump ---\r\n[1036][sugie@mini-ssd:Resources]$od -cx app.js \r\n0000000 / / と ** ** し ** ** て ** ** T i . U\r\n 2f2f e320 a881 81e3 e397 a681 6954 552e\r\n0000020 . P I C K E R _ T Y P E _ D A T\r\n 502e 4349 454b 5f52 5954 4550 445f 5441\r\n0000040 E を ** ** \\n \r\n e345 9282 000a \r\n0000045\r\n[1036][sugie@mini-ssd:Resources]$\r\n---/app.js source code hex dump ---\r\n\r\nThere are some 'e3' codes.\r\n\r\nMay be codecs.py can not parse 'e3' code.\r\n\r\n", "attachment": [ { "id": "27852", "filename": "build.log", "author": { "name": "tadashi", "key": "tadashi", "displayName": "Tadashi Sugie", "active": true, "timeZone": "Asia/Tokyo" }, "created": "2012-05-21T19:08:56.000+0000", "size": 115419, "mimeType": "text/plain" }, { "id": "30384", "filename": "TC-911_SDK2.0.1.GA2_ERROR.png", "author": { "name": "tadashi", "key": "tadashi", "displayName": "Tadashi Sugie", "active": true, "timeZone": "Asia/Tokyo" }, "created": "2012-08-08T19:40:04.000+0000", "size": 216909, "mimeType": "image/png" }, { "id": "30385", "filename": "TC-911_SDK2.0.2.GA_OK.png", "author": { "name": "tadashi", "key": "tadashi", "displayName": "Tadashi Sugie", "active": true, "timeZone": "Asia/Tokyo" }, "created": "2012-08-08T19:40:04.000+0000", "size": 409135, "mimeType": "image/png" }, { "id": "30386", "filename": "TC-911_SDK2.1.0.GA_OK.png", "author": { "name": "tadashi", "key": "tadashi", "displayName": "Tadashi Sugie", "active": true, "timeZone": "Asia/Tokyo" }, "created": "2012-08-08T19:40:04.000+0000", "size": 410380, "mimeType": "image/png" }, { "id": "30387", "filename": "TC-911_SDK2.1.1.GA_OK.png", "author": { "name": "tadashi", "key": "tadashi", "displayName": "Tadashi Sugie", "active": true, "timeZone": "Asia/Tokyo" }, "created": "2012-08-08T19:40:04.000+0000", "size": 408928, "mimeType": "image/png" } ], "flagged": false, "summary": "codecs.py parse 0xE3 bug may be. BUILD FAILED occurred on 'Install to iOS Device' ", "creator": { "name": "tadashi", "key": "tadashi", "displayName": "Tadashi Sugie", "active": true, "timeZone": "Asia/Tokyo" }, "subtasks": [], "reporter": { "name": "tadashi", "key": "tadashi", "displayName": "Tadashi Sugie", "active": true, "timeZone": "Asia/Tokyo" }, "environment": "Mac OSX 10.7.4 Lion. Titanium Studio 2.0.1.1334372201, Pydev 2.5.0.2012031515", "comment": { "comments": [ { "id": "213090", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tadashi,\r\n\r\nI cannot reproduce this issue. Is it still an issue for you? Which Titanium SDK are you currently using?", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-07T04:47:49.000+0000", "updated": "2012-08-07T04:47:49.000+0000" }, { "id": "213491", "author": { "name": "tadashi", "key": "tadashi", "displayName": "Tadashi Sugie", "active": true, "timeZone": "Asia/Tokyo" }, "body": "I'm using SDK Version is 2.1.1.GA.\r\n\r\nI confirmed this bug.\r\n\r\nSDK 2.0.2 later not occurred this error.\r\n", "updateAuthor": { "name": "tadashi", "key": "tadashi", "displayName": "Tadashi Sugie", "active": true, "timeZone": "Asia/Tokyo" }, "created": "2012-08-08T19:40:43.000+0000", "updated": "2012-08-08T19:40:43.000+0000" }, { "id": "213951", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Tadashi,\r\n\r\nI've reproduced your issue while installing on device, my fault before.\r\nI have made some research and I found out that this is actually not a Titanium bug, but it's due to the following fact, also explained here http://docs.python.org/howto/unicode.html under the section 'Python 2.x’s Unicode Support'\r\n\r\nBasically all the argument of the unicode constructor should be 8-bit strings. In our case, ASCII encoding it's used for the conversion and what's happening is that a character greater than 127 is treated as an error.\r\n\r\nThus, we cannot support this string character in the provided sample.\r\n\r\nRegards,\r\nFederico", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-11T16:10:07.000+0000", "updated": "2012-08-11T16:10:07.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }