{ "id": "112004", "key": "TIMOB-14210", "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": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2013-07-29T17:29:20.000+0000", "created": "2013-03-31T10:49:15.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "image", "markdown", "module" ], "versions": [], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-30T21:04:42.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": [], "description": "If I add any image into the documentation folder, the build.py will fail on iOS:\r\n\r\n{code}\r\nTraceback (most recent call last):\r\n File \"./build.py\", line 217, in \r\n package_module(manifest,mf,config)\r\n File \"./build.py\", line 189, in package_module\r\n docs = generate_doc(config)\r\n File \"./build.py\", line 65, in generate_doc\r\n html = markdown.markdown(md)\r\n File \"/Users/napp/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/common/markdown/__init__.py\", line 598, in markdown\r\n return md.convert(text)\r\n File \"/Users/napp/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/common/markdown/__init__.py\", line 377, in convert\r\n message(CRITICAL, 'UnicodeDecodeError: Markdown only accepts unicode or ascii input.')\r\n File \"/Users/napp/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/common/markdown/__init__.py\", line 112, in message\r\n raise MarkdownException, text\r\nmarkdown.MarkdownException: UnicodeDecodeError: Markdown only accepts unicode or ascii input.\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "Module: Markdown error if image in documentation folder", "creator": { "name": "viezel", "key": "viezel", "displayName": "Mads Moller", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "viezel", "key": "viezel", "displayName": "Mads Moller", "active": true, "timeZone": "Europe/Berlin" }, "environment": "2.1.4.GA\r\nios", "comment": { "comments": [ { "id": "245349", "author": { "name": "jbuckley", "key": "jbuckley", "displayName": "Jamie Buckley", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Mads,\n\nThis bug does not occur in later versions of Titanium, from version 3.0.0 please try it.", "updateAuthor": { "name": "jbuckley", "key": "jbuckley", "displayName": "Jamie Buckley", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-02T23:29:05.000+0000", "updated": "2013-04-02T23:29:05.000+0000" }, { "id": "245406", "author": { "name": "viezel", "key": "viezel", "displayName": "Mads Moller", "active": true, "timeZone": "Europe/Berlin" }, "body": "So? Thats irrelevant. \n\nMost modules are still compiled with 2.x for compatibility reasons. Even your own open source modules are something compiled with 1.x. \n\nCan you provide a hotfix for this? \n\nMads\n\n ", "updateAuthor": { "name": "viezel", "key": "viezel", "displayName": "Mads Moller", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-04-03T06:53:52.000+0000", "updated": "2013-04-03T06:53:52.000+0000" }, { "id": "258217", "author": { "name": "jenglish", "key": "jenglish", "displayName": "Jeff English", "active": true, "timeZone": "America/Chicago" }, "body": "The problem is that 'markdown' is being called with a non-markdown file by the build script -- Try placing the image files into a 'documentation/images' folder rather than directly into the 'documentation' folder. You will need to update your image references in the documentation to include the 'images' path.", "updateAuthor": { "name": "jenglish", "key": "jenglish", "displayName": "Jeff English", "active": true, "timeZone": "America/Chicago" }, "created": "2013-06-17T18:51:51.000+0000", "updated": "2013-06-17T18:51:51.000+0000" }, { "id": "263665", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Given that this works in 3.X+ and there is a workaround for 2.1.X, we do not have the bandwidth to fix this at this time.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-29T17:29:20.000+0000", "updated": "2013-07-29T17:29:20.000+0000" }, { "id": "263713", "author": { "name": "viezel", "key": "viezel", "displayName": "Mads Moller", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hi Ingo,\r\n\r\nHuh, does 3.x have a module api yet? How do I compile a module with 3.x. I asked Chris Barber, but he said it was coming.\r\nCan you please show me how to use it?\r\n\r\nIts cool you dont wanna fix the old one..\r\n\r\nCheers, Mads", "updateAuthor": { "name": "viezel", "key": "viezel", "displayName": "Mads Moller", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-07-29T19:34:20.000+0000", "updated": "2013-07-29T19:34:20.000+0000" }, { "id": "416381", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as \"Won't Fix\". There has been no update for quite a while. If there is any problem, please open a new ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-30T21:04:42.000+0000", "updated": "2017-03-30T21:04:42.000+0000" } ], "maxResults": 11, "total": 11, "startAt": 0 } } }