{ "id": "62435", "key": "TIMOB-1803", "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": [], "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": "2012-07-16T17:45:27.000+0000", "created": "2011-04-15T03:02:49.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "android", "build" ], "versions": [], "issuelinks": [], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-10T18:22:51.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}

Can anyone help on this problem that I am having with\nKitchensink on Android.
\nSetup:
\nSDK - 1.6 Screen - HVGA
\nFilter - Trace

\n

Trying to Launch the app, but kept stopping at the same place\nwith the following trace and error:

\n

\nE:\\Downloads\\appcelerator-KitchenSink-1.4.0-1-g2528bba\\appcelerator-KitchenSink-2528bba\\KitchenSink\\build\\android\\bin\\assets\\Resources\\examples\\yql_flickr.js
\n[TRACE] Traceback (most recent call last):\n[TRACE] File\n\"C:\\ProgramData\\Titanium\\mobilesdk\\win32\\1.4.0\\android\\builder.py\",\nline 995, in [TRACE] s.build_and_run(False,avd_id)\n[TRACE] File\n\"C:\\ProgramData\\Titanium\\mobilesdk\\win32\\1.4.0\\android\\builder.py\",\nline 847, in build_and_run [TRACE] compiler.compile() [TRACE] File\n\"C:\\ProgramData\\Titanium\\mobilesdk\\win32\\1.4.0\\android\\compiler.py\",\nline 167, in compile [TRACE]\nself.compile_into_bytecode(self.js_files) [TRACE] File\n\"C:\\ProgramData\\Titanium\\mobilesdk\\win32\\1.4.0\\android\\compiler.py\",\nline 99, in compile_into_bytecode [TRACE] if count > 0: run.run(args)\n[TRACE] File\n\"C:\\ProgramData\\Titanium\\mobilesdk\\win32\\1.4.0\\android\\run.py\",\nline 21, in run TRACE =\nsubprocess.Popen(args, stderr=subprocess.PIPE,\nstdout=subprocess.PIPE).communicate() [TRACE] File\n\"C:\\ProgramData\\Titanium\\modules\\win32\\python\\1.0.0\\lib\\subprocess.py\",\nline 594, in init [TRACE] errread, errwrite) [TRACE] File\n\"C:\\ProgramData\\Titanium\\modules\\win32\\python\\1.0.0\\lib\\subprocess.py\",\nline 822, in _execute_child [TRACE] startupinfo) [TRACE] WindowsError: [Error 87] The\nparameter is incorrect

{html}", "attachment": [], "flagged": false, "summary": "Kitchensink not fully compilling for Android", "creator": { "name": "fola", "key": "fola", "displayName": "Fola", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "fola", "key": "fola", "displayName": "Fola", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "126719", "author": { "name": "andersh.", "key": "andersh.", "displayName": "Anders H.", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

I have the same problem.

\n

Tested under windows7 64 bit (Swedish), and windows 7 32 bit\n(english)

\n

[TRACE] File\n\"C:\\ProgramData\\Titanium\\modules\\win32\\python\\1.0.0\\lib\\subprocess.py\",\nline 822, in _execute_child[TRACE] startupinfo)[TRACE]\nWindowsError: [Error 87] Felaktig parameter

\n

HelloWorld example runs fine from the first introduction from\nthe pdf, but the Kitchen sink breaks things and simply don't get\nloaded into the Android simualtor.

\n

Very annoying when the demo examples from the vendor doesn't\nwork.

{html}", "updateAuthor": { "name": "andersh.", "key": "andersh.", "displayName": "Anders H.", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:02:50.000+0000", "updated": "2011-04-15T03:02:50.000+0000" }, { "id": "126720", "author": { "name": "andersh.", "key": "andersh.", "displayName": "Anders H.", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Possible workaround -
\nChose the project Kitchen sink, then the Edit tab, Titanium DSK\n-> Choose \"1.2.0\"

\n

Works!

\n

Seems that SDK \"1.4.0\" is bad.

{html}", "updateAuthor": { "name": "andersh.", "key": "andersh.", "displayName": "Anders H.", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:02:50.000+0000", "updated": "2011-04-15T03:02:50.000+0000" }, { "id": "126721", "author": { "name": "andersh.", "key": "andersh.", "displayName": "Anders H.", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

When compiling KitchenSink it builds up to a commandline that\nmight be longer than 8191 characters long and windows will cut\nthere in the middle of a filename to be compiled. This generates an\nerror that is not properly shown. I had simply extracted the\nKitchenSink file to:\nC:\\titanium\\appcelerator-KitchenSink-1.4.0-2-g5d6e950\\appcelerator-KitchenSink-5d6e950\\KitchenSink\nand this simply adds up to too many characters when many files are\ncompiled at once.

\n

Workaround, put the KitchenSink-folder directly under C: like\nthis -> c:\\KitchenSink\\

\n
\n

Replace Line 100 in compiler.py with this code and you will\nrecive a warning just before the error.

\n
\n        if count > 0:\n            print '[INFO] Compiling into bytecode...'\n            cmd = args.__repr__()\n            if cmd.__len__() > 8191: #This length contains some python [''] characters that are stripped later in the call so only a warning.\n                print '[WARNING] Command might be too long to execute correctly.'\n            try:\n                run.run(args)\n            except WindowsError,err:\n                print '[ERROR] Failed to execute: ' + cmd \n                print '[ERROR] ' + err.args.__repr__() #Raise only issues trace messages, need to tell user that there is an error.\n                raise\n
{html}", "updateAuthor": { "name": "andersh.", "key": "andersh.", "displayName": "Anders H.", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:02:50.000+0000", "updated": "2011-04-15T03:02:50.000+0000" }, { "id": "126722", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Going to assign to Don for triage. Not sure how much we can do\nabout commandline limitations though. Might just be invalid.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:02:51.000+0000", "updated": "2011-04-15T03:02:51.000+0000" }, { "id": "207929", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing since this looks to be an ancient version of Mobile and Desktop/Developer. Neither of which we support anymore.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-16T17:45:27.000+0000", "updated": "2012-07-16T17:45:27.000+0000" }, { "id": "411230", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-10T18:22:51.000+0000", "updated": "2017-03-10T18:22:51.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }