bugGNU Octave - Bugs: bug #39525, close has some problems after...

 
 

bug #39525: close has some problems after syntax error or closing plots manually.

Submitted by:  imartinez <imartinez>
Submitted on:  Fri 19 Jul 2013 08:32:30 AM UTC  
 
Category: Plotting with gnuplotSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: DuplicateAssigned to: None
Originator Name: imartinezOpen/Closed: Closed
Release: 3.6.4Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 19 Jul 2013 03:51:13 PM UTC, comment #1:

I think this is caused by the use of 'fclose "all"'. I'm marking this as a duplicate of #39504.

Rik <rik5>
Project Administrator
Fri 19 Jul 2013 08:32:30 AM UTC, original submission:

Just take a look, after I had a syntax error.... and/or I closed plots manually.

Trying to have clean state before trying again.

>>fclose all

ans = 0

>>clear


>>close

error: _go_execute_callback_: invalid graphics object (= 6)
error: called from:
error: /usr/share/octave/3.6.3/m/plot/close.m at line 63, column 5

>>close 'all'

error: close: expecting argument to be "all" or a figure handle
error: called from:
error: /usr/share/octave/3.6.3/m/plot/close.m at line 52, column 7
error: /usr/share/octave/3.6.3/m/plot/close.m at line 77, column 1
error: /usr/share/octave/3.6.3/m/plot/close.m at line 46, column 7

>>close "all"

error: close: expecting argument to be "all" or a figure handle
error: called from:
error: /usr/share/octave/3.6.3/m/plot/close.m at line 52, column 7
error: /usr/share/octave/3.6.3/m/plot/close.m at line 77, column 1
error: /usr/share/octave/3.6.3/m/plot/close.m at line 46, column 7

>> HP8510C_Spar

error: close: expecting argument to be "all" or a figure handle
error: called from:
error: /usr/share/octave/3.6.3/m/plot/close.m at line 52, column 7
error: /usr/share/octave/3.6.3/m/plot/close.m at line 77, column 1
error: /usr/share/octave/3.6.3/m/plot/close.m at line 46, column 7
error: /home/labuser/Windows_drive/Inst_programs/HP8510C_Spar.m at line 4, column 1

It seems close gets picky after an error...

imartinez <imartinez>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jordigh (Updated the item)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by imartinez (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 19 Jul 2013 04:40:45 PM UTCjordighOpen/ClosedOpen=>Closed
    Fri 19 Jul 2013 03:51:30 PM UTCrik5CategoryOctave Function=>Plotting with gnuplot
    Fri 19 Jul 2013 03:51:13 PM UTCrik5StatusNone=>Duplicate
      Dependencies-=>Depends on bugs #39504

    Back to the top


    Powered by Savane 3.1-cleanup1