octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #49779] print /non/existing/dir/file.svg crash


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #49779] print /non/existing/dir/file.svg crashes octave
Date: Fri, 27 Jan 2017 10:41:09 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0

Follow-up Comment #8, bug #49779 (project octave):

@Rik: I agree that in many cases using exception instead of carefully checking
input is a simpler approach, but in this case, even when we manage to rethrow
exceptions from the GUI thread, it means gl2ps will spend eventually a lot of
time preparing an eps that can't be written or converted. Imagine


demo light 3
print -dpgn toto.png
print /non-existing/toto.png
print locked-file.png


Anyone of those print commands will lead to an error *after* 37s on my rather
new computer when we could have had it return an error early.



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?49779>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]