bugGNU Octave - Bugs: bug #38372, Lots of warning messages when plot...

 
 

bug #38372: Lots of warning messages when plot with 3.7.2 version

Submitted by:  José Luis García Pallero <jgpallero>
Submitted on:  Fri 22 Feb 2013 11:06:45 AM UTC  
 
Category: Plotting with gnuplotSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Wed 27 Mar 2013 09:06:55 PM UTC, comment #12:

Now I have not graphic access to mu workstation, but I've tried to sincronize the repository and after hg pull+hg update I have had some problems with different versions of some files, one of them libgui/src/octave-adapter/octave-main-thread.cc that was changed in changeset 16350. The problem is that I'm not an expert in Mercurial and I don't know if I broke something. I can try to compile again next week

José Luis García Pallero <jgpallero>
Wed 27 Mar 2013 08:34:54 PM UTC, comment #11:

José, are you still seeing the message

at startup after Johns changeset 16350 six days ago?

Torsten <ttl>
Project Member
Fri 01 Mar 2013 08:48:12 PM UTC, comment #10:

Done in this changeset (http://hg.savannah.gnu.org/hgweb/octave/rev/8650eec57e9f). Marking bug as fixed and closing report.

Rik <rik5>
Project Administrator
Fri 01 Mar 2013 01:22:20 PM UTC, comment #9:

It works!

Thank you Rik for the patch. It can be added to the octave sources

José Luis García Pallero <jgpallero>
Thu 28 Feb 2013 07:36:43 PM UTC, comment #8:

Thanks for all the testing work you've done. I think we're getting close to a solution.

The GUI is the problem and I have a small patch (patch.setlocale) which I am attaching to this bug report. To test it, download it to the Octave source directory that you are building from and execute

And test whether plotting works. You shouldn't have to set any other locale variables such as LANG or LC_ALL.

(file #27549)

Rik <rik5>
Project Administrator
Thu 28 Feb 2013 12:30:50 PM UTC, comment #7:

Hello:

My system is Debian GNU/Linux Sid. GCC 4.7.2, QT 4.8.2, GraphicsMagick 1.3.16 and Java Openjdk-7 7u3-2.1.6

One question, how about is Java used?

Normal installation

Without GraphicsMagick

Without Java

In all cases when I run the GUI this message appears in the GUI command line

José Luis García Pallero <jgpallero>
Thu 28 Feb 2013 02:24:28 AM UTC, comment #6:

I know it is the locale setting, but figuring out why it is striking you alone is a bit difficult.

First, are you running the GUI or the command-line interface? I would try both with my guess being that the GUI will work.

Second, Do you have the Graphic Magick libraries installed? If so, can you configure Octave to build without them?

Third, the final place in the code that makes use of locales is Java. If you are compiling with Java, can you try it without?

Rik <rik5>
Project Administrator
Wed 27 Feb 2013 10:33:58 AM UTC, comment #5:

I've clone the repo (changeset 16135:98b211a163ce) and I've compiled it but the warnings remains:

José Luis García Pallero <jgpallero>
Tue 26 Feb 2013 04:56:11 PM UTC, comment #4:

I backed out a changeset which I believe was causing the problem. Can you get new sources from Mercurial (anything >= 16099:4b6c44096862) and re-build and re-test? If it works I will close this bug.

Rik <rik5>
Project Administrator
Fri 22 Feb 2013 06:20:02 PM UTC, comment #3:

Thanks. This is just what I expected. I know where the issue is, but I will need to bring it up on the Octave Maintainer's list to figure out best solution.

Rik <rik5>
Project Administrator
Fri 22 Feb 2013 05:23:22 PM UTC, comment #2:

My locale are configured as Spanish via the systemsettings application from KDE (but the LANG environment variable are not set).

I've set it to en_US.UTF-8 and now the plot works (no warnings appear, as previously). But now when I start ./run-octave appears this warnings:

With octave 3.6.x versions and prior I don't need to change the locales

Attached send the generated files via drawnow

(file #27503, file #27504)

José Luis García Pallero <jgpallero>
Fri 22 Feb 2013 05:02:10 PM UTC, comment #1:

This is interesting. It appears that in your locale the radix separator is ',' rather than '.'.

Can you try running the following:

Then exit Octave entirely and switch your LANG/LOCALE to something else.
The example below uses CSH format for setting environment variables. If you use a Bourne shell you will need to change that.

If the second test works can you upload both .gp files?

Rik <rik5>
Project Administrator
Fri 22 Feb 2013 11:06:45 AM UTC, original submission:

I have compiled the 3.7.2 version of octave. When I try to plot a simple figure as

plot(randn(2))

the plot is created but lots of warnings are emmited:

José Luis García Pallero <jgpallero>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #27549:  patch.setlocale added by rik5 (458B - application/octet-stream)
file #27503:  default_locale.gp added by jgpallero (56kB - application/x-gnuplot)
file #27504:  US_locale.gp added by jgpallero (56kB - application/x-gnuplot)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by ttl (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by jgpallero (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 01 Mar 2013 08:48:12 PM UTCrik5StatusIn Progress=>Fixed
      Open/ClosedOpen=>Closed
    Thu 28 Feb 2013 07:36:43 PM UTCrik5Attached File-=>Added patch.setlocale, #27549
    Tue 26 Feb 2013 04:56:11 PM UTCrik5StatusNeed Info=>In Progress
    Fri 22 Feb 2013 05:23:22 PM UTCjgpalleroAttached File-=>Added default_locale.gp, #27503
      Attached File-=>Added US_locale.gp, #27504
    Fri 22 Feb 2013 05:02:46 PM UTCrik5StatusNone=>Need Info
    Fri 22 Feb 2013 05:02:10 PM UTCrik5CategoryPlotting=>Plotting with gnuplot

    Back to the top


    Powered by Savane 3.1-cleanup