{"action":"created","issue":{"url":"https://api.github.com/repos/vlachoudis/bCNC/issues/940","repository_url":"https://api.github.com/repos/vlachoudis/bCNC","labels_url":"https://api.github.com/repos/vlachoudis/bCNC/issues/940/labels{/name}","comments_url":"https://api.github.com/repos/vlachoudis/bCNC/issues/940/comments","events_url":"https://api.github.com/repos/vlachoudis/bCNC/issues/940/events","html_url":"https://github.com/vlachoudis/bCNC/issues/940","id":351391065,"node_id":"MDU6SXNzdWUzNTEzOTEwNjU=","number":940,"title":"UnicodeDecodeError: 'ascii' codec can't decode byte 0xb2 in position 2: ordinal not in range(128)","user":{"login":"Harvie","id":276504,"node_id":"MDQ6VXNlcjI3NjUwNA==","avatar_url":"https://avatars3.githubusercontent.com/u/276504?v=4","gravatar_id":"","url":"https://api.github.com/users/Harvie","html_url":"https://github.com/Harvie","followers_url":"https://api.github.com/users/Harvie/followers","following_url":"https://api.github.com/users/Harvie/following{/other_user}","gists_url":"https://api.github.com/users/Harvie/gists{/gist_id}","starred_url":"https://api.github.com/users/Harvie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Harvie/subscriptions","organizations_url":"https://api.github.com/users/Harvie/orgs","repos_url":"https://api.github.com/users/Harvie/repos","events_url":"https://api.github.com/users/Harvie/events{/privacy}","received_events_url":"https://api.github.com/users/Harvie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-16T22:29:35Z","updated_at":"2018-08-17T04:26:47Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"After last archlinux upgrade, the open dialog refuse to open file. I can only open recent files, but not select files using file dialog. It affects both latest git and stable bCNC version 0.9.11. It gives me this:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/home/harvie/Temp/bCNC/Utils.py\", line 434, in __call__\r\n    return self.func(*args)\r\n  File \"bCNC.py\", line 1947, in loadDialog\r\n    filetypes=FILETYPES)\r\n  File \"/home/harvie/Temp/bCNC/lib/bFileDialog.py\", line 925, in askopenfilename\r\n    return OpenDialog(**options).show()\r\n  File \"/home/harvie/Temp/bCNC/lib/bFileDialog.py\", line 366, in show\r\n    self.typeCombo.set(self.typeCombo.get(0))\t# will fill the files\r\n  File \"/home/harvie/Temp/bCNC/lib/tkExtra.py\", line 3058, in set\r\n    self.invoke()\r\n  File \"/home/harvie/Temp/bCNC/lib/tkExtra.py\", line 3010, in invoke\r\n    self.command()\r\n  File \"/home/harvie/Temp/bCNC/lib/bFileDialog.py\", line 765, in typeChange\r\n    self.fill()\r\n  File \"/home/harvie/Temp/bCNC/lib/bFileDialog.py\", line 552, in fill\r\n    filename = os.path.join(path, fn)\r\n  File \"/usr/lib/python2.7/posixpath.py\", line 73, in join\r\n    path += '/' + b\r\nUnicodeDecodeError: 'ascii' codec can't decode byte 0xb2 in position 2: ordinal not in range(128)\r\n```\r\nHave you ever experienced this?"},"comment":{"url":"https://api.github.com/repos/vlachoudis/bCNC/issues/comments/413754049","html_url":"https://github.com/vlachoudis/bCNC/issues/940#issuecomment-413754049","issue_url":"https://api.github.com/repos/vlachoudis/bCNC/issues/940","id":413754049,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzc1NDA0OQ==","user":{"login":"Harvie","id":276504,"node_id":"MDQ6VXNlcjI3NjUwNA==","avatar_url":"https://avatars3.githubusercontent.com/u/276504?v=4","gravatar_id":"","url":"https://api.github.com/users/Harvie","html_url":"https://github.com/Harvie","followers_url":"https://api.github.com/users/Harvie/followers","following_url":"https://api.github.com/users/Harvie/following{/other_user}","gists_url":"https://api.github.com/users/Harvie/gists{/gist_id}","starred_url":"https://api.github.com/users/Harvie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Harvie/subscriptions","organizations_url":"https://api.github.com/users/Harvie/orgs","repos_url":"https://api.github.com/users/Harvie/repos","events_url":"https://api.github.com/users/Harvie/events{/privacy}","received_events_url":"https://api.github.com/users/Harvie/received_events","type":"User","site_admin":false},"created_at":"2018-08-17T04:26:47Z","updated_at":"2018-08-17T04:26:47Z","author_association":"CONTRIBUTOR","body":"Workaround:\r\nThis only happens for directories, which contain filenames with funky characters. Unfortunately bCNC remembers last directory used and once you get into that directory, you will always trigger the bug when hitting open button. To get this going again, i had to edit following line in ~/.bCNC to point to some directory without such files:\r\n\r\n```\r\n[File]\r\ndir = /home/harvie/Work\r\n...\r\n```"}}
{"actor":{"display_login":"Harvie"}}