[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-bug: [Bug 698566] Re: Save errors don't bring up warning dialog



Steps to reproduce:

  mkdir unwritable
  touch unwritable/test.sch
  chmod -R a-w unwritable
  gschem unwritable/test.sch

Insert a component, "File->Save".  No error message appears; log message
is:

Can't save backup file:
/home/peter/Projects/geda/gaf/unwritable/test.sch~.Could NOT save page
[/home/peter/Projects/geda/gaf/unwritable/test.sch]


** Changed in: geda
       Status: New => Triaged

-- 
You received this bug notification because you are a member of gEDA Bug
Team, which is subscribed to gEDA.
https://bugs.launchpad.net/bugs/698566

Title:
  Save errors don't bring up warning dialog

Status in GPL Electronic Design Automation tools:
  Triaged

Bug description:
  When saving a file which can't be writte, the error message dissapears quietly into the log window.

Since the user's data hasn't been saved, it would be appropriate to pop up a warning dialog citing the error and a standard description (from the OS) of why the file wasn't saved.

I've marked this as a gschem bug, although any dialogs added should be updated in gattrib as well.

When fixing this, it might be nice to update the logged messages. Currently, for a save error (due to permissions), we get:

o_save: Could not open [/home/pcjc2/geda/share/gEDA/sym/analog/resistor-2.sym]
Could NOT save page [/home/pcjc2/geda/share/gEDA/sym/analog/resistor-2.sym]

The first line is misleading, and should be removed. We should also cite the reason for the error after the second line.




_______________________________________________
geda-bug mailing list
geda-bug@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-bug