I have a temporary workaround for this bug.

Entering these two commands before running any scripts acts as a
workaround for me:

   addpath (genpath('/usr/share/octave/site/api-v22/m/octave2.9-forge/'));
   addpath (genpath('/usr/share/octave/2.9.12/'));

I tested imread, imagesc, and some other functions.  The reason for the
second addpath is because the first addpath obscures some functions
provided by the second addpath.  For example, drawnow exists in two
locations:

    /usr/share/octave/site/api-v22/m/octave2.9-forge/plot/drawnow.m
        (this drawnow is really an empty file and therefore bad)
    /usr/share/octave/2.9.12/m/plot/drawnow.m
        (this is the drawnow that we actually want)

I was unable to reproduce the imread('3x3.png') error mentioned above,
and I was able to successfully use imread to read an image and imagesc
to then display the image.

-- 
octave2.9-forge don't works in Gutsy!
https://bugs.launchpad.net/bugs/157050
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to