{"action":"created","issue":{"url":"https://api.github.com/repos/wbsoft/frescobaldi/issues/674","labels_url":"https://api.github.com/repos/wbsoft/frescobaldi/issues/674/labels{/name}","comments_url":"https://api.github.com/repos/wbsoft/frescobaldi/issues/674/comments","events_url":"https://api.github.com/repos/wbsoft/frescobaldi/issues/674/events","html_url":"https://github.com/wbsoft/frescobaldi/issues/674","id":67809563,"number":674,"title":"[Frescobaldi 2.18.1] UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-7: ordinal not in range(128)","user":{"login":"wbsoft","id":588454,"avatar_url":"https://avatars.githubusercontent.com/u/588454?v=3","gravatar_id":"","url":"https://api.github.com/users/wbsoft","html_url":"https://github.com/wbsoft","followers_url":"https://api.github.com/users/wbsoft/followers","following_url":"https://api.github.com/users/wbsoft/following{/other_user}","gists_url":"https://api.github.com/users/wbsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/wbsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wbsoft/subscriptions","organizations_url":"https://api.github.com/users/wbsoft/orgs","repos_url":"https://api.github.com/users/wbsoft/repos","events_url":"https://api.github.com/users/wbsoft/events{/privacy}","received_events_url":"https://api.github.com/users/wbsoft/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/wbsoft/frescobaldi/milestones/3","html_url":"https://github.com/wbsoft/frescobaldi/milestones/2.18.1","labels_url":"https://api.github.com/repos/wbsoft/frescobaldi/milestones/3/labels","id":1015369,"number":3,"title":"2.18.1","description":"","creator":{"login":"dliessi","id":5209500,"avatar_url":"https://avatars.githubusercontent.com/u/5209500?v=3","gravatar_id":"","url":"https://api.github.com/users/dliessi","html_url":"https://github.com/dliessi","followers_url":"https://api.github.com/users/dliessi/followers","following_url":"https://api.github.com/users/dliessi/following{/other_user}","gists_url":"https://api.github.com/users/dliessi/gists{/gist_id}","starred_url":"https://api.github.com/users/dliessi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dliessi/subscriptions","organizations_url":"https://api.github.com/users/dliessi/orgs","repos_url":"https://api.github.com/users/dliessi/repos","events_url":"https://api.github.com/users/dliessi/events{/privacy}","received_events_url":"https://api.github.com/users/dliessi/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":10,"state":"open","created_at":"2015-03-10T19:42:58Z","updated_at":"2015-04-11T17:21:03Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-04-11T17:21:03Z","updated_at":"2015-05-19T07:18:42Z","closed_at":null,"body":"reported by a user:\r\n```\r\nFrescobaldi: 2.18.1\r\n\r\nPython: 2.7.6 -- Qt: 4.8.6 -- PyQt4: 4.10.4 -- sip: 4.15.5\r\npython-ly: 0.9.1\r\npoppler: unknown -- python-poppler-qt4: unknown\r\nOS: Linux-3.13.0-49-generic-x86_64-with-Ubuntu-14.04-trusty\r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/dist-packages/frescobaldi_app/documentactions.py\", line 131, in convertLy\r\n    convert_ly.convert(self.mainwindow())\r\n  File \"/usr/local/lib/python2.7/dist-packages/frescobaldi_app/convert_ly.py\", line 56, in convert\r\n    dlg.run()\r\n  File \"/usr/local/lib/python2.7/dist-packages/frescobaldi_app/convert_ly.py\", line 256, in run\r\n    self.setDiffText(out)\r\n  File \"/usr/local/lib/python2.7/dist-packages/frescobaldi_app/convert_ly.py\", line 183, in setDiffText\r\n    _(\"Current Document\"), _(\"Converted Document\")))\r\n  File \"/usr/lib/python2.7/difflib.py\", line 1203, in unified_diff\r\n    yield '--- {}{}{}'.format(fromfile, fromdate, lineterm)\r\nUnicodeEncodeError: 'ascii' codec can't encode characters in position 0-7: ordinal not in range(128)\r\n\r\n\r\nI was trying to convert-ly.\r\n```"},"comment":{"url":"https://api.github.com/repos/wbsoft/frescobaldi/issues/comments/103377135","html_url":"https://github.com/wbsoft/frescobaldi/issues/674#issuecomment-103377135","issue_url":"https://api.github.com/repos/wbsoft/frescobaldi/issues/674","id":103377135,"user":{"login":"wbsoft","id":588454,"avatar_url":"https://avatars.githubusercontent.com/u/588454?v=3","gravatar_id":"","url":"https://api.github.com/users/wbsoft","html_url":"https://github.com/wbsoft","followers_url":"https://api.github.com/users/wbsoft/followers","following_url":"https://api.github.com/users/wbsoft/following{/other_user}","gists_url":"https://api.github.com/users/wbsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/wbsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wbsoft/subscriptions","organizations_url":"https://api.github.com/users/wbsoft/orgs","repos_url":"https://api.github.com/users/wbsoft/repos","events_url":"https://api.github.com/users/wbsoft/events{/privacy}","received_events_url":"https://api.github.com/users/wbsoft/received_events","type":"User","site_admin":false},"created_at":"2015-05-19T07:18:42Z","updated_at":"2015-05-19T07:18:42Z","body":"I think we should not use the translated \"Current Document\" and \"Converted Document\" inside the diff, although the fault is in difflib, which does not use unicode strings in the format string."}}