bugGNU Octave - Bugs: bug #37918, invalid error "undefined near...

 
 

bug #37918: invalid error "undefined near line"

Submitted by:  None
Submitted on:  Thu 13 Dec 2012 09:11:46 PM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: InvalidAssigned to: None
Originator Name: Yuval LifshitzOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.6.2
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sun 16 Dec 2012 09:24:10 AM UTC, comment #4:

thanks. sent to the list.

(file #27105)

Anonymous
Fri 14 Dec 2012 01:52:09 PM UTC, comment #3:

Please take this to the help list.

Jordi GutiƩrrez Hermoso <jordigh>
Project Administrator
Fri 14 Dec 2012 08:39:12 AM UTC, comment #2:

because of the flakiness of the problem it is hard to reduce to simpler code. my files are attached in tgz file (attachment failed last time...). to execute it I run:
i would look deeper to see if there is a branch in which the variable is not defined, although it does not look like that.
regardless, since i re-run octave everytime i don't see how anything could be lest in the environment. also, in line 1 of min_estimation.m i call "clear all".
when the problem occurs, it persists in every run, until i change something in the file (anything, even an extra space somewhere).

Anonymous
Thu 13 Dec 2012 09:23:57 PM UTC, comment #1:

Can you please consult with the help list (help@octave.org) before deciding that this is a bug? And if you do discover a bug, please reduce it to a minimal example? And, of course, share the code that you think is producing this bug.

I am tentatively marking this bug as "invalid", since I suspect the problem is that you are defining the variable in a different code branch and the definition actually remains the second time you run the code since you are not clearing the workspace. It is difficult to know without even being able to see the code, however. If a bug actually exists, we can reopen this.

Jordi GutiƩrrez Hermoso <jordigh>
Project Administrator
Thu 13 Dec 2012 09:11:46 PM UTC, original submission:

got the following error code:
the variable that is reported to be undefined, is actually defined in line 363 of estimation_f.m
also note that by doing a small unrelated change to the file (for example adding an empty line) the problem goes away

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #27105:  rania1.tgz added by None (81KiB - application/x-compressed-tar)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jordigh (Posted a comment)
  • -unavailable- added by None (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 16 Dec 2012 09:24:10 AM UTCNoneAttached File-=>Added rania1.tgz, #27105
    Thu 13 Dec 2012 09:23:57 PM UTCjordighStatusNone=>Invalid
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1