Comment 30 for bug 482748

Revision history for this message
Peter Clifton (pcjc2) wrote :

TEST CASE:

Try the following to reproduce the bug:

Download data.out attached to this bug report, as test-data.

You need to install the correct locale support. If you haven't got fr_CA, do this:

echo fr_CA.UTF-8 UTF-8 | sudo tee /var/lib/locales/supported.d/fr_CA_test
sudo locale-gen

Run gwave with:

LC_NUMERIC=fr_CA.UTF-8 gwave data.out

From the list of waveforms window, drag the V(Out) @ tbl1=0 item onto the drawing area of the main window.
This alreay shows the bug.. there is just one data-stream in that file, V(Out)

With the bug, it will not display correctly (correct display screenshot attached in this bug). Incorrect display shows two lines.

Without the bug, the only data-stream in the file is V(Out). Dragging it to the main window causes a plot with many cycles of waveform.

Remove the test locale (if you added one) with:

sudo rm /var/lib/locales/supported.d/fr_CA_test
sudo locale-gen --purge

(NB: --purge will remove all existing system locales, then re-add the ones which configuration files remain for. This was fine on my machine, but could potentially cause issues if your locale config files are in a mess!)