Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Focus change causes traceback #21

Closed
spyder-bot opened this issue Feb 16, 2015 · 2 comments
Closed

Focus change causes traceback #21

spyder-bot opened this issue Feb 16, 2015 · 2 comments

Comments

@spyder-bot
Copy link
Collaborator

From goth...@gmail.com on 2009-09-02T00:36:40Z

What steps will reproduce the problem?

  1. Loose conection with volume that contains an active file
    1. klick on the file in the editor.
    2. Traceback produced What is the expected output? What do you see instead? IOexception should probably be caught.

the output:

Traceback (most recent call last):

File "C:\Python26\lib\site-packages\spyderlib\plugins\editor.py", line 378,
in focus_changed
 self.refresh()

File "C:\Python26\lib\site-packages\spyderlib\plugins\editor.py", line 454,
in refresh
 self.__check_last_modified(index)

File "C:\Python26\lib\site-packages\spyderlib\plugins\editor.py", line 435,
in __check_last_modified
 self.reload(index)

File "C:\Python26\lib\site-packages\spyderlib\plugins\editor.py", line 517,
in reload
 txt, finfo.encoding = encoding.read(finfo.filename)
 File
"C:\Python26\lib\site-packages\spyderlib\encoding.py", line 169, in read

text, encoding = decode( file(filename, 'rb').read() )
IOError: [Errno 2]
No 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

Please provide any additional information below

. This is not a showstopper but it should be an easy fix. It is getting
harder and harder to find those little bugs but I am still trying. =)

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=21

@spyder-bot
Copy link
Collaborator Author

From pierre.raybaut on 2009-09-02T05:46:52Z

Status: Accepted

@spyder-bot
Copy link
Collaborator Author

From pierre.raybaut on 2009-09-03T14:09:58Z

fixed in v1.0.0beta6

Keep trying :)

Status: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant