{"action":"created","issue":{"url":"https://api.github.com/repos/twaugh/system-config-printer/issues/18","labels_url":"https://api.github.com/repos/twaugh/system-config-printer/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/twaugh/system-config-printer/issues/18/comments","events_url":"https://api.github.com/repos/twaugh/system-config-printer/issues/18/events","html_url":"https://github.com/twaugh/system-config-printer/issues/18","id":101706789,"number":18,"title":"UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 187: invalid start byte","user":{"login":"philipp-classen","id":1616509,"avatar_url":"https://avatars.githubusercontent.com/u/1616509?v=3","gravatar_id":"","url":"https://api.github.com/users/philipp-classen","html_url":"https://github.com/philipp-classen","followers_url":"https://api.github.com/users/philipp-classen/followers","following_url":"https://api.github.com/users/philipp-classen/following{/other_user}","gists_url":"https://api.github.com/users/philipp-classen/gists{/gist_id}","starred_url":"https://api.github.com/users/philipp-classen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philipp-classen/subscriptions","organizations_url":"https://api.github.com/users/philipp-classen/orgs","repos_url":"https://api.github.com/users/philipp-classen/repos","events_url":"https://api.github.com/users/philipp-classen/events{/privacy}","received_events_url":"https://api.github.com/users/philipp-classen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-08-18T17:24:34Z","updated_at":"2015-09-09T16:17:54Z","closed_at":null,"body":"I'm using version 1.5.7 of system-config-printer on Arch Linux (foomatic-db is installed):\r\n\r\n- Select \"Add -> LPD/LPR Host or Printer\"\r\n- Enter some IP as \"Host\"\r\n- Forward\r\n\r\nIt hangs forever and prints the following errors to the console:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/usr/share/system-config-printer/newprinter.py\", line 899, in on_btnNPForward_clicked\r\n    self.nextNPTab()\r\n  File \"/usr/share/system-config-printer/newprinter.py\", line 1095, in nextNPTab\r\n    self.getNetworkPrinterMakeModel ()\r\n  File \"/usr/share/system-config-printer/newprinter.py\", line 1960, in getNetworkPrinterMakeModel\r\n    line = stdout.decode ().strip ()\r\nUnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 187: invalid start byte\r\n```\r\n/var/log/cups/error_log contains no errors (or other messages).\r\n\r\n---\r\n\r\nSide-note: When I try the IP of another printer, I see a \"Searching for driver\" popup. It fails differently, though. The Traceback from above is not printed. Instead the dialog fails with this ambiguous message:\r\n\r\n\"CUPS server error: There was an error during the CUPS operation: 'Success'.\"\r\n\r\nThere is an error in /var/log/cups/error_log:\r\n[cups-driverd] Bad driver information file \"/usr/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm\"!\r\n\r\nHowever, I think it is unrelated to the problem. I only posted it in case it helps. Otherwise, you can safely ignore it.\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/twaugh/system-config-printer/issues/comments/138960945","html_url":"https://github.com/twaugh/system-config-printer/issues/18#issuecomment-138960945","issue_url":"https://api.github.com/repos/twaugh/system-config-printer/issues/18","id":138960945,"user":{"login":"jpopelka","id":288686,"avatar_url":"https://avatars.githubusercontent.com/u/288686?v=3","gravatar_id":"","url":"https://api.github.com/users/jpopelka","html_url":"https://github.com/jpopelka","followers_url":"https://api.github.com/users/jpopelka/followers","following_url":"https://api.github.com/users/jpopelka/following{/other_user}","gists_url":"https://api.github.com/users/jpopelka/gists{/gist_id}","starred_url":"https://api.github.com/users/jpopelka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpopelka/subscriptions","organizations_url":"https://api.github.com/users/jpopelka/orgs","repos_url":"https://api.github.com/users/jpopelka/repos","events_url":"https://api.github.com/users/jpopelka/events{/privacy}","received_events_url":"https://api.github.com/users/jpopelka/received_events","type":"User","site_admin":false},"created_at":"2015-09-09T16:17:54Z","updated_at":"2015-09-09T16:17:54Z","body":"> b'\\xfc' is ü encoded as ISO-8859-1 instead of UTF-8.\r\n\r\nYou're right as always :-) but how did you get that ?"}}