installing packages

View: New views
4 Messages — Rating Filter:   Alert me  

installing packages

by David Woodburn :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I keep getting the following error when installing certain pkgs:
octave-3.2.0:27> pkg install multicore-0.2.15.tar.gz
A(I): Index exceeds matrix dimension.
error: called from `pkg>install' in file /Applications/Octave.app/Contents/Resources/share/octave/3.2.0/m/pkg/pkg.m near line 613, column 12
error: called from:
error:   /Applications/Octave.app/Contents/Resources/share/octave/3.2.0/m/pkg/pkg.m at line 658, column 5
error:   /Applications/Octave.app/Contents/Resources/share/octave/3.2.0/m/pkg/pkg.m at line 287, column 7
However, I have been able to install other packages, so I know I have enough for general package installation.

David Woodburn

_______________________________________________
Bug-octave mailing list
Bug-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/bug-octave

Re: installing packages

by Thomas Treichl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

David Woodburn schrieb:

> I keep getting the following error when installing certain pkgs:
>
>     octave-3.2.0:27> pkg install multicore-0.2.15.tar.gz
>     A(I): Index exceeds matrix dimension.
>     error: called from `pkg>install' in file
>     /Applications/Octave.app/Contents/Resources/share/octave/3.2.0/m/pkg/pkg.m
>     near line 613, column 12
>     error: called from:
>     error:  
>     /Applications/Octave.app/Contents/Resources/share/octave/3.2.0/m/pkg/pkg.m
>     at line 658, column 5
>     error:  
>     /Applications/Octave.app/Contents/Resources/share/octave/3.2.0/m/pkg/pkg.m
>     at line 287, column 7
>
> However, I have been able to install other packages, so I know I have
> enough for general package installation.
>
> David Woodburn

Hi David,

I can't reproduce the problem - here is what I see on a i386 10.4.x MacOSX system:

   octave-3.2.0:1> pkg install -verbose multicore-0.2.15.tar.gz
   mkdir (/var/tmp/oct-ieH2sJ)
   untar (multicore-0.2.15.tar.gz, /var/tmp/oct-ieH2sJ)
   mkoctfile --mex existfile.c
   copyfile /var/tmp/oct-ieH2sJ/multicore-0.2.15/src/existfile.mex
   /var/tmp/oct-ieH2sJ/multicore-0.2.15/inst/i386-apple-darwin8.11.1-api-v37
   octave-3.2.0:2> pkg list
   Package Name  | Version | Installation directory
   --------------+---------+-----------------------
      multicore *|  0.2.15 | .../Resources/share/octave/packages/multicore-0.2.15

Can you try to use the '-verbose' flag - maybe we can just see something else
that is going wrong?

   Thomas
_______________________________________________
Bug-octave mailing list
Bug-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/bug-octave

Re: installing packages

by Jeremy Reynolds :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I get the same error with a different package. This is on a 13" macbook running OS 10.5.7. Here's my verbose output:

octave-3.2.0:1> pkg install -verbose io-1.0.9.tar.gz
mkdir (/tmp/oct-qjmRJ8)
untar (io-1.0.9.tar.gz, /tmp/oct-qjmRJ8)
A(I): Index exceeds matrix dimension.
error: called from `pkg>install' in file /Applications/Octave.app/Contents/Resources/share/octave/3.2.0/m/pkg/pkg.m near line 613, column 12
error: called from:
error:   /Applications/Octave.app/Contents/Resources/share/octave/3.2.0/m/pkg/pkg.m at line 658, column 5
error:   /Applications/Octave.app/Contents/Resources/share/octave/3.2.0/m/pkg/pkg.m at line 287, column 7





Thomas Treichl wrote:
David Woodburn schrieb:
> I keep getting the following error when installing certain pkgs:
>
>     octave-3.2.0:27> pkg install multicore-0.2.15.tar.gz
>     A(I): Index exceeds matrix dimension.
>     error: called from `pkg>install' in file
>     /Applications/Octave.app/Contents/Resources/share/octave/3.2.0/m/pkg/pkg.m
>     near line 613, column 12
>     error: called from:
>     error:  
>     /Applications/Octave.app/Contents/Resources/share/octave/3.2.0/m/pkg/pkg.m
>     at line 658, column 5
>     error:  
>     /Applications/Octave.app/Contents/Resources/share/octave/3.2.0/m/pkg/pkg.m
>     at line 287, column 7
>
> However, I have been able to install other packages, so I know I have
> enough for general package installation.
>
> David Woodburn

Hi David,

I can't reproduce the problem - here is what I see on a i386 10.4.x MacOSX system:

   octave-3.2.0:1> pkg install -verbose multicore-0.2.15.tar.gz
   mkdir (/var/tmp/oct-ieH2sJ)
   untar (multicore-0.2.15.tar.gz, /var/tmp/oct-ieH2sJ)
   mkoctfile --mex existfile.c
   copyfile /var/tmp/oct-ieH2sJ/multicore-0.2.15/src/existfile.mex
   /var/tmp/oct-ieH2sJ/multicore-0.2.15/inst/i386-apple-darwin8.11.1-api-v37
   octave-3.2.0:2> pkg list
   Package Name  | Version | Installation directory
   --------------+---------+-----------------------
      multicore *|  0.2.15 | .../Resources/share/octave/packages/multicore-0.2.15

Can you try to use the '-verbose' flag - maybe we can just see something else
that is going wrong?

   Thomas
_______________________________________________
Bug-octave mailing list
Bug-octave@octave.org
https://www-old.cae.wisc.edu/mailman/listinfo/bug-octave

Re: installing packages

by Jeremy Reynolds :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

A little more digging revealed that my issue was with a bad tar file.


I get the same error with a different package. This is on a 13" macbook running OS 10.5.7. Here's my verbose output:

octave-3.2.0:1> pkg install -verbose io-1.0.9.tar.gz
mkdir (/tmp/oct-qjmRJ8)
untar (io-1.0.9.tar.gz, /tmp/oct-qjmRJ8)
A(I): Index exceeds matrix dimension.
error: called from `pkg>install' in file /Applications/Octave.app/Contents/Resources/share/octave/3.2.0/m/pkg/pkg.m near line 613, column 12
error: called from:
error:   /Applications/Octave.app/Contents/Resources/share/octave/3.2.0/m/pkg/pkg.m at line 658, column 5
error:   /Applications/Octave.app/Contents/Resources/share/octave/3.2.0/m/pkg/pkg.m at line 287, column 7





Thomas Treichl wrote:
David Woodburn schrieb:
> I keep getting the following error when installing certain pkgs:
>
>     octave-3.2.0:27> pkg install multicore-0.2.15.tar.gz
>     A(I): Index exceeds matrix dimension.
>     error: called from `pkg>install' in file
>     /Applications/Octave.app/Contents/Resources/share/octave/3.2.0/m/pkg/pkg.m
>     near line 613, column 12
>     error: called from:
>     error:  
>     /Applications/Octave.app/Contents/Resources/share/octave/3.2.0/m/pkg/pkg.m
>     at line 658, column 5
>     error:  
>     /Applications/Octave.app/Contents/Resources/share/octave/3.2.0/m/pkg/pkg.m
>     at line 287, column 7
>
> However, I have been able to install other packages, so I know I have
> enough for general package installation.
>
> David Woodburn

Hi David,

I can't reproduce the problem - here is what I see on a i386 10.4.x MacOSX system:

   octave-3.2.0:1> pkg install -verbose multicore-0.2.15.tar.gz
   mkdir (/var/tmp/oct-ieH2sJ)
   untar (multicore-0.2.15.tar.gz, /var/tmp/oct-ieH2sJ)
   mkoctfile --mex existfile.c
   copyfile /var/tmp/oct-ieH2sJ/multicore-0.2.15/src/existfile.mex
   /var/tmp/oct-ieH2sJ/multicore-0.2.15/inst/i386-apple-darwin8.11.1-api-v37
   octave-3.2.0:2> pkg list
   Package Name  | Version | Installation directory
   --------------+---------+-----------------------
      multicore *|  0.2.15 | .../Resources/share/octave/packages/multicore-0.2.15

Can you try to use the '-verbose' flag - maybe we can just see something else
that is going wrong?

   Thomas
_______________________________________________
Bug-octave mailing list
Bug-octave@octave.org
https://www-old.cae.wisc.edu/mailman/listinfo/bug-octave