alcemirfernandes / pynguin

Automatically exported from code.google.com/p/pynguin
GNU General Public License v3.0
0 stars 0 forks source link

Trying to open non-existent file leaves traceback in console #44

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Click Open
2. type sdafasdfsdfs in file name
3. Click Ok

What is the expected output? 
Dialog box saying file does not exist

What do you see instead?
Traceback in console area.

Traceback (most recent call last):
  File "/home/lee/python/pynguin/mw.py", line 609, in open
    self._openfile(fp)
  File "/home/lee/python/pynguin/mw.py", line 612, in _openfile
    z = zipfile.ZipFile(fp, 'r')
  File "/usr/lib/python2.6/zipfile.py", line 683, in __init__
    self.fp = open(file, modeDict[mode])
IOError: [Errno 2] No such file or directory: u'/home/lee/hdfhfhgf'

Original issue reported on code.google.com by miss...@hotmail.com on 4 Aug 2010 at 3:34

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 7b79ba3884.

Original comment by miss...@hotmail.com on 8 Aug 2010 at 5:01