{"action":"created","issue":{"url":"https://api.github.com/repos/thp/pyotherside/issues/32","labels_url":"https://api.github.com/repos/thp/pyotherside/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/thp/pyotherside/issues/32/comments","events_url":"https://api.github.com/repos/thp/pyotherside/issues/32/events","html_url":"https://github.com/thp/pyotherside/issues/32","id":53095913,"number":32,"title":"Cannot convert QVariant to QJSValue in example code","user":{"login":"cochise","id":350914,"avatar_url":"https://avatars.githubusercontent.com/u/350914?v=3","gravatar_id":"","url":"https://api.github.com/users/cochise","html_url":"https://github.com/cochise","followers_url":"https://api.github.com/users/cochise/followers","following_url":"https://api.github.com/users/cochise/following{/other_user}","gists_url":"https://api.github.com/users/cochise/gists{/gist_id}","starred_url":"https://api.github.com/users/cochise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cochise/subscriptions","organizations_url":"https://api.github.com/users/cochise/orgs","repos_url":"https://api.github.com/users/cochise/repos","events_url":"https://api.github.com/users/cochise/events{/privacy}","received_events_url":"https://api.github.com/users/cochise/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-12-30T06:26:32Z","updated_at":"2015-01-02T08:10:06Z","closed_at":null,"body":"Using Qt 5.4.0 and Python 3.4.2 on Archlinux I can't get values from python on QML, due casting error. The evaluate one line example runs without problems. \r\nThe example (and also, there is a missing bracket on it) and the output:\r\n```\r\nPython {\r\n    Component.onCompleted: {\r\n        importModule('os', function() {\r\n            call('os.getcwd', [], function (result) {\r\n                console.log('Working directory: ' + result);\r\n                call('os.chdir', ['/'], function (result) {\r\n                    console.log('Working directory changed.');\r\n                });});\r\n            });\r\n        });\r\n    }\r\n}\r\n\r\nCannot convert: QVariant(QJSValue, )\r\nqml: Working directory: undefined\r\nCannot convert: QVariant(QJSValue, )\r\nqml: Working directory changed.\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/thp/pyotherside/issues/comments/68512944","html_url":"https://github.com/thp/pyotherside/issues/32#issuecomment-68512944","issue_url":"https://api.github.com/repos/thp/pyotherside/issues/32","id":68512944,"user":{"login":"thp","id":135241,"avatar_url":"https://avatars.githubusercontent.com/u/135241?v=3","gravatar_id":"","url":"https://api.github.com/users/thp","html_url":"https://github.com/thp","followers_url":"https://api.github.com/users/thp/followers","following_url":"https://api.github.com/users/thp/following{/other_user}","gists_url":"https://api.github.com/users/thp/gists{/gist_id}","starred_url":"https://api.github.com/users/thp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thp/subscriptions","organizations_url":"https://api.github.com/users/thp/orgs","repos_url":"https://api.github.com/users/thp/repos","events_url":"https://api.github.com/users/thp/events{/privacy}","received_events_url":"https://api.github.com/users/thp/received_events","type":"User","site_admin":false},"created_at":"2015-01-02T08:10:06Z","updated_at":"2015-01-02T08:10:06Z","body":"Is this a duplicate of https://github.com/thp/pyotherside/pull/29? If so, this has been fixed in Git, but not released yet - I should probably do another release soon ;) "}}