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

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

[Octave-bug-tracker] [bug #57348] statistics package fails installation


From: anonymous
Subject: [Octave-bug-tracker] [bug #57348] statistics package fails installation because of a parse error in linkage.m
Date: Tue, 3 Dec 2019 08:07:43 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0

URL:
  <https://savannah.gnu.org/bugs/?57348>

                 Summary: statistics package fails installation because of a
parse error in linkage.m
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Tue 03 Dec 2019 01:07:41 PM UTC
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Installation Failure
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

I'm working with the current dev version as of last week, and uninstalled my
statistics package (for a different error). Then I wanted to reinstall it but
all I get is a parse error in linkage.m:


>> pkg install -forge statistics
warning: doc_cache_create: unusable help text found in file 'gmdistribution'
warning: called from
    doc_cache_create>handle_function at line 91 column 5
    doc_cache_create>create_cache at line 111 column 36
    gen_doc_cache_in_dir>@<anonymous> at line 143 column 16
    doc_cache_create>gen_doc_cache_in_dir at line 144 column 9
    doc_cache_create at line 55 column 12
    install>generate_lookfor_cache at line 809 column 5
    install at line 228 column 7
    pkg at line 475 column 9

error: parse error near line 110 of file
/home/IT/jzimmer/octave/statistics-1.4.1/linkage.m

  invalid use of operator = in anonymous function

>>>                 (@(x,i,j,w) sum(diag(q=w([i,j]))*x)/sum(q))  # average
                                          ^
error: called from
    doc_cache_create>create_cache at line 109 column 20
    gen_doc_cache_in_dir>@<anonymous> at line 143 column 16
    doc_cache_create>gen_doc_cache_in_dir at line 144 column 9
    doc_cache_create at line 55 column 12
    install>generate_lookfor_cache at line 809 column 5
    install at line 228 column 7
    pkg at line 475 column 9


Some additional info on this
* this line in linkage.m also exists in a couple of previous versions of
statistics
* I also can't install any of the previous statistics versions
* I do have an octaverc-file to load at startup but the statistics package is
not in that file
* I also tried this on a Linux machine with the current dev version, only the
io package installed and no octaverc-file - leads to the same error
* I have access to Octave 5.1 running on a Windows 10 machine - I can install
the package on there with no error message (checked with statistics-1.4.0 and
statistics-1.4.1)
* with Octave 5.1, 'test linkage' leads to 12 out of 12 passed tests, so the
parser can clearly interpret that line after all 

The versions on the machines are the following: 

ver
----------------------------------------------------------------------
GNU Octave Version: 6.0.0 (hg id: 7ae72862b542)
GNU Octave License: GNU General Public License
Operating System: Linux 5.0.0-36-generic #39~18.04.1-Ubuntu SMP Tue Nov 12
11:09:50 UTC2019 x86_64
----------------------------------------------------------------------
Package Name  | Version | Installation directory
--------------+---------+-----------------------
     control *|   3.2.0 | /home/IT/jzimmer/octave/control-3.2.0
       image *|  2.10.0 | /home/IT/jzimmer/octave/image-2.10.0
          io *|  2.4.13 | /home/IT/jzimmer/octave/io-2.4.13
       optim *|   1.5.2 | /home/IT/jzimmer/octave/optim-1.5.2
      signal *|   1.4.1 | /home/IT/jzimmer/octave/signal-1.4.1
      struct *|  1.0.16 | /home/IT/jzimmer/octave/struct-1.0.16



ver
----------------------------------------------------------------------
GNU Octave Version: 5.1.0 (hg id: d05d6eebde10)
GNU Octave License: GNU General Public License
Operating System: MINGW32_NT-6.2 Windows 6.2  x86_64
----------------------------------------------------------------------
Package Name         | Version | Installation directory
---------------------+---------+-----------------------
     communications  |   1.2.1 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\communications-1.2.1
            control *|   3.1.0 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\control-3.1.0
     data-smoothing  |   1.3.0 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\data-smoothing-1.3.0
           database  |   2.4.3 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\database-2.4.3
          dataframe  |   1.2.0 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\dataframe-1.2.0
              dicom  |   0.2.1 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\dicom-0.2.1
          financial  |   0.5.3 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\financial-0.5.3
               fits  |   1.0.7 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\fits-1.0.7
fuzzy-logic-toolkit  |   0.4.5 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\fuzzy-logic-toolkit-0.4.5
                 ga  |  0.10.0 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\ga-0.10.0
            general  |   2.1.0 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\general-2.1.0
      generate_html  |   0.3.1 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\generate_html-0.3.1
           geometry  |   3.0.0 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\geometry-3.0.0
                gsl  |   2.1.1 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\gsl-2.1.1
              image *|  2.10.0 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\image-2.10.0
 instrument-control  |   0.3.1 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\instrument-control-0.3.1
           interval  |   3.2.0 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\interval-3.2.0
                 io *|  2.4.12 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\io-2.4.12
     linear-algebra  |   2.2.2 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\linear-algebra-2.2.2
               lssa  |   0.1.3 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\lssa-0.1.3
              ltfat  |   2.3.1 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\ltfat-2.3.1
            mapping  |   1.2.1 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\mapping-1.2.1
      miscellaneous  |   1.2.1 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\miscellaneous-1.2.1
                nan  |   3.1.4 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\nan-3.1.4
             netcdf  |  1.0.12 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\netcdf-1.0.12
              nurbs  |  1.3.13 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\nurbs-1.3.13
                ocs  |   0.1.5 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\ocs-0.1.5
             odepkg  |   0.9.1 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\odepkg-0.9.1
              optim *|   1.5.3 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\optim-1.5.3
        optiminterp  |   0.3.5 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\optiminterp-0.3.5
         quaternion  |   2.4.0 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\quaternion-2.4.0
           queueing  |   1.2.6 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\queueing-1.2.6
             signal *|   1.4.0 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\signal-1.4.0
            sockets  |   1.2.0 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\sockets-1.2.0
          sparsersb  |   1.0.6 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\sparsersb-1.0.6
            specfun  |   1.1.0 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\specfun-1.1.0
            splines  |   1.3.2 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\splines-1.3.2
         statistics *|   1.4.1 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\statistics-1.4.1
                stk  |   2.5.1 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\stk-2.5.1
            strings  |   1.2.0 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\strings-1.2.0
             struct *|  1.0.15 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\struct-1.0.15
             tisean  |   0.2.3 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\tisean-0.2.3
                tsa  |   4.4.5 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\tsa-4.4.5
              video  |   1.2.4 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\video-1.2.4
            windows  |   1.3.0 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\windows-1.3.0
             zeromq  |   1.3.0 |
C:\Octave\OCTAVE~1.0\mingw64\share\octave\packages\zeromq-1.3.0 


... and with the dev version of back in late September / October it used to
work. 




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57348>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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