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

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

[Octave-bug-tracker] [bug #54600] edit mfile with an error crashes octav


From: Torsten
Subject: [Octave-bug-tracker] [bug #54600] edit mfile with an error crashes octave
Date: Fri, 21 Sep 2018 11:35:12 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0

Follow-up Comment #10, bug #54600 (project octave):

Currently, F__which__ only crashes for files with syntax error when called
from the gui thread. The "edit" function uses "exist" and "file_in_path" in
order to find the editable m-file of a function. Therefore, I am currently
looking for the following possible solutions:

* Try to use Fexist together with Ffile_in_loadpath as the "edit" command
does
* Call F__which__ via the octave thread (no crash, only an error message about
the syntax error) and try to pass the results to the gui thread
* Use a try-block


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?54600>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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