[grisbi-bugs] [Grisbi-0.6.0 0000689]: Amounts modified after saving

bugtracker at grisbi.org bugtracker at grisbi.org
Sun Nov 15 22:24:39 CET 2009


The following issue requires your FEEDBACK. 
====================================================================== 
http://grisbi.tuxfamily.org/mantis/view.php?id=689 
====================================================================== 
Reported By:                carcam
Assigned To:                guneeyoufix
====================================================================== 
Project:                    Grisbi-0.6.0
Issue ID:                   689
Category:                   Main
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Plateforme:                 Linux 
OS:                         Debian 
Version OS:                 Squeeze 
Unstable Impact:            Yes 
Version GTK:                 
====================================================================== 
Date Submitted:             10-20-2009 08:31 UTC
Last Modified:              11-15-2009 21:24 UTC
====================================================================== 
Summary:                    Amounts modified after saving
Description: 
After saving any file, and reopening it, the amounts get confused with the
dots and the colons.

That is, in the Grisbi file if I have an amount of Am="100,00", after
saving it, it gets Am="100.00", and when I open the file with Grisbi I get
1000,00 for that specific transaction.
====================================================================== 

---------------------------------------------------------------------- 
 guneeyoufix - 10-21-09 10:01  
---------------------------------------------------------------------- 
Very wierd and definitely worth looking into.
Any ideas on how to reproduce? Could you send an example file illustrating
the problem?

Très bizarre et ça vaudrait le coup d'y jeter un oeil.
Quelles manipulations pour reproduire le bug ? Pourriez-vous envoyer un
fichier d'exemple illustrant le problème? 

---------------------------------------------------------------------- 
 carcam - 10-21-09 10:08  
---------------------------------------------------------------------- 
I have been doing some research, and it seems to be related to my
particular locales configuration.

On Windows I have solved the issue setting the LC_MONETARY to EUR, and I
will try change my Debian configuration too, because it has been doing
weird things since the beginning.

The point is that I take a CVS snapshot once a week, and this issue has
been happening only in the last month.

As soon as I confirmed the locale problem I will close the issue. Sorry
for the inconveniences. 

---------------------------------------------------------------------- 
 guneeyoufix - 10-21-09 10:24  
---------------------------------------------------------------------- 
No problem and thanks for the quick feedback.

I indeed did some changes on how the locale is used in grisbi.

For Windows, I'd recommend using "official" locale values. These are the
official ISO 639-2 three letter language/country codes.
Pick the one you need there:
http://www.loc.gov/standards/iso639-2/php/code_list.php 

---------------------------------------------------------------------- 
 carcam - 10-22-09 09:11  
---------------------------------------------------------------------- 
After testing on my Debian Squeeze, The amounts keep changing. My Locales
are:

LANG=es_ES.UTF-8
LANGUAGE=es_ES.UTF-8
LC_CTYPE="es_ES.UTF-8"
LC_NUMERIC="es_ES.UTF-8"
LC_TIME="es_ES.UTF-8"
LC_COLLATE="es_ES.UTF-8"
LC_MONETARY="es_ES.UTF-8"
LC_MESSAGES="es_ES.UTF-8"
LC_PAPER="es_ES.UTF-8"
LC_NAME="es_ES.UTF-8"
LC_ADDRESS="es_ES.UTF-8"
LC_TELEPHONE="es_ES.UTF-8"
LC_MEASUREMENT="es_ES.UTF-8"
LC_IDENTIFICATION="es_ES.UTF-8"
LC_ALL=es_ES.UTF-8

Any idea? 

---------------------------------------------------------------------- 
 guneeyoufix - 11-15-09 21:24  
---------------------------------------------------------------------- 
Could you try again with grisbi 0.6.0 beta 3?
Some packaged for Debian experimental should be available on the
repositories. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-20-09 08:31  carcam         New Issue                                    
10-20-09 08:31  carcam         OS                        => Debian          
10-20-09 08:31  carcam         Unstable Impact           => Yes             
10-20-09 08:31  carcam         Version OS                => Squeeze         
10-21-09 10:01  guneeyoufix    Note Added: 0001232                          
10-21-09 10:01  guneeyoufix    Status                   new => feedback     
10-21-09 10:08  carcam         Note Added: 0001233                          
10-21-09 10:14  guneeyoufix    Status                   feedback => assigned
10-21-09 10:14  guneeyoufix    Assigned To               => guneeyoufix     
10-21-09 10:24  guneeyoufix    Note Added: 0001235                          
10-22-09 09:11  carcam         Note Added: 0001241                          
10-27-09 20:15  pbiava         Project                  Grisbi => Grisbi-0.6.0
11-15-09 21:24  guneeyoufix    Plateforme                => Linux           
11-15-09 21:24  guneeyoufix    Note Added: 0001297                          
11-15-09 21:24  guneeyoufix    Status                   assigned => feedback
======================================================================



More information about the bugsreports mailing list