bugGNU Octave - Bugs: bug #48739, box(b)

 
 

bug #48739: box(b)

Submitted by:  Ernst Reissner <ernstreissner>
Submitted on:  Tue 09 Aug 2016 08:42:42 PM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: Works For MeAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Wed 10 Aug 2016 02:31:07 PM UTC, comment #4:

ah, no box(b) makes the problem, not javaObject.
Without prior load all is ok.

Ernst Reissner <ernstreissner>
Wed 10 Aug 2016 02:27:47 PM UTC, comment #3:

Then this works for me, maybe this was broken by a local change you are working on?

Mike Miller <mtmiller>
Project Administrator
Wed 10 Aug 2016 11:54:19 AM UTC, comment #2:

Yes, oct = javaObject("org.octave.Octave") works, with or without the call to System.load()
The bug occurs also without this.

box is not related at all.
b is undefined.

The lines i tried are with a new started octave
with octave --no-gui

Ernst Reissner <ernstreissner>
Wed 10 Aug 2016 01:05:28 AM UTC, comment #1:

I am not sure how to understand this bug report.

  • oct = javaObject("org.octave.Octave") works, with or without the call to System.load()
  • box is a plotting function, how does that relate to this?
  • what is b?
  • what is it that you are trying to do in a larger context?
Mike Miller <mtmiller>
Project Administrator
Tue 09 Aug 2016 08:42:42 PM UTC, original submission:

try
javaMethod('load','java.lang.System','/home/ernst/Octave/octave/.build/libinterp/.libs/liboctinterp.so.3.0.0');oct = javaObject('org.octave.Octave')

or something pointing to liboctinterp.
then type box(b)

and find

error: 'nargin' undefined near line 36 column 7
error: scope not found!
terminate called after throwing an instance of 'octave_execution_exception'
panic: Aborted -- stopping myself...
attempting to save variables to 'octave-workspace'...
save to 'octave-workspace' complete
Aborted

Ernst Reissner <ernstreissner>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by ernstreissner (Submitted the item)
  • -unavailable- added by ernstreissner
  •  

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

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 10 Aug 2016 02:27:47 PM UTCmtmillerStatusNeed Info=>Works For Me
      Open/ClosedOpen=>Closed
    Wed 10 Aug 2016 01:05:28 AM UTCmtmillerCategoryNone=>Octave Function
      StatusNone=>Need Info
    Tue 09 Aug 2016 08:42:42 PM UTCernstreissnerCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1