{ "id": "119506", "key": "TIMOB-15050", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2016-08-30T21:07:49.000+0000", "created": "2013-09-05T11:15:56.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "android", "crash", "windows8" ], "versions": [ { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" } ], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-20T21:49:54.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": "Build error comes when try to build it in Titanium Studio in Windows 8.\r\n\r\nHere are the error logs :\r\n{code}\r\n[ERROR] Exception occured while building Android project: \r\n[ERROR] Traceback (most recent call last): \r\n[ERROR] File \"C:\\Users\\username\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\3.1.1.GA\\android\\builder.py\", line 2604, in \r\n[ERROR] builder.build_and_run(True, avd_id, device_args=device_args, debugger_host=debugger_host, profiler_host=profiler_host) \r\n[ERROR] File \"C:\\Users\\username\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\3.1.1.GA\\android\\builder.py\", line 2294, in build_and_run \r\n[ERROR] self.merge_internal_module_resources() \r\n[ERROR] File \"C:\\Users\\username\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\3.1.1.GA\\android\\builder.py\", line 2045, in merge_internal_module_resources [ERROR] zip_extractall(res_zip_file, self.project_dir) \r\n[ERROR] File \"C:\\Users\\username\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\3.1.1.GA\\android\\builder.py\", line 207, in zip_extractall \r\n[ERROR] out_file = open(file_path, \"wb\") \r\n[ERROR] IOError: [Errno 22] invalid mode ('wb') or filename: u'C:\\Users\\username\\Documents\\102030app\\build\\android\\res\\values\\strings.xml' \r\n[ERROR] : Build process exited with code 1 [ERROR] : Project failed to build after 9s 167ms\r\n{code}\r\n\r\nSteps to reproduce :\r\n\r\n1. Create a project.\r\n2. Compile it.\r\n3. Do some code and compile again.Now it starts happening.\r\n\r\nNote : This build error happens 80% of the time. Sometimes Titanium Studio compiles and works fine.\r\n This behavior is with all his apps.", "attachment": [], "flagged": false, "summary": "Android: \"invalid mode ('wb') or filename\" Build error on windows 8", "creator": { "name": "mpathak", "key": "mpathak", "displayName": "Meenakshi Pathak", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mpathak", "key": "mpathak", "displayName": "Meenakshi Pathak", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Windows 8,Android 4.3,Android 4.2, Android 2.3.3, TiSDK 3.1.2,", "comment": { "comments": [ { "id": "270311", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~mpathak]. Is it also Studio 3.1.2? Are you able to see this error?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-09T15:10:24.000+0000", "updated": "2013-09-09T15:10:24.000+0000" }, { "id": "270739", "author": { "name": "mpathak", "key": "mpathak", "displayName": "Meenakshi Pathak", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Yes, they have updated Studio 3.1.2 and found same issue and I am not able to see the error.", "updateAuthor": { "name": "mpathak", "key": "mpathak", "displayName": "Meenakshi Pathak", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-11T11:54:11.000+0000", "updated": "2013-09-11T11:54:11.000+0000" }, { "id": "394841", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "This ticket is no longer valid. The old Python-based Android build has been replaced with a Node.js version in Titanium SDK 3.2.0.\r\n\r\nFurthermore, I tested building an Android app on Windows 10 with i18n strings and it compiled just fine.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-08-30T21:07:49.000+0000", "updated": "2016-08-30T21:07:49.000+0000" }, { "id": "414007", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-20T21:49:54.000+0000", "updated": "2017-03-20T21:49:54.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }