{"action":"created","issue":{"url":"https://api.github.com/repos/kripken/emscripten/issues/649","repository_url":"https://api.github.com/repos/kripken/emscripten","labels_url":"https://api.github.com/repos/kripken/emscripten/issues/649/labels{/name}","comments_url":"https://api.github.com/repos/kripken/emscripten/issues/649/comments","events_url":"https://api.github.com/repos/kripken/emscripten/issues/649/events","html_url":"https://github.com/kripken/emscripten/issues/649","id":7645485,"number":649,"title":"AttributeError: 'list' object has no attribute 'rfind'","user":{"login":"seedix-net","id":327191,"avatar_url":"https://avatars.githubusercontent.com/u/327191?v=3","gravatar_id":"","url":"https://api.github.com/users/seedix-net","html_url":"https://github.com/seedix-net","followers_url":"https://api.github.com/users/seedix-net/followers","following_url":"https://api.github.com/users/seedix-net/following{/other_user}","gists_url":"https://api.github.com/users/seedix-net/gists{/gist_id}","starred_url":"https://api.github.com/users/seedix-net/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seedix-net/subscriptions","organizations_url":"https://api.github.com/users/seedix-net/orgs","repos_url":"https://api.github.com/users/seedix-net/repos","events_url":"https://api.github.com/users/seedix-net/events{/privacy}","received_events_url":"https://api.github.com/users/seedix-net/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2012-10-17T03:16:46Z","updated_at":"2016-05-12T14:52:39Z","closed_at":"2016-05-12T14:52:39Z","body":"Hello @kripken, \r\ni was compiled speak.js with option [-Ox] on emscripten and this error happened but if i removed that option, its fine.\r\nerror message -->\r\nTraceback (most recent call last):\r\n  File \"/home/seedix/Downloads/ema/emscripten/emcc\", line 1041, in <module>\r\n    flush_js_optimizer_queue()\r\n  File \"/home/seedix/Downloads/ema/emscripten/emcc\", line 1022, in flush_js_optimizer_queue\r\n    final = shared.Building.js_optimizer(final, js_optimizer_queue)\r\n  File \"/home/seedix/Downloads/ema/emscripten/tools/shared.py\", line 923, in js_optimizer\r\n    output = Popen([NODE_JS, '--nocrankshaft', JS_OPTIMIZER, filename] + passes, stdout=PIPE).communicate()[0]\r\n  File \"/usr/lib/python2.7/subprocess.py\", line 679, in __init__\r\n    errread, errwrite)\r\n  File \"/usr/lib/python2.7/subprocess.py\", line 1249, in _execute_child\r\n    raise child_exception\r\nAttributeError: 'list' object has no attribute 'rfind'\r\n<---\r\nThen the speak js doesn't running well.\r\nhow to fix that error?\r\nthank you\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/kripken/emscripten/issues/comments/218782080","html_url":"https://github.com/kripken/emscripten/issues/649#issuecomment-218782080","issue_url":"https://api.github.com/repos/kripken/emscripten/issues/649","id":218782080,"user":{"login":"juj","id":225351,"avatar_url":"https://avatars.githubusercontent.com/u/225351?v=3","gravatar_id":"","url":"https://api.github.com/users/juj","html_url":"https://github.com/juj","followers_url":"https://api.github.com/users/juj/followers","following_url":"https://api.github.com/users/juj/following{/other_user}","gists_url":"https://api.github.com/users/juj/gists{/gist_id}","starred_url":"https://api.github.com/users/juj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juj/subscriptions","organizations_url":"https://api.github.com/users/juj/orgs","repos_url":"https://api.github.com/users/juj/repos","events_url":"https://api.github.com/users/juj/events{/privacy}","received_events_url":"https://api.github.com/users/juj/received_events","type":"User","site_admin":false},"created_at":"2016-05-12T14:52:39Z","updated_at":"2016-05-12T14:52:39Z","body":"Closing as old/stale, the JS optimizer is superseded by the C++11 implemented optimizer. Feel free to post a new issue if stuff doesn't work in the latest compiler version!"}}