octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #37918] invalid error "undefined near line"


From: anonymous
Subject: [Octave-bug-tracker] [bug #37918] invalid error "undefined near line"
Date: Thu, 13 Dec 2012 21:11:47 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.4 (KHTML, like Gecko) Ubuntu/12.10 Chromium/22.0.1229.94 Chrome/22.0.1229.94 Safari/537.4

URL:
  <http://savannah.gnu.org/bugs/?37918>

                 Summary: invalid error "undefined near line"
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Thu 13 Dec 2012 09:11:46 PM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: Yuval Lifshitz
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.2
        Operating System: GNU/Linux

    _______________________________________________________

Details:

got the following error code:

address@hidden:~/dev/economics/rania$ octave min_estimation.m 
GNU Octave, version 3.6.2
Copyright (C) 2012 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type `warranty'.

Octave was configured for "x86_64-pc-linux-gnu".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html

Read http://www.octave.org/bugs.html to learn how to submit bug reports.

For information about changes from previous versions, type `news'.

warning: function /usr/share/octave/packages/statistics-1.1.3/fstat.m shadows
a core library function
loading file: init_parameters.txt
22:54:40: loading files...
loading file: husbands.out
loading file: wives.out
loading moments files: wage_moments.txt, marr_fer_moments.txt,
general_moments.txt
22:54:40: initializing random shocks...
22:55:05: now running (test) parameters...
error: `ability_w_index' undefined near line 547 column 85
error: evaluating argument list element number 6
error: called from:
error:   /home/yuval/dev/economics/rania/estimation_f.m at line 546, column 7
error:   /home/yuval/dev/economics/rania/minestimation_test.m at line 5,
column 6
error:   /home/yuval/dev/economics/rania/min_estimation.m at line 39, column
11

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




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?37918>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]