bugGNU Octave - Bugs: bug #49700, __have_gnuplot__ does not return...

 
 

bug #49700: __have_gnuplot__ does not return anything

Submitter:  Guillaume <gyom>
Submitted:  Fri 25 Nov 2016 01:37:58 PM UTC
   
 
Category:  Plotting with gnuplot Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Guillaume Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 28 Nov 2016 11:45:15 AM UTC, comment #3: 

Just to point out that I've got more insights on when this was happening: If I start a freshly compiled Octave with the GUI, _have_gnuplot_ behaves correctly, then I recompile in the background incorporating the new changes from dev and _have_gnuplot_ becomes a nohop. Nothing to worry I presume but I am reassured I was not dreaming.

Guillaume <gyom>
Fri 25 Nov 2016 04:54:21 PM UTC, comment #2: 

Complete mystery to me but I reran a freshly compiled Octave and this time _have_gnuplot_ returned something, as desired:


>> __have_gnuplot__ ()

ans = 1
>> H = __have_gnuplot__ ()

H = 1


Beforehand, I was observing this:


> __have_gnuplot__ ()
> H = __have_gnuplot__ ()
error: value on right hand side of assignment is undefined


No idea what the problem was but you can close this report for now. Sorry for the noise.

Guillaume <gyom>
Fri 25 Nov 2016 04:32:40 PM UTC, comment #1: 

Looking at the _have_gnuplot_ and have_gnuplot_binary functions in libinterp/dldfcn/__init_gnuplot__.cc, I don't see how it can ever return nothing.  If that's possible, I need more info to understand how it can happen.

John W. Eaton <jwe>
Group administrator
Fri 25 Nov 2016 01:37:58 PM UTC, original submission:  

It might not be an issue at all but I noticed that in file .build/libinterp/dldfcn/PKG_ADD there is a line:


if (__have_gnuplot__ ()) register_graphics_toolkit ("gnuplot"); endif


which returns an error as _have_gnuplot_ returns nothing.

Guillaume <gyom>

 

(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 mtmiller (Updated the item)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by gyom (Submitted the item)
  •  

    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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-11-25 mtmiller StatusNeed Info Invalid / Not an Octave Bug
        Open/ClosedOpen Closed
    2016-11-25 jwe StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code