[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #48171] Third output argument of uiputfile und
From: |
Guillaume |
Subject: |
[Octave-bug-tracker] [bug #48171] Third output argument of uiputfile undefined when user presses Cancel |
Date: |
Wed, 8 Jun 2016 10:27:05 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0 |
URL:
<http://savannah.gnu.org/bugs/?48171>
Summary: Third output argument of uiputfile undefined when
user presses Cancel
Project: GNU Octave
Submitted by: gyom
Submitted on: Wed 08 Jun 2016 10:27:03 AM GMT
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name: Guillaume
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
When the user presses the Cancel button in the uiputfile window, the third
output variable should be 0 but is instead undefined:
>> [retfile,retpath,retidx] = uiputfile
warning: uiputfile: some elements in list of return values are undefined
warning: called from
uiputfile at line 129 column 1
retfile = 0
retpath = 0
retidx = [](0x0)
A breakpoint in the uiputfile.m function at the line calling
__octave_link_file_dialog__ gives:
debug> [retfile, retpath, retindex] = __octave_link_file_dialog__
(outargs{:})
retfile = 0
retpath = 0
retindex =
error: octave_base_value::print (): wrong type argument '<unknown type>'
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?48171>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #48171] Third output argument of uiputfile undefined when user presses Cancel,
Guillaume <=