thegooglecodearchive / marave

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

Can't create new file #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If you do

marave unexistantfile.txt

Marave fails with:

Traceback (most recent call last):
  File "main.py", line 1250, in <module>
    main()
  File "main.py", line 1239, in main
    window.editor.open(args[0])
  File 
"/home/ralsina/Desktop/proyectos/marave/trunk/marave/spelltextedit.py", line 
160, in open
    self.setPlainText(codecs.open(fname,'r','utf-8').read())
  File "/usr/lib/python2.6/codecs.py", line 865, in open
    file = __builtin__.open(filename, mode, buffering)
IOError: [Errno 2] No such file or directory: '/home/ralsina/packagingapp.txt'

Original issue reported on code.google.com by roberto.alsina on 11 Feb 2010 at 12:10

GoogleCodeExporter commented 9 years ago
Patch in r204: fixed this and made save more robust.

Original comment by roberto.alsina on 11 Feb 2010 at 12:19

GoogleCodeExporter commented 9 years ago

Original comment by roberto.alsina on 11 Feb 2010 at 12:23