{"action":"created","issue":{"url":"https://api.github.com/repos/spooning/SeleniumLibrary/issues/90","labels_url":"https://api.github.com/repos/spooning/SeleniumLibrary/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/spooning/SeleniumLibrary/issues/90/comments","events_url":"https://api.github.com/repos/spooning/SeleniumLibrary/issues/90/events","html_url":"https://github.com/spooning/SeleniumLibrary/issues/90","id":101389333,"number":90,"title":"jybot: unicode errors in multiple places in the code","user":{"login":"spooning","id":1658993,"avatar_url":"https://avatars.githubusercontent.com/u/1658993?v=3","gravatar_id":"","url":"https://api.github.com/users/spooning","html_url":"https://github.com/spooning","followers_url":"https://api.github.com/users/spooning/followers","following_url":"https://api.github.com/users/spooning/following{/other_user}","gists_url":"https://api.github.com/users/spooning/gists{/gist_id}","starred_url":"https://api.github.com/users/spooning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spooning/subscriptions","organizations_url":"https://api.github.com/users/spooning/orgs","repos_url":"https://api.github.com/users/spooning/repos","events_url":"https://api.github.com/users/spooning/events{/privacy}","received_events_url":"https://api.github.com/users/spooning/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spooning/SeleniumLibrary/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/spooning/SeleniumLibrary/labels/invalid","name":"invalid","color":"e6e6e6"},{"url":"https://api.github.com/repos/spooning/SeleniumLibrary/labels/prio-high","name":"prio-high","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-17T10:26:01Z","updated_at":"2015-08-17T10:26:17Z","closed_at":null,"body":"> *Originally submitted to [Google Code](http://code.google.com/p/robotframework-seleniumlibrary/issues/detail?id=90) by bryan.oakley on 4 Feb 2010*\n\n\nWith certain urls I'm getting the following error with Page Should Contain\r\nElement when the test is run with jybot:\r\n\r\nUnicodeError: ascii encoding error: ordinal not in range(128)\r\n\r\nI've attached a test file that duplicates the error (at least on my\r\nmachine). All it takes is opening a browser to a document with unicode\r\ncharacters (eg: <a href=\"http://en.wikipedia.org/wiki/Pound_sterling\" rel=\"nofollow\">http://en.wikipedia.org/wiki/Pound_sterling</a>) and running\r\nthe keyword 'Page Should Contain Element' for an element _not_ on the page.\r\nI suspect other keywords may exhibit the same problem.\r\n\r\nPart of the problem is the debug statement in __init__.py, method\r\n_parse_locator. If I comment out the debug statement I get farther, but\r\neventually it fails with the same error but somewhere else in the code. \r\n\r\nI know there's a push to support Jython 2.5 but I really hope this gets\r\nfixed before then.\r\n\r\n\r\n\r\n\n\n"},"comment":{"url":"https://api.github.com/repos/spooning/SeleniumLibrary/issues/comments/131769069","html_url":"https://github.com/spooning/SeleniumLibrary/issues/90#issuecomment-131769069","issue_url":"https://api.github.com/repos/spooning/SeleniumLibrary/issues/90","id":131769069,"user":{"login":"spooning","id":1658993,"avatar_url":"https://avatars.githubusercontent.com/u/1658993?v=3","gravatar_id":"","url":"https://api.github.com/users/spooning","html_url":"https://github.com/spooning","followers_url":"https://api.github.com/users/spooning/followers","following_url":"https://api.github.com/users/spooning/following{/other_user}","gists_url":"https://api.github.com/users/spooning/gists{/gist_id}","starred_url":"https://api.github.com/users/spooning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spooning/subscriptions","organizations_url":"https://api.github.com/users/spooning/orgs","repos_url":"https://api.github.com/users/spooning/repos","events_url":"https://api.github.com/users/spooning/events{/privacy}","received_events_url":"https://api.github.com/users/spooning/received_events","type":"User","site_admin":false},"created_at":"2015-08-17T10:26:16Z","updated_at":"2015-08-17T10:26:16Z","body":"> *Originally submitted to [Google Code](http://code.google.com/p/robotframework-seleniumlibrary/issues/detail?id=90#c3) by @yanne on 5 Feb 2010*\n\n\nFrom RF point of view no, we actually recommend to use Jython 2.2 with RF. Jython 2.2 \r\nhas bugs in unicode handling also, but RF has workarounds for them. \n\n"}}