[Bug 1524251] Re: Octave crashes when opening an m file

2017-03-30 Thread Kushal Chauhan
I found a temporary solution to this problem. 
If you want to just open a .m file in Octave's Editor and not execute it while 
double clicking it, you can do the following:
1. Locate the .desktop file of GNU Octave in /use/share/applications (in 
nautilus with root persimmions)
2. Right Click -> Properties; In the command field, replace the existing text 
with :

 octave --force-gui --persist --eval "edit %F"

For your understanding, 
--force-gui forces octave to invoke the GUI
--persist   tells octave to NOT exit after execution of command/script
--eval  tells octave to execute the following command ("edit %F") in its 
interpreter, which will open the file in its editor.
:D

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1524251

Title:
  Octave crashes when opening an m file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/octave/+bug/1524251/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1524251] Re: Octave crashes when opening an m file

2015-12-11 Thread Mike Miller
Bug description seems better suited to an explanation of why Octave is
behaving the way it is.

** Changed in: octave (Ubuntu)
   Status: Incomplete => Invalid

** Converted to question:
   https://answers.launchpad.net/ubuntu/+source/octave/+question/278620

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1524251

Title:
  Octave crashes when opening an m file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/octave/+bug/1524251/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1524251] Re: Octave crashes when opening an m file

2015-12-11 Thread Mike Miller
Ok, then what I believe you are seeing is the expected behavior in the
current version of Octave. To explain a little further:

Double-clicking an m file, say myfile.m, runs the command "octave
--force-gui myfile.m". The current behavior of Octave 4.0 is to run the
script defined in that file to completion, and then exit. This sounds
like what you are seeing.

If you instead run "octave --force-gui --persist myfile.m" then the
Octave GUI will stay active and accept further interactive commands.

If you'd like to propose different functionality for what Octave should
do when an m file is double-clicked, it would be best to open a feature
request bug report against the upstream project here:
https://savannah.gnu.org/bugs/?func=additem&group=octave

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1524251

Title:
  Octave crashes when opening an m file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/octave/+bug/1524251/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1524251] Re: Octave crashes when opening an m file

2015-12-11 Thread Spyros Theodoritsis
It happens with all .m files, created by Matlab or Octave.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1524251

Title:
  Octave crashes when opening an m file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/octave/+bug/1524251/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1524251] Re: Octave crashes when opening an m file

2015-12-09 Thread Mike Miller
Thanks for your bug report. Can you please provide the m file that you
open in Octave that causes the behavior you are reporting?

** Changed in: octave (Ubuntu)
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1524251

Title:
  Octave crashes when opening an m file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/octave/+bug/1524251/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs