{ "id": "86557", "key": "TIMOB-7680", "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": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-10-07T20:28:27.000+0000", "created": "2012-02-15T18:16:10.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-ios021312" ], "versions": [ { "id": "13070", "description": "Release 1.8 Service Pack 2", "name": "Release 1.8.2", "archived": true, "released": true, "releaseDate": "2012-02-29" } ], "issuelinks": [ { "id": "32337", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "109737", "key": "TIMOB-12740", "fields": { "summary": "iOS: iTunes script intermittently fails to initiate sync", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-10-07T20:28:27.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" }, { "id": "10206", "name": "iOS", "description": "iOS Platform" }, { "id": "10207", "name": "Tooling" } ], "description": "Description:\r\nWhile building some test projects, Studio reported the following:\r\n[INFO] Performing clean build\r\n[INFO] Installing application in iTunes ... one moment\r\n[DEBUG] executing command: /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/PackageApplication /Users/eric/Documents/fromGit/titanium_mobile_tests_internal/FeatureTest/OrientationModes/all/build/iphone/build/Debug-iphoneos/all.app\r\n/Users/eric/Library/Application Support/Titanium/mobilesdk/osx/1.8.2.v20120214163156/iphone/itunes_sync.scpt: execution error: Can't make name of 3 into type Unicode text. (-1700)\r\n[INFO] iTunes sync initiated\r\n\r\nThe build seemed to complete, and the application was placed in iTunes as expected.\r\n\r\nA quick check of the iTunes_sync.scpt shows a suspect line:\r\nlog \"The device \" & name of n & \" was unable to sync (\" & errorStr & \":\" & errorNumber & \")\"\r\n\r\nWhen changing the line to include \"name of source n\", the error went away. (Kudos to Blain for the suggestion)\r\n\r\nAlso, without the iPod hooked up, the error was not presented.\r\n\r\n\r\nSteps to reproduce:\r\n1) Create a sample project using Studio 1.0.9\r\n2) Attach an iPod for use in testing\r\n3) Build the project for device using SDK 1.8.2\r\n\r\nResult:\r\nError reported in Studio\r\n\r\nExpected:\r\nNo errors reported\r\n\r\nNote:\r\nThis appears on the Q&A page as occurring as early as 1.7.1, so not marking as regression. Link:\r\nhttp://developer.appcelerator.com/question/122993/error-while-moving-app-to-ios-device", "attachment": [], "flagged": false, "summary": "iOS: iTunes_sync.scpt - Error reported when iTunes sync script launched during build with iPod connected to iTunes", "creator": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OS 10.7.2\r\niPod 4th gen (4.3.3)\r\nSDK: 1.8.2.v20120214163156\r\nTitanium Studio, build: 1.0.9.201202131024", "comment": { "comments": [ { "id": "198836", "author": { "name": "bjornbak", "key": "bjornbak", "displayName": "Christian Bjørnbak", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I got this too with SDK and Titanium Studio 2.0.2.GA on Mac OS X 10.7.4.\r\n\r\nThis thread discusses the problem and considers the Mac OS X version and iTunes' state as possible reasons..\r\n\r\niTunes complained the SIM card in the iPhone was unsupported. Removing the SIM card solved the problem.\r\n\r\n\r\n ", "updateAuthor": { "name": "bjornbak", "key": "bjornbak", "displayName": "Christian Bjørnbak", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-16T14:14:33.000+0000", "updated": "2012-06-16T14:14:33.000+0000" }, { "id": "198837", "author": { "name": "bjornbak", "key": "bjornbak", "displayName": "Christian Bjørnbak", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Ups forgot the link to the thread: http://developer.appcelerator.com/question/122993/error-while-moving-app-to-ios-device\r\n", "updateAuthor": { "name": "bjornbak", "key": "bjornbak", "displayName": "Christian Bjørnbak", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-16T14:39:03.000+0000", "updated": "2012-06-16T14:39:03.000+0000" }, { "id": "221678", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Bug persists.\r\n\r\nTitanium Studio: 3.0.0.201209302313\r\nTitanium SDK: 3.0.0.v20120929141713\r\nOS: Mountain Lion 10.8.2\r\nXcode: 4.5\r\nDevice: iPod 4.3.3\r\n\r\nConsole Log:\r\n\r\n{code}\r\n[INFO] Installing application in iTunes ... one moment\r\n[DEBUG] executing command: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/PackageApplication /Users/dhyde/Desktop/TISTUD-NIGHTLY/titanium_studio_workspace/MyProject/build/iphone/build/Debug-iphoneos/MyProject.app\r\n/Users/dhyde/Library/Application Support/Titanium/mobilesdk/osx/3.0.0.v20120929141713/iphone/itunes_sync.scpt: [INFO] iTunes sync initiated\r\nexecution error: Can’t make name of 3 into type Unicode text. (-1700)\r\n{code}", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-01T22:45:11.000+0000", "updated": "2012-10-01T22:47:07.000+0000" }, { "id": "256610", "author": { "name": "maxmikheev", "key": "maxmikheev", "displayName": "Maxim Mikheev", "active": true, "timeZone": "Asia/Yerevan" }, "body": "Bug persists.\r\n\r\nTitanium Studio: 3.1.1.201306041657\r\nTitanium SDK: 3.1.0.GA\r\nOS: Mountain Lion 10.8.3\r\nXcode: 4.6.2\r\nDevice: iPad 3, iOS 6.1.3\r\n\r\nConsole Log:\r\n{code}\r\n[INFO] : Initiating iTunes sync\r\n[ERROR] : Failed to initiate iTunes sync\r\n[ERROR] : /Users/developer/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.GA/iphone/itunes_sync.scpt: execution error: Can’t make name of 4 into type Unicode text. (-1700)\r\n[ERROR] : \r\n[ERROR] : Project failed to build after 32s 536ms\r\n{code}", "updateAuthor": { "name": "maxmikheev", "key": "maxmikheev", "displayName": "Maxim Mikheev", "active": true, "timeZone": "Asia/Yerevan" }, "created": "2013-06-07T12:18:03.000+0000", "updated": "2013-06-07T12:18:03.000+0000" }, { "id": "256654", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~maxmikheev], can you please supply the full log output with the log level set to \"TRACE\"?", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-06-07T17:00:39.000+0000", "updated": "2013-06-07T17:00:39.000+0000" }, { "id": "274064", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as a duplicate of the linked ticket. The other ticket (TIMOB-12740) is technically a duplicate, but all work and the fix is against that ticket. So closing this one.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-07T20:28:10.000+0000", "updated": "2013-10-07T20:28:10.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }