{"action":"closed","issue":{"url":"https://api.github.com/repos/spyder-ide/migration/issues/21","labels_url":"https://api.github.com/repos/spyder-ide/migration/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/spyder-ide/migration/issues/21/comments","events_url":"https://api.github.com/repos/spyder-ide/migration/issues/21/events","html_url":"https://github.com/spyder-ide/migration/issues/21","id":57755341,"number":21,"title":"Focus change causes traceback","user":{"login":"spyder-issues-migrator","id":11021581,"avatar_url":"https://avatars.githubusercontent.com/u/11021581?v=3","gravatar_id":"","url":"https://api.github.com/users/spyder-issues-migrator","html_url":"https://github.com/spyder-issues-migrator","followers_url":"https://api.github.com/users/spyder-issues-migrator/followers","following_url":"https://api.github.com/users/spyder-issues-migrator/following{/other_user}","gists_url":"https://api.github.com/users/spyder-issues-migrator/gists{/gist_id}","starred_url":"https://api.github.com/users/spyder-issues-migrator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spyder-issues-migrator/subscriptions","organizations_url":"https://api.github.com/users/spyder-issues-migrator/orgs","repos_url":"https://api.github.com/users/spyder-issues-migrator/repos","events_url":"https://api.github.com/users/spyder-issues-migrator/events{/privacy}","received_events_url":"https://api.github.com/users/spyder-issues-migrator/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spyder-ide/migration/labels/1%20star","name":"1 star","color":"FFFFFF"},{"url":"https://api.github.com/repos/spyder-ide/migration/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/spyder-ide/migration/labels/imported","name":"imported","color":"FFFFFF"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-16T01:05:18Z","updated_at":"2015-02-16T01:05:25Z","closed_at":"2015-02-16T01:05:25Z","body":"_From [goth...@gmail.com](https://code.google.com/u/107413083286304800601/) on 2009-09-02T00:36:40Z_\n\n\n\nWhat steps will reproduce the problem?\n\n 1. Loose conection with volume that contains an active file\r\n2. klick on the file in the editor.\r\n3. Traceback produced What is the expected output? What do you see instead? IOexception should probably be caught. \r\n\r\nthe output:\r\n\r\n\\>>> Traceback (most recent call last):   \r\nFile \"C:\\Python26\\lib\\site-packages\\spyderlib\\plugins\\editor.py\", line 378,\r\nin focus_changed     self.refresh()   \r\nFile \"C:\\Python26\\lib\\site-packages\\spyderlib\\plugins\\editor.py\", line 454,\r\nin refresh     self.__check_last_modified(index)   \r\nFile \"C:\\Python26\\lib\\site-packages\\spyderlib\\plugins\\editor.py\", line 435,\r\nin __check_last_modified     self.reload(index)  \r\nFile \"C:\\Python26\\lib\\site-packages\\spyderlib\\plugins\\editor.py\", line 517,\r\nin reload     txt, finfo.encoding = encoding.read(finfo.filename)   File\r\n\"C:\\Python26\\lib\\site-packages\\spyderlib\\encoding.py\", line 169, in read  \r\n  text, encoding = decode( file(filename, 'rb').read() ) IOError: [Errno 2]\r\nNo such file or directory: u'E:\\\\henriksdal-3D-test.py' What version of the product are you using? On what operating system? python(x,y) 2.6.0 beta 3 on XP \n\nPlease provide any additional information below\n\n. This is not a showstopper but it should be an easy fix. It is getting\r\nharder and harder to find those little bugs but I am still trying. =)\n\n_Original issue: http://code.google.com/p/spyderlib/issues/detail?id=21_"}}