Thu 29 Sep 2011 04:00:12 PM UTC, comment #10:
No action for 6 months. I assume that the latest development code no longer includes this problem.
|
Mon 16 May 2011 03:06:11 AM UTC, comment #9:
Has this bug been resolved? The last post was from Jan 21, 2011 where things appeared to be operating correctly.
|
Fri 21 Jan 2011 08:13:30 PM UTC, comment #8:
Hello Kai
saveas(1,"D:/usr/Tatsu/program/Octave/fltk_print/savetest.pdf")
worked correctly. I can get savetest.pdf.
I will try dbstop and dbstep to trace what is happening.
The result will be reported later.
Thanks!!
|
Fri 21 Jan 2011 06:45:59 PM UTC, comment #7:
Tatsuro,
does 'saveas' work for you? The file dialog finally calls saveas so can you please check if for your example:
graphics_toolkit("fltk")
figure(1)
peaks
saveas(1,"D:/usr/Tatsu/program/Octave/fltk_print/savetest.pdf")
creates the pdf containing figure 1.
Kai
|
Thu 20 Jan 2011 07:51:33 AM UTC, comment #6:
Sorry for my late reply.
Currently crash does not occur.
octave:1> cd D:\usr\Tatsu\program\Octave\fltk_print
octave:2> backend fltk
octave:3> peaks
octave:4> # here I have treat savedialog
I attached the three files.
1. peaks.png : Orignal plot snapshot
2. savedialog.png : snapshot of "save as" dialog
3. saving.png : Snapshot during processing
Today after No.2 snapshot, the screen went to No.3 came back to No.1 (original) snapshot.
And octave prompt was re-active after the plot screen came back to No.1.
However, nothing was saved.
Regards
Tatsuro
(file #22461, file #22462, file #22463)
|
Sun 09 Jan 2011 07:08:10 PM UTC, comment #5:
Tatsuro,
can you give some more information? Do you still see the crash?
It is not clear to me if the file dialog or the printing itself crashes.
Kai
|
Wed 29 Dec 2010 07:42:47 PM UTC, comment #4:
Does the following also crash?
figure(1)
peaks;
saveas (1, "peaks_figure.pdf");
Kai
|
Wed 29 Dec 2010 07:36:22 PM UTC, comment #3:
Tatsuro,
I understand that the file dialog uiputfile(...) works for you when called from the command line. Since this is just a dialog to select a file nothing is being saved.
But it is still not clear to me. Do you get a save dialog when you execute?
octave.exe:1> backend('fltk')
octave.exe:2> peaks # here I have tried to execute 'Save As' in pdf format
octave.exe:3> panic: Segmentation violation -- stopping myself...
Can you debug scripts/plot/private/__add_default_menu__.m and try to find at which line octave crashes.
Can you post the respective backtrace too.
Kai
|
Wed 29 Dec 2010 07:22:42 PM UTC, comment #2:
Thank you for your reply
>does this mean you do not get a file dialog?
Perhaps my English writing was poor. So I attached the file for my operation.
I have tried
[filename, filedir] = uiputfile ({".pdf;.ps;.gif;.png;*.jpg","Supported Graphic Formats"}, "Save Figure", pwd);
save dialog appears. I input file name '......./test.pdf' and press 'save' button.
This time octave does not crash but nothing is saved.
Thanks
(file #22317)
|
Wed 29 Dec 2010 01:15:38 PM UTC, comment #1:
Tatsuro,
does this mean you do not get a file dialog?
If you choose 'Save As' the following line (in _add_default_menu_.m) is called:
[filename, filedir] = uiputfile ({".pdf;.ps;.gif;.png;*.jpg","Supported Graphic Formats"},
"Save Figure",
pwd);
What happens if you call this from the command line?
Kai
|
Sat 25 Dec 2010 06:44:55 PM UTC, original submission:
Hello
I have tried several times to save plot using uimenu 'File -> Save As' from the plot window.
octave.exe:1> backend('fltk')
octave.exe:2> peaks # here I have tried to execute 'Save As' in pdf format
octave.exe:3> panic: Segmentation violation -- stopping myself...
attempting to save variables to `octave-core'...
save to `octave-core' complete
Tatsu@Inspiron6000 /home/octaves/OctBuild/octave-develop
$ GPL Ghostscript 9.00: **** Could not open the file c:/usr/Tatsu/mingwhome/octaves/OctBuild/octave-develop\c:/usr/Tatsu/mingwhome/octaves/
OctBuild/octave-develop/test.pdf .
- Unable to open the initial device, quitting.
Any suggestions?
Regards
Tatsuro
|