{ "id": "122634", "key": "TIMOB-15800", "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": "15711", "description": "2013 Sprint 24", "name": "2013 Sprint 24", "archived": true, "released": true, "releaseDate": "2013-11-29" }, { "id": "15713", "description": "2013 Sprint 24 Core", "name": "2013 Sprint 24 Core", "archived": true, "released": true, "releaseDate": "2013-11-29" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-11-25T23:55:48.000+0000", "created": "2013-11-19T09:11:01.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "module_build", "qe-3.2.0", "qe-closed-3.2.0", "qe-testadded", "ti", "ubuntu" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-07-31T18:30:22.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": "h3. Steps Followed:\r\n1. Create a default mobile app.\r\n2. Launch the app on android device/emulator.\r\n\r\nActual Result:\r\nBuild fails and 'Modules could not be found' error displayed in Console log file.\r\nPlease refer the attached log and console log file for further reference.\r\n\r\nh3. Workaround\r\nWe manually added the required modules folders from mobile SDK location into our Studio WorkSpace in the respective project's module folder. ", "attachment": [ { "id": "44001", "filename": "Missing Modules - console log file", "author": { "name": "schowbey", "key": "schowbey", "displayName": "Shreya Chowbey", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-19T09:11:02.000+0000", "size": 1329, "mimeType": "application/octet-stream" }, { "id": "44002", "filename": "Missing Modules - log file", "author": { "name": "schowbey", "key": "schowbey", "displayName": "Shreya Chowbey", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-19T09:11:02.000+0000", "size": 3551, "mimeType": "application/octet-stream" } ], "flagged": false, "summary": "Ubuntu: Found Missing Modules error on launching any default Mobile app", "creator": { "name": "schowbey", "key": "schowbey", "displayName": "Shreya Chowbey", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "schowbey", "key": "schowbey", "displayName": "Shreya Chowbey", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Appcelerator Studio, build: 3.2.0.201311161724\r\nSDK:3.2.0.v20131118211643\r\nAndroid SDK tool version: 22.3\r\nalloy: 1.3.0\r\nacs: 1.0.7\r\nnpm: 1.3.2\r\ntitanium: 3.2.0-alpha\t\r\ntitanium-code-processor: 1.1.0-alpha\r\nOS: Ubuntu 12.04 (32-bit) LTS", "closedSprints": [ { "id": 23, "state": "closed", "name": "2013 Sprint 24", "startDate": "2013-11-19T19:13:36.746Z", "endDate": "2013-12-01T19:13:36.746Z", "completeDate": "2013-12-03T18:22:18.452Z" } ], "comment": { "comments": [ { "id": "280778", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "Anyways, I can confirm I saw the same thing. I have the com.appcelerator.apm module in my ~/.titanium/modules/android folder, and the ti.cloud in ~/.titanium/modules/commonjs. When trying to run the app on Android emulator, I get the same error. I would assume that the CLI/platform would pick up the modules from their global locations.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2013-11-22T20:01:29.000+0000", "updated": "2013-11-22T20:01:29.000+0000" }, { "id": "280782", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "The workaround Shreya stated, of copying the modules from the global location into the project's modules folders does fix the issue.\n\nSo I'm at a loss as to whose bug this actually is.\n\nHere's what I see:\n* The app has the com.soasta.touchtest module installed into the app's modules/android folder.\n* The com.appcelerator.apm and ti.cloud modules aren't installed in the app itself, but are available in the global modules locations.\n\n* So I think the first issue is that the platform/CLI isn't picking up the modules from the global path properly.\n* The second possible issue is whether Studio should be copying/installing those two modules into 360 apps' modules folders like we do for com.soasta.touchtest.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2013-11-22T20:10:52.000+0000", "updated": "2013-11-22T20:10:52.000+0000" }, { "id": "280793", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Could you please reproduce the issue and attach the CLI log output with TRACE level output. Without TRACE level debug info, I can't see exactly what modules are being detected. TRACE log level will show all modules that are found. Also, please put the TRACE output in a .txt file so I can view it in a browser.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-11-22T21:27:55.000+0000", "updated": "2013-11-22T21:27:55.000+0000" }, { "id": "280796", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~schowbey], [~emerriman] Can you please provide a copy of the CLI output?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-22T21:39:09.000+0000", "updated": "2013-11-22T21:39:09.000+0000" }, { "id": "280797", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Given the existence of a workaround, downgrading from blocker.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-22T21:43:13.000+0000", "updated": "2013-11-22T21:43:13.000+0000" }, { "id": "280804", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2013-11-22T22:13:38.000+0000", "updated": "2013-11-22T22:13:38.000+0000" }, { "id": "280805", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2013-11-22T22:31:14.000+0000", "updated": "2013-11-22T22:31:14.000+0000" }, { "id": "280806", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2013-11-22T22:33:22.000+0000", "updated": "2013-11-22T22:33:22.000+0000" }, { "id": "281257", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Pull request: https://github.com/appcelerator/titanium_mobile/pull/5023", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-11-25T22:40:41.000+0000", "updated": "2013-11-25T22:40:41.000+0000" }, { "id": "281551", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed on:\nUbuntu 12.04 LTS\nTitanium Studio, build: 3.2.0.201311252022\nTitanium SDK, build: 3.2.0.v20131126111643\nCLI: 3.2.0-alpha3\nAlloy: 1.3.0-alpha6\n\n\"ti module\" displays all modules correctly.\nCreated an Android application and attached all installed modules to the project.\nRan the project on simulator and all modules were found successfully.\nClosing", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-26T23:20:11.000+0000", "updated": "2013-11-26T23:20:11.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }