{ "id": "148682", "key": "AC-159", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2015-11-22T11:41:14.000+0000", "created": "2015-06-11T09:04:01.000+0000", "labels": [ "ios" ], "versions": [], "issuelinks": [ { "id": "50872", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "inwardIssue": { "id": "155442", "key": "AC-718", "fields": { "summary": "Module error in Ti 4 and 5 versus Ti 3.5.1", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "updated": "2016-03-07T10:57:11.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14550", "name": "Appcelerator Modules", "description": "Please enter tickets related to Modules here." }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "I get the following error when compiling an existing SDK 3.5.1 project for SDK 4:\r\n\r\n[INFO] : Found Titanium module id=it.logicainformatica.dropdown version=1.02 platform=iphone deploy-type=development path=/Users/raymond/Library/Application Support/Titanium/modules/iphone/it.logicainformatica.dropdown/1.02\r\n/Users/raymond/.appcelerator/install/4.0.1/package/node_modules/appc-cli-titanium/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:185\r\n throw e;\r\n ^\r\nTypeError: Invalid Version: 1.02.0\r\n at new SemVer (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/4.0.0.GA/node_modules/node-appc/node_modules/semver/semver.js:273:11)\r\n at compare (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/4.0.0.GA/node_modules/node-appc/node_modules/semver/semver.js:460:10)\r\n at Function.lt (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/4.0.0.GA/node_modules/node-appc/node_modules/semver/semver.js:494:10)\r\n at Object.lt (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/4.0.0.GA/node_modules/node-appc/lib/version.js:57:16)\r\n at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/4.0.0.GA/node_modules/node-appc/lib/timodule.js:296:23\r\n at Array.forEach (native)\r\n at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/4.0.0.GA/node_modules/node-appc/lib/timodule.js:276:10\r\n at Array.forEach (native)\r\n at detect.callback (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/4.0.0.GA/node_modules/node-appc/lib/timodule.js:229:37)\r\n at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/4.0.0.GA/node_modules/node-appc/lib/timodule.js:170:51\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 /Users/raymond/.appcelerator/install/4.0.1/package/node_modules/appc-cli-titanium/node_modules/node-appc/lib/environ.js:267:3\r\n at /Users/raymond/.appcelerator/install/4.0.1/package/node_modules/async/lib/async.js:251:17\r\n at /Users/raymond/.appcelerator/install/4.0.1/package/node_modules/async/lib/async.js:154:25\r\n at /Users/raymond/.appcelerator/install/4.0.1/package/node_modules/async/lib/async.js:248:21\r\n at /Users/raymond/.appcelerator/install/4.0.1/package/node_modules/async/lib/async.js:612:34\r\n at /Users/raymond/.appcelerator/install/4.0.1/package/node_modules/appc-cli-titanium/node_modules/node-appc/lib/environ.js:234:7\r\nTRACE | titanium exited with exit code 8\r\nERROR | Error: ti run exited with error code 8\r\n", "attachment": [], "flagged": false, "summary": "Module error in Ti 4 versus Ti 3.5.1", "creator": { "name": "ray@raymondverbruggen.nl", "key": "ray@raymondverbruggen.nl", "displayName": "Raymond Verbruggen", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "ray@raymondverbruggen.nl", "key": "ray@raymondverbruggen.nl", "displayName": "Raymond Verbruggen", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Mac OSX Yosemite, iPhone simulator", "comment": { "comments": [ { "id": "363924", "author": { "name": "ahossain", "key": "ahossain", "displayName": "Amimul Hossain", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, This is not a bug in latest SDK 4.1.1.GA. I am not sure you are still having the issue. Try updating your Studio, SDK and CLI. Feel free to reply back with your findings. Thanks.", "updateAuthor": { "name": "ahossain", "key": "ahossain", "displayName": "Amimul Hossain", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2015-09-15T08:36:50.000+0000", "updated": "2015-09-15T08:36:50.000+0000" }, { "id": "364154", "author": { "name": "ray@raymondverbruggen.nl", "key": "ray@raymondverbruggen.nl", "displayName": "Raymond Verbruggen", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hello,\r\n\r\nI think this is a bug in the module regarding the module's version number format 1.02.0 versus 1.2.0 . I already asked the developer to update the module but no response.\r\nCould you please address this issue to the developer also?\r\n\r\nBest regards\r\nRaymond", "updateAuthor": { "name": "ray@raymondverbruggen.nl", "key": "ray@raymondverbruggen.nl", "displayName": "Raymond Verbruggen", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-09-17T05:53:54.000+0000", "updated": "2015-09-17T05:53:54.000+0000" }, { "id": "370512", "author": { "name": "jnaher", "key": "jnaher", "displayName": "Jebun Naher", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\n\r\nWe couldn't reproduce this issue as a bug in our environment. To reproduce this error, we compiled an existing SDK 3.5.1 project for SDK 4.0.0 and it worked fine with no error.\r\n\r\n*Testing Environment:*\r\nAppcelerator Command-Line Interface, version 5.0.4\r\nAppcelerator Studio, build: 4.3.3.201510212245\r\nTi SDK Version :3.5.1GA, 4.0.0 GA\r\nNode.js Version :0.10.37\r\nMac OS X,Version :10.10.1(Mac OSX Yosemite)\r\nJdk version : 1.7.0_80.jdk\r\nxcode version: 6.2\r\nsimulator : iPhone 6(8.2)\r\n\r\n*Steps to test:*\r\n1. Create/select an existing SDK 3.5.1 project and compile it for SDK 4.0.0\r\n\r\n*Console Log:*\r\n{code}\r\n[INFO] : Finished building the application in 2m 32s 547ms\r\n[INFO] : Launching iOS Simulator\r\n[LiveView] version 1.0.9\r\n[LiveView] File Server Started on Port 8324\r\n[LiveView] Event Server Started on Port 8323\r\n[INFO] : Project built successfully in 3m 46s 224ms\r\n-- Start simulator log -------------------------------------------------------\r\n[INFO] : Application started\r\n[INFO] : jebunclassic2/1.0 (4.0.0.9239ff9)\r\n[LiveView] Client connected\r\n{code}\r\n\r\nThanks.\r\n", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2015-11-17T10:38:38.000+0000", "updated": "2015-11-22T11:41:29.000+0000" }, { "id": "371543", "author": { "name": "ray@raymondverbruggen.nl", "key": "ray@raymondverbruggen.nl", "displayName": "Raymond Verbruggen", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hello,\r\n\r\nThe error is still present, I tested it in SDK 5.1.1 as shown below.\r\nSorry but your testcase is not compatible with how I get the error.\r\nPlease reopen and solve, this is becoming critical for an update to an app currently in production!!\r\n\r\n\r\n[INFO] : Found Titanium module id=it.logicainformatica.dropdown version=1.02 platform=iphone deploy-type=development path=/Users/raymond/Library/Application Support/Titanium/modules/iphone/it.logicainformatica.dropdown/1.02\r\n/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/node-appc/node_modules/semver/semver.js:293\r\n throw new TypeError('Invalid Version: ' + version);\r\n ^\r\nTypeError: Invalid Version: 1.02.0\r\n at new SemVer (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/node-appc/node_modules/semver/semver.js:293:11)\r\n at compare (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/node-appc/node_modules/semver/semver.js:569:10)\r\n at Function.lt (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/node-appc/node_modules/semver/semver.js:603:10)\r\n at Object.lt (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/node-appc/lib/version.js:57:16)\r\n at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/node-appc/lib/timodule.js:296:23\r\n at Array.forEach (native)\r\n at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/node-appc/lib/timodule.js:276:10\r\n at Array.forEach (native)\r\n at Object.detect.callback (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/node-appc/lib/timodule.js:229:37)\r\n at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/node-appc/lib/timodule.js:170:51\r\n---------------------------------------------\r\n at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:275:35\r\n at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:44:16\r\n at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:694:17\r\n at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:173:37\r\n at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/node-appc/lib/async.js:64:51\r\n at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:689:13\r\n at iterate (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:265:13)\r\n at doNTCallback0 (node.js:419:9)\r\n---------------------------------------------\r\n at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:275:35\r\n at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:44:16\r\n at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:694:17\r\n at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:173:37\r\n at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/node-appc/lib/async.js:64:51\r\n at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:689:13\r\n at iterate (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:265:13)\r\n at doNTCallback0 (node.js:419:9)\r\n---------------------------------------------\r\n at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:275:35\r\n at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:44:16\r\n at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:694:17\r\n at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:173:37\r\n at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/node-appc/lib/async.js:64:51\r\n at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:689:13\r\n at iterate (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:265:13)\r\n at doNTCallback0 (node.js:419:9)\r\n---------------------------------------------\r\n at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:275:35\r\n at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:44:16\r\n at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:694:17\r\n at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:173:37\r\n at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/node-appc/lib/async.js:64:51\r\n at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:689:13\r\n at iterate (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:265:13)\r\n at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:277:29\r\n at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:44:16\r\n---------------------------------------------\r\n at magik (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/ioslib/lib/utilities.js:40:13)\r\n at detect (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/ioslib/lib/simulator.js:123:9)\r\n at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/ioslib/lib/simulator.js:426:3\r\n at fireCallbacks (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/ioslib/lib/xcode.js:63:5)\r\n at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/ioslib/lib/xcode.js:69:11\r\n at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/ioslib/lib/utilities.js:55:9\r\n at doNTCallback0 (node.js:419:9)\r\n at process._tickCallback (node.js:348:13)\r\n---------------------------------------------\r\n at magik (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/ioslib/lib/utilities.js:40:13)\r\n at Object.detect (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/ioslib/lib/xcode.js:56:27)\r\n at Object.findSimulators (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/ioslib/lib/simulator.js:420:8)\r\n at iOSBuilder.selectDevice (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/iphone/cli/commands/_build.js:1737:22)\r\n at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:689:13\r\n at iterate (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:265:13)\r\n at doNTCallback0 (node.js:419:9)\r\n at process._tickCallback (node.js:348:13)\r\n---------------------------------------------\r\n at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:275:35\r\n at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:44:16\r\n at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:694:17\r\n at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:173:37\r\n at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/node-appc/lib/async.js:64:51\r\n at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:689:13\r\n at iterate (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:265:13)\r\n at doNTCallback0 (node.js:419:9)\r\n---------------------------------------------\r\n at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:275:35\r\n2015-11-26T10:24:56.681Z | TRACE | titanium exited with exit code 1\r\n2015-11-26T10:24:56.682Z | ERROR | Error: ti run exited with error code 1\r\n at ChildProcess. (/Users/raymond/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/plugins/run.js:92:23)\r\n at emitTwo (events.js:87:13)\r\n at ChildProcess.emit (events.js:172:7)\r\n at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)\r\n2015-11-26T10:24:56.683Z | TRACE | Sending exit signal to titanium process: 34566\r\n at /Users/raymond/Library/\r\n", "updateAuthor": { "name": "ray@raymondverbruggen.nl", "key": "ray@raymondverbruggen.nl", "displayName": "Raymond Verbruggen", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-11-26T10:32:03.000+0000", "updated": "2015-11-26T10:33:52.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }