Opened 15 years ago

Closed 14 years ago

#22651 closed defect (worksforme)

octave autoload fails when any package is installed.

Reported by: stevenshack@… Owned by: stechert@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc: anddam (Andrea D'Amore)
Port: octave octave-benchmark

Description (last modified by mf2k (Frank Schima))

With a fresh macports install running only "port install octave" then "port install octave-benchmark" octave fails to load correctly. commenting out the pkg ("load", "auto"); line from /opt/local/share/octave/3.2.3/m/startup/octaverc stops the error messages, but then packages are not loaded.

using port uninstall octave-benchmark does not remove error. macports is on snow leopard.

below is error message octave produces

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

HDF5-DIAG: Error detected in HDF5 (1.8.4) thread 0:
  #000: H5F.c line 810 in H5Fis_hdf5(): unable to open file
    major: Low-level I/O
    minor: Unable to initialize object
  #001: H5FD.c line 1079 in H5FD_open(): open failed
    major: Virtual File Layer
    minor: Unable to initialize object
  #002: H5FDsec2.c line 365 in H5FD_sec2_open(): unable to open file
    major: File accessability
    minor: Unable to open file
  #003: H5FDsec2.c line 365 in H5FD_sec2_open(): Permission denied
    major: Internal error (too specific to document in detail)
    minor: System error message
octave:1> 

Change History (5)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Cc: stechert@… and.damore@… added
Description: modified (diff)
Keywords: octave packages removed
Milestone: MacPorts 1.8.2
Owner: changed from macports-tickets@… to alakazam@…
Port: octave octave-benchmark added
Priority: HighNormal

comment:2 Changed 15 years ago by stevenshack@…

I should add, this error does not occur when octave is run as root. But it happens when any octave package is installed, and continues after all packages except octave are removed.

Is this some sort of permissions error? The HDF5 library(?) doesn't seem to provide useful debugging of this situation.

comment:3 Changed 15 years ago by alakazam@…

Owner: alakazam@… deleted

comment:4 Changed 14 years ago by anddam (Andrea D'Amore)

Cc: stechert@… removed
Owner: set to stechert@…

I've installed octave, then octave-benchmark, then I ran octave and this is my actual output:

bimac:~ $ port -v installed octave
The following ports are currently installed:
  octave @3.2.4_1+gcc44 (active) platform='darwin 10' archs='x86_64'
bimac:~ $ port -v installed octave-benchmark
The following ports are currently installed:
  octave-benchmark @1.1.1_0 (active) platform='darwin 10' archs='x86_64'
bimac:~ $ octave
GNU Octave, version 3.2.4
Copyright (C) 2009 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 "i386-apple-darwin10.4.0".

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

Report bugs to <bug@octave.org> (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).

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

octave:1> 
bimac:~ $ 

Can you reproduce the problem?

comment:5 Changed 14 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed

Closing as per comment:4.

Note: See TracTickets for help on using tickets.