{ "id": "115020", "key": "TIMOB-14386", "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": "15597", "description": "2013 Sprint 17", "name": "2013 Sprint 17", "archived": true, "released": true, "releaseDate": "2013-08-23" }, { "id": "15598", "description": "2013 Sprint 17 Core", "name": "2013 Sprint 17 Core", "archived": true, "released": true, "releaseDate": "2013-08-23" }, { "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-08-20T21:11:07.000+0000", "created": "2013-05-28T06:35:48.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "ios", "packaging", "qe-closed-3.2.0", "qe-testadded" ], "versions": [ { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" } ], "issuelinks": [ { "id": "29785", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "113020", "key": "TISTUD-4311", "fields": { "summary": "iOS: Packaging - Appstore distribution not possible via Studio if Adhoc Distribution is done first ", "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": "2014-02-24T23:53:41.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": "Unable to package for Ad Hoc distribution because of a Node error below. I can build for everything else (simulator, iOS device or App Store). Was getting the same error before upgrading to the release candidate.\r\n\r\n[TRACE] : ** BUILD SUCCEEDED **\r\n[INFO] : Finished building the application in 17s 374ms\r\n[INFO] : Packaging for Ad Hoc distribution\r\n/usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:181\r\n throw e;\r\n ^\r\nError: EISDIR, illegal operation on a directory '/'\r\n at fs.mkdirSync (fs.js:642:18)\r\n at Object.mkdirSyncRecursive (/Users/danwilson/Library/Application Support/Titanium/mobilesdk/osx/3.1.1.v20130523143543/node_modules/wrench/lib/wrench.js:335:12)\r\n at exports.copyFileSync (/Users/danwilson/Library/Application Support/Titanium/mobilesdk/osx/3.1.1.v20130523143543/node_modules/node-appc/lib/fs.js:133:9)\r\n at /Users/danwilson/Library/Application Support/Titanium/mobilesdk/osx/3.1.1.v20130523143543/iphone/cli/hooks/package.js:124:12\r\n at exithandler (child_process.js:635:7)\r\n at EventEmitter.emit (events.js:98:17)\r\n at maybeClose (child_process.js:735:16)\r\n at Socket. (child_process.js:948:11)\r\n---------------------------------------------\r\n at exports.execFile (child_process.js:691:9)\r\n at exports.exec (child_process.js:578:18)\r\n at cli.addHook.post (/Users/danwilson/Library/Application Support/Titanium/mobilesdk/osx/3.1.1.v20130523143543/iphone/cli/hooks/package.js:111:6)\r\n at /usr/local/lib/node_modules/titanium/lib/cli.js:110:12\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:486:21\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:185:13\r\n at iterate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:108:13)\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:119:25", "attachment": [ { "id": "40233", "filename": "output-0.8.22.log", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-26T01:50:55.000+0000", "size": 1230781, "mimeType": "text/plain" }, { "id": "39488", "filename": "trace.log", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-05T19:28:00.000+0000", "size": 207268, "mimeType": "text/plain" } ], "flagged": false, "summary": "iOS: Unable to create Ad Hoc Packaging in node 0.8.22", "creator": { "name": "killroyboy", "key": "killroyboy", "displayName": "Dan Wilson", "active": true, "timeZone": "America/Denver" }, "subtasks": [], "reporter": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "$ titanium\r\nTitanium Command-Line Interface, CLI version 3.1.1-alpha, Titanium SDK version 3.1.1.v20130523143543\r\nCopyright (c) 2012-2013, Appcelerator, Inc. All Rights Reserved.\r\n$ node -v\r\nv0.8.22", "comment": { "comments": [ { "id": "255252", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "body": "http://developer.appcelerator.com/question/152848/node-error-when-packaging-for-ad-hoc", "updateAuthor": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-31T20:28:51.000+0000", "updated": "2013-05-31T20:28:51.000+0000" }, { "id": "255630", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hello Dan,\n\nWere you able to correct this issue? Is only occurring on this one app or does it happen for all apps? Would you mind testing this for us on a test app to determine if this is a unique problem with your app or a problem with something else?\n\nThanks,\nCarter", "updateAuthor": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-03T22:04:21.000+0000", "updated": "2013-06-03T22:04:21.000+0000" }, { "id": "255716", "author": { "name": "killroyboy", "key": "killroyboy", "displayName": "Dan Wilson", "active": true, "timeZone": "America/Denver" }, "body": "I have just confirmed that it is only this app that is having this problems. Is there anything from this error that you can point me in the right direction to solve this? Will the entire trace level log help?\n\nThanks,\n-=Dan", "updateAuthor": { "name": "killroyboy", "key": "killroyboy", "displayName": "Dan Wilson", "active": true, "timeZone": "America/Denver" }, "created": "2013-06-04T01:42:33.000+0000", "updated": "2013-06-04T01:42:33.000+0000" }, { "id": "255892", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Dan,\n\nHmm, that is quite peculiar. I am going to move this to Ti-Mobile to see if the engineers have any insight into this and they can then ask for any more pertinent information that they need. I believe Mauro meant to do this but never got around to it. Sorry for the wait and thanks for your patience. Would you also mind providing the full trace log as an attachment? \n\nThanks again,\nCarter", "updateAuthor": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-04T18:43:33.000+0000", "updated": "2013-06-04T18:43:33.000+0000" }, { "id": "255991", "author": { "name": "killroyboy", "key": "killroyboy", "displayName": "Dan Wilson", "active": true, "timeZone": "America/Denver" }, "body": "I'm unable to add an attachment. I was removed from being the reporter, so I don't have permissions.", "updateAuthor": { "name": "killroyboy", "key": "killroyboy", "displayName": "Dan Wilson", "active": true, "timeZone": "America/Denver" }, "created": "2013-06-04T22:58:48.000+0000", "updated": "2013-06-04T22:58:48.000+0000" }, { "id": "256054", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Sorry about that, would you mind sending them to me at clathrop@appcelerator.com? I will attach them myself. \n\nThanks,\nCarter", "updateAuthor": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-05T05:30:57.000+0000", "updated": "2013-06-05T05:30:57.000+0000" }, { "id": "259166", "author": { "name": "killroyboy", "key": "killroyboy", "displayName": "Dan Wilson", "active": true, "timeZone": "America/Denver" }, "body": "Is there any new status on this bug? I'm unable to deploy new versions of my app because of this bug. Can someone point me in the right direction to help in troubleshooting or investigating?", "updateAuthor": { "name": "killroyboy", "key": "killroyboy", "displayName": "Dan Wilson", "active": true, "timeZone": "America/Denver" }, "created": "2013-06-24T15:39:33.000+0000", "updated": "2013-06-24T15:39:33.000+0000" }, { "id": "259280", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hello Dan,\n\nI have updated the ticket to blocker status, and I will be sure to send an email to engineering to see when they can get to this. Thanks for your patience.\n\nBest,\nCarter", "updateAuthor": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-24T22:23:41.000+0000", "updated": "2013-06-24T22:23:41.000+0000" }, { "id": "259289", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Dan,\r\n\r\nThe issue looks similar to what's reported in TIMOB-13822. A couple of questions:\r\n\r\n1. Do you have symbol links defined in the specific project?\r\n2. Could you try updating to the latest 3.1.1.GA of SDK and 3.1.1 of CLI to see if it helps? If it's indeed a duplicate of TIMOB-13822, the problem should be addressed in the latest update.\r\n\r\nThanks.\r\n", "updateAuthor": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-24T23:07:37.000+0000", "updated": "2013-06-24T23:07:37.000+0000" }, { "id": "259323", "author": { "name": "killroyboy", "key": "killroyboy", "displayName": "Dan Wilson", "active": true, "timeZone": "America/Denver" }, "body": "Michael,\n\n1. No. I don't have any symlinks in this project. I do however move files around through a script that also purges the build directory. This project is used to build several very similar apps. Each has different graphical assets as well as some slight differences in the configuration (tiapp.xml), including the name of the app, etc. No sure if that is related or not.\n2. I've already tried the new 3.1.1.GA with the same exact result.\n\nPlease let me know what other information might be helpful for you.\n\nThanks", "updateAuthor": { "name": "killroyboy", "key": "killroyboy", "displayName": "Dan Wilson", "active": true, "timeZone": "America/Denver" }, "created": "2013-06-25T02:59:42.000+0000", "updated": "2013-06-25T02:59:42.000+0000" }, { "id": "259324", "author": { "name": "killroyboy", "key": "killroyboy", "displayName": "Dan Wilson", "active": true, "timeZone": "America/Denver" }, "updateAuthor": { "name": "killroyboy", "key": "killroyboy", "displayName": "Dan Wilson", "active": true, "timeZone": "America/Denver" }, "created": "2013-06-25T03:03:22.000+0000", "updated": "2013-06-25T03:03:22.000+0000" }, { "id": "259328", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Dan, could you try the following?\n\n1. In Studio, run Help > Studio > Clear Log File;\n2. Open Preferences > Studio > Troubleshooting page, change Debug Level to All, and make the entry \"com.aptana.core/debug/shell\" checked;\n2. Restart Studio and package for ad hoc to re-create the problem;\n3. Run Help > Studio > View Log File;\n4. Scroll to the end of the file and look for two lines, one \"Working directory\" and one right before saying \"Process: \"; from the command line, cd into the working directory and then copy-and-paste the full command after \"Process: \".\n\nThis should produce the same error but with more debug output. Attaching it here could help.\n\nThanks.\n", "updateAuthor": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-25T04:02:04.000+0000", "updated": "2013-06-25T04:02:04.000+0000" }, { "id": "259329", "author": { "name": "killroyboy", "key": "killroyboy", "displayName": "Dan Wilson", "active": true, "timeZone": "America/Denver" }, "body": "(removed logs in comment and attached to ticket)", "updateAuthor": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-25T04:50:27.000+0000", "updated": "2013-06-26T01:31:46.000+0000" }, { "id": "259432", "author": { "name": "killroyboy", "key": "killroyboy", "displayName": "Dan Wilson", "active": true, "timeZone": "America/Denver" }, "body": "Michael,\n\nJust realized that the comment didn't accept the entire log. I don't have permissions to attach anything either. How you would like me to get the entire log to you?", "updateAuthor": { "name": "killroyboy", "key": "killroyboy", "displayName": "Dan Wilson", "active": true, "timeZone": "America/Denver" }, "created": "2013-06-25T22:21:40.000+0000", "updated": "2013-06-25T22:21:40.000+0000" }, { "id": "259433", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Dan, \n\nGo ahead and send me the log file at clathrop@appcelerator.com. I will attach myself. Thanks for providing the info :)\n\nRegards,\nCarter", "updateAuthor": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-25T22:23:50.000+0000", "updated": "2013-06-25T22:23:50.000+0000" }, { "id": "259450", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The CLI officially supports node v0.8.22.", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-26T00:31:47.000+0000", "updated": "2013-06-26T00:31:47.000+0000" }, { "id": "259452", "author": { "name": "killroyboy", "key": "killroyboy", "displayName": "Dan Wilson", "active": true, "timeZone": "America/Denver" }, "body": "Dustin, I believe I was at 0.8.22 when I first encountered this error and I upgraded to hopefully resolve it. I'm running v0.10.8. Should I downgrade?", "updateAuthor": { "name": "killroyboy", "key": "killroyboy", "displayName": "Dan Wilson", "active": true, "timeZone": "America/Denver" }, "created": "2013-06-26T01:27:04.000+0000", "updated": "2013-06-26T01:27:04.000+0000" }, { "id": "259453", "author": { "name": "killroyboy", "key": "killroyboy", "displayName": "Dan Wilson", "active": true, "timeZone": "America/Denver" }, "body": "I just downgraded to 0.8.22 and got the same exact error. I'll email Carter the new log file.", "updateAuthor": { "name": "killroyboy", "key": "killroyboy", "displayName": "Dan Wilson", "active": true, "timeZone": "America/Denver" }, "created": "2013-06-26T01:45:54.000+0000", "updated": "2013-06-26T01:45:54.000+0000" }, { "id": "259454", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thanks for the clarification.", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-26T02:16:16.000+0000", "updated": "2013-06-26T02:16:16.000+0000" }, { "id": "263729", "author": { "name": "killroyboy", "key": "killroyboy", "displayName": "Dan Wilson", "active": true, "timeZone": "America/Denver" }, "body": "Is there anything I can do to speed up work on this bug? This is really hindering my Ad Hoc testing. I just released a new version of my app with a significant bug because I wasn't able to send this out to my usual beta testers. I'd like to help out in any way I can.", "updateAuthor": { "name": "killroyboy", "key": "killroyboy", "displayName": "Dan Wilson", "active": true, "timeZone": "America/Denver" }, "created": "2013-07-29T20:25:37.000+0000", "updated": "2013-07-29T20:25:37.000+0000" }, { "id": "263735", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "@Dan Wilson, what are you specifying as the output directory? Does the path already exist? Are the permissions correct?", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-07-29T20:38:35.000+0000", "updated": "2013-07-29T20:38:35.000+0000" }, { "id": "263852", "author": { "name": "killroyboy", "key": "killroyboy", "displayName": "Dan Wilson", "active": true, "timeZone": "America/Denver" }, "body": "@Chris, my \"Specify Location\" indicates \"/tmp\" as the output directory. And yes, permissions are correct.", "updateAuthor": { "name": "killroyboy", "key": "killroyboy", "displayName": "Dan Wilson", "active": true, "timeZone": "America/Denver" }, "created": "2013-07-30T01:29:04.000+0000", "updated": "2013-07-30T01:29:04.000+0000" }, { "id": "267329", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Pull request: https://github.com/appcelerator/node-appc/pull/51", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-08-20T17:13:29.000+0000", "updated": "2013-08-20T17:13:29.000+0000" }, { "id": "267381", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "To test, from the node-appc directory, run:\n\n{code}\n./forge test fs\n{code}", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-08-20T19:56:59.000+0000", "updated": "2013-08-20T19:56:59.000+0000" }, { "id": "281533", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with [~cbarber], CLI 3.2.0-alpha, and node 0.10.13\nclosing.\n", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-26T22:32:50.000+0000", "updated": "2013-11-26T22:32:50.000+0000" } ], "maxResults": 25, "total": 25, "startAt": 0 } } }