Comment 3 for bug 259058

Revision history for this message
Sean (seanogdelaney) wrote : Re: [Bug 259058] Re: after using "toggle_plplot_use", octave fails to plat anything.

Apologies for the previous message cut short...

After I removed the code blocks referring to LOADPATH in
toggle_plplot_use.m, the warnings obviously stopped, but the plotting errors
were identical.

On Mon, Aug 18, 2008 at 5:09 PM, Sean Delaney <email address hidden>wrote:

> Yes, this is exactly the output I see when running toggle_plplot_use.m.
>
> I went through the plplot.m file and removed all of the code blocks
> relating to LOADPATH. These blocks occurred in the form of
>
> if (built-in LOADPATH exists)
>
>
>
> On Mon, Aug 18, 2008 at 3:30 PM, Aanjhan Ranganathan <
> <email address hidden>> wrote:
>
>> Thanks for the report and helping us make Ubuntu better. Could be a
>> packaging issue and the warnings generated while doing a
>> "toggle_plplot_use" could be of importance. Confirming the issue and
>> below are the warning verbatim.
>>
>> octave3.0:2> toggle_plplot_use
>> warning: You may want to call
>> warning("off","Octave:built-in-variable-assignment");
>> to prevent spurious warnings from the plplot code for compatability with
>> octave 2.0/2.1.
>>
>> warning: LOADPATH is no longer a built-in variable; please read the NEWS
>> file or type `news' for details
>> warning: LOADPATH is no longer a built-in variable; please read the NEWS
>> file or type `news' for details
>> warning: LOADPATH is no longer a built-in variable; please read the NEWS
>> file or type `news' for details
>> warning: LOADPATH is no longer a built-in variable; please read the NEWS
>> file or type `news' for details
>> Use PLplot: on
>>
>> ** Changed in: plplot (Ubuntu)
>> Status: New => Confirmed
>>
>> --
>> after using "toggle_plplot_use", octave fails to plat anything.
>> https://bugs.launchpad.net/bugs/259058
>> You received this bug notification because you are a direct subscriber
>> of the bug.
>>
>> Status in "plplot" source package in Ubuntu: Confirmed
>>
>> Bug description:
>> Binary package hint: octave-plplot
>>
>> I am running Ubuntu 8.04, octave 3.0 and I installed octave-plplot using
>> Synaptic Package Manager.
>> gnuplot works fine as the default plotting tool.
>>
>> At the octave command line I typed the command "toggle_plplot_use" to
>> enable plplot as the plotting package.
>> Some warnings were issued relating to the built-in variable LOADPATH, but
>> plplot was enabled.
>>
>> Now the command "plot(1:10)" should plot a straight line. No plot is
>> displayed. The following errors are shown:
>>
>> error: liblapack.so.3: cannot open shared object file: No such file or
>> directory
>> error: `plplot_octave' undefined near line 3163 column 1
>> error: called from `plsstrm'
>> error: evaluating if command near line 86, column 3
>> error: called from `figure' in file `/usr/share/plplot_octave/figure.m'
>> error: evaluating if command near line 19, column 3
>> error: called from `__pl_init' in file
>> `/usr/share/plplot_octave/support/__pl_init.m'
>> error: evaluating assignment expression near line 21, column 8
>> error: called from `__plt__' in file
>> `/usr/share/plplot_octave/support/__plt__.m'
>> error: called from `plot' in file `/usr/share/plplot_octave/plot.m'
>>
>>
>> Further details:
>> Ubuntu:
>> Description: Ubuntu 8.04.1
>> Release: 8.04
>>
>> plplot-octave:
>> Installed: 5.8.0-6
>> Candidate: 5.8.0-6
>> Version table:
>> *** 5.8.0-6 0
>> 500 http://ie.archive.ubuntu.com hardy/universe Packages
>> 100 /var/lib/dpkg/status
>>
>
>