bugGNU Octave - Bugs: bug #29437, ginput does not return at all for...

 
 

bug #29437: ginput does not return at all for MS Windows builds

Submitter:  None
Submitted:  Sun 04 Apr 2010 12:34:41 PM UTC
   
 
Category:  Libraries Severity:  3 - Normal
Priority:  3 - Low Item Group:  None
Status:  Fixed Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 3.2.3
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Sat 17 Sep 2011 05:17:10 PM UTC, comment #6: 

As this problem is due to a conflict with function that is not part of Octave's core, should the solution is to modify the m-file path to ensure Octave's core functions are encountered first, or to just uninstall Octave Forge's plot package.

I also noticed that the ginput.m function has been eliminated from the plot package on Octave Forge. Thus, it looks to me like this problem has been "fixed".

I'll close this report. It can be re-opened if necessary.

Ben Abbott <bpabbott>
Group Member
Mon 15 Nov 2010 08:54:33 AM UTC, comment #5: 

Please see

http://wiki.octave.org/wiki.pl?OctaveForWindows

1. Standalone ports
  1.1. Octave 3.2.4 for Windows MinGW32
<snip>
Additional important topics found after the release:
<snip>
The plot octave-forge package still have ginput code although ...


Tatsuro MATSUOKA <tmacchant>
Thu 26 Aug 2010 09:10:23 PM UTC, comment #4: 

ginput works fine for me using Octave 3.2.4 with Windows XP Home with all current updates.  Computer is generic homebrew.

Examples:

octave-3.2.4.exe:1> plot(rand(4))
octave-3.2.4.exe:2> [x,y]=ginput
x =

   1.2610
   1.6950
   1.8489
   2.7804
   2.9885

y =

   0.44850
   0.53644
   0.30479
   0.21038
   0.51285

octave-3.2.4.exe:3> [x,y,but]=ginput(1)
x =  2.8754
y =  0.27262
but =  1

Robert Walton <bwalton>
Fri 04 Jun 2010 12:34:33 PM UTC, comment #3: 

I can confirm this on Windows XP/3.2.4.  Same exact error, except that it just freezes after showing the textual errors.

Jake <epy>
Sun 11 Apr 2010 12:28:21 AM UTC, comment #2: 

Indeed, it could be the Windows version. On my Ubuntu it works nicely.

The system was:

octave-3.2.2:14> ver
----------------------------------------------------------------------
GNU Octave Version 3.2.2
GNU Octave License: GNU General Public License
Operating System: Linux 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:04:26 UTC 2009 i686
----------------------------------------------------------------------
no packages installed.
octave-3.2.2:15> _gnuplot_version_
ans = 4.2.5


Anonymous
Mon 05 Apr 2010 05:57:22 PM UTC, comment #1: 

I cannot reproduce this bug on a recent tip running on debian sid with gnuplot 4.4.0

My best guess is that this is a windows specific bug, since in the current tip, the following error appears in the _gnuplot_ginput_:
"ginput: Need mkfifo that is not implemented under Windows".

Maybe we should flag this bug as "OS dependent"?


Shai Ayal <shaiay>
Sun 04 Apr 2010 12:34:41 PM UTC, original submission:  


> version

ans = 3.2.3

> _gnuplot_version_

ans = 4.3.0-2009-07-08CVS.0octave-mingw32

> plot((1:10).^2)
> [x, y, button] = ginput(1)

warning: implicit conversion from real matrix to real scalar
warning: implicit conversion from real matrix to real scalar
warning: implicit conversion from real matrix to real scalar
warning: implicit conversion from real matrix to real scalar
warning: implicit conversion from real matrix to real scalar
warning: implicit conversion from real matrix to real scalar

Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bpabbott (Posted a comment)
  • -email is unavailable- added by tmacchant (Posted a comment)
  • -email is unavailable- added by bwalton (Posted a comment)
  • -email is unavailable- added by epy (Posted a comment)
  • -email is unavailable- added by rik5 (Updated the item)
  • -email is unavailable- added by shaiay (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-09-17 bpabbott StatusWorks For Me Fixed
        Open/ClosedOpen Closed
    2010-09-28 rik5 Priority5 - Normal 3 - Low
        StatusNone Works For Me
    2010-04-23 rik5 Summaryginput does not return at all ginput does not return at all for MS Windows builds

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code