gnumeric: Silent data loss when saving in a directory with iso8859-1 name

Bug #12058 reported by Debian Bug Importer
8
Affects Status Importance Assigned to Milestone
gnumeric (Debian)
Fix Released
Unknown
gnumeric (Ubuntu)
Fix Released
High
Sebastien Bacher

Bug Description

Automatically imported from Debian bug report #291265 http://bugs.debian.org/291265

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #291265 http://bugs.debian.org/291265

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (3.6 KiB)

Message-Id: <E1CrKuJ-0000pJ-7J@simone>
Date: Wed, 19 Jan 2005 19:50:19 +0100
From: Nicolas Boulenguez <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: gnumeric: Silent data loss when saving in a directory with iso8859-1 name

Package: gnumeric
Version: 1.4.1-1
Severity: critical
Justification: causes serious data loss

Hello.

Save a file, say "Book1.gnumeric", in a directory named "=E9". In the
window dedicated to "save", it is named "\351" (iso8859-1, octal) in
the saving dialog. Nothing seems unusual, I heard that gnome uses
UTF8. Except the file has a size of 0, and the data is lost.

It does not lose data, but it seems related:
- The same works correctly if I create the directory with gnumeric (it
uses an unicode filename, with ugly two-letters results).
- Loading a file with an "=E9" in its name crashes gnumeric.

Maybe it is not worth the mess, because UTF8 is the future and few
users use the command line and gnumeric. But a "save your data
elsewhere" message would be nice.

PS: Do not cry for my data, I printed before s(h)aving them
accidently.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.9.20041229
Locale: LANG=3Dfr_FR@euro, LC_CTYPE=3Dfr_FR@euro (charmap=3DISO-8859-15)

Versions of packages gnumeric depends on:
ii gconf2 2.8.1-4 GNOME configuration database=
 syste
ii gnumeric-common 1.4.1-1 Common files for Gnumeric, t=
he GNO
ii gsfonts 8.14+v8.11-0.1 Fonts for the Ghostscript in=
terpre
ii libart-2.0-2 2.3.16-6 Library of functions for 2D =
graphi
ii libatk1.0-0 1.8.0-4 The ATK accessibility toolki=
t
ii libbonobo2-0 2.8.0-4 Bonobo CORBA interfaces libr=
ary
ii libbonoboui2-0 2.8.0-2 The Bonobo UI library
ii libc6 2.3.2.ds1-20 GNU C Library: Shared librar=
ies an
ii libgconf2-4 2.8.1-4 GNOME configuration database=
 syste
ii libglade2-0 1:2.4.1-1 Library to load .glade files=
 at ru
ii libglib2.0-0 2.4.8-1 The GLib library of C routin=
es
ii libgnome2-0 2.8.0-6 The GNOME 2 library - runtim=
e file
ii libgnomecanvas2-0 2.8.0-1 A powerful object-oriented d=
isplay
ii libgnomeprint2.2-0 2.8.2-1 The GNOME 2.2 print architec=
ture -
ii libgnomeprintui2.2-0 2.8.1-1 The GNOME 2.2 print architec=
ture U
ii libgnomeui-0 2.8.0-3 The GNOME 2 libraries (User =
Interf
ii libgnomevfs2-0 2.8.3-8 The GNOME virtual file-syste=
m libr
ii libgsf-1 1.11.1-1 Structured File Library - ru=
ntime=20
ii libgsf-gnome-1 1.11.1-1 Structured File Library - ru=
ntime=20
ii libgtk2.0-0 2.4.14-2 The GTK+ graphical user inte=
rface=20
ii libice6 4.3.0.dfsg.1-10 Inter-Client Exchange librar=
y
ii liborbit2 1:2.10.2-1.1 libraries for ORBit2 - a COR=
BA ORB
ii libpango1.0-0 1.6.0-3 ...

Read more...

Revision history for this message
In , J.H.M. Dassen (Ray) (jdassen) wrote : Re: Bug#291265: gnumeric: Silent data loss when saving in a directory with iso8859-1 name

# The data loss is limited to the file being operated upon. This problem
# does not affect other gnumeric files nor the filesystem as a whole. As
# such, it is "data loss" rather than "serious data loss" in my book.
severity 291265 grave
tags 291265 + confirmed upstream
thanks
--
Javascript is EVIL!
 keyweed

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Thu, 20 Jan 2005 06:37:20 +0100
From: "J.H.M. Dassen (Ray)" <email address hidden>
To: <email address hidden>
Subject: Re: Bug#291265: gnumeric: Silent data loss when saving in a directory with iso8859-1 name

# The data loss is limited to the file being operated upon. This problem
# does not affect other gnumeric files nor the filesystem as a whole. As
# such, it is "data loss" rather than "serious data loss" in my book.
severity 291265 grave
tags 291265 + confirmed upstream
thanks
--
Javascript is EVIL!
 keyweed

Revision history for this message
In , J.H.M. Dassen (Ray) (jdassen) wrote : tag

tags 291265 + sarge sid
thanks
--
Pinky, Are You Pondering What I'm Pondering?
Ewww, I think so Brain, but I think I'd rather eat the Macarena.
 Pinky and the Brain in "Plan Brain From Outer Space"

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sat, 22 Jan 2005 08:54:01 +0100
From: "J.H.M. Dassen (Ray)" <email address hidden>
To: <email address hidden>
Subject: tag

tags 291265 + sarge sid
thanks
--
Pinky, Are You Pondering What I'm Pondering?
Ewww, I think so Brain, but I think I'd rather eat the Macarena.
 Pinky and the Brain in "Plan Brain From Outer Space"

Revision history for this message
In , J.H.M. Dassen (Ray) (jdassen) wrote : Patched

# I've committed a patch to upstream CVS (both HEAD and gnumeric-1-4 branch)
# to address this. When upstream's feedback to this patch is positive, I'll
# update the Debian packages.
tags 291265 + fixed-upstream patch
retitle 291265 [Fixed in CVS] Silent data loss when saving in a directory with iso8859-1 name
thanks
--
"But if you look carefully at their [Microsoft's] encryption algorithm, they
simply XOR the password with 'susageP', Pegasus spelled backwards. Pegasus
is the code name of Windows CE. This is so pathetic it's staggering."
 Bruce Schneier in http://www.counterpane.com/crypto-gram-9911.html

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sat, 22 Jan 2005 23:22:28 +0100
From: "J.H.M. Dassen (Ray)" <email address hidden>
To: <email address hidden>
Cc: <email address hidden>
Subject: Patched

# I've committed a patch to upstream CVS (both HEAD and gnumeric-1-4 branch)
# to address this. When upstream's feedback to this patch is positive, I'll
# update the Debian packages.
tags 291265 + fixed-upstream patch
retitle 291265 [Fixed in CVS] Silent data loss when saving in a directory with iso8859-1 name
thanks
--
"But if you look carefully at their [Microsoft's] encryption algorithm, they
simply XOR the password with 'susageP', Pegasus spelled backwards. Pegasus
is the code name of Windows CE. This is so pathetic it's staggering."
 Bruce Schneier in http://www.counterpane.com/crypto-gram-9911.html

Revision history for this message
In , J.H.M. Dassen (Ray) (jdassen) wrote : Bug#291265: fixed in gnumeric 1.4.2-2

Source: gnumeric
Source-Version: 1.4.2-2

We believe that the bug you reported is fixed in the latest version of
gnumeric, which is due to be installed in the Debian FTP archive:

gnumeric-common_1.4.2-2_all.deb
  to pool/main/g/gnumeric/gnumeric-common_1.4.2-2_all.deb
gnumeric-doc_1.4.2-2_all.deb
  to pool/main/g/gnumeric/gnumeric-doc_1.4.2-2_all.deb
gnumeric-plugins-extra_1.4.2-2_i386.deb
  to pool/main/g/gnumeric/gnumeric-plugins-extra_1.4.2-2_i386.deb
gnumeric_1.4.2-2.diff.gz
  to pool/main/g/gnumeric/gnumeric_1.4.2-2.diff.gz
gnumeric_1.4.2-2.dsc
  to pool/main/g/gnumeric/gnumeric_1.4.2-2.dsc
gnumeric_1.4.2-2_i386.deb
  to pool/main/g/gnumeric/gnumeric_1.4.2-2_i386.deb

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
J.H.M. Dassen (Ray) <email address hidden> (supplier of updated gnumeric package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 23 Jan 2005 16:06:53 +0100
Source: gnumeric
Binary: gnumeric-doc gnumeric-common gnumeric gnumeric-plugins-extra
Architecture: source i386 all
Version: 1.4.2-2
Distribution: unstable
Urgency: high
Maintainer: J.H.M. Dassen (Ray) <email address hidden>
Changed-By: J.H.M. Dassen (Ray) <email address hidden>
Description:
 gnumeric - GNOME spreadsheet application
 gnumeric-common - common files for Gnumeric, the GNOME spreadsheet application
 gnumeric-doc - documentation for Gnumeric, the GNOME spreadsheet application
 gnumeric-plugins-extra - additional plugins for the GNOME spreadsheet
Closes: 291265
Changes:
 gnumeric (1.4.2-2) unstable; urgency=high
 .
   * Backported fixes and improvements from CVS gnumeric-1-4 branch:
     * [src/file.c] (gnm_file_saver_save) Produce an error when no proper UTF-8
       filename was produced. (Closes: #291265)
     * [po/pt_BR.po] Updated Brazilian Portuguese translation.
Files:
 3aee484a53aa3bf1b2fdef1fa791112a 1292 math optional gnumeric_1.4.2-2.dsc
 3ff06aba772248966403a0422be58d8e 32138 math optional gnumeric_1.4.2-2.diff.gz
 a6d639999a17e677f029857714eee555 4417112 math optional gnumeric-common_1.4.2-2_all.deb
 0ff97ec06c7ba71eb0f121bdd7ce2b9c 4151150 doc optional gnumeric-doc_1.4.2-2_all.deb
 99a8e2d2fc4d5f5a656cd7b710b97526 3827474 math optional gnumeric_1.4.2-2_i386.deb
 5e23650846049d53d2dd6023386dbafe 111604 math optional gnumeric-plugins-extra_1.4.2-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFB88s8A+HB2Re6Rc4RApDYAKDFeN0wC1tEXr8RCH32cGa0RX+dvgCeIThh
Rq2fz4DKtYgz6hSgeCVQZTk=
=L2/V
-----END PGP SIGNATURE-----

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Sun, 23 Jan 2005 11:17:44 -0500
From: <email address hidden> (J.H.M. Dassen (Ray))
To: <email address hidden>
Subject: Bug#291265: fixed in gnumeric 1.4.2-2

Source: gnumeric
Source-Version: 1.4.2-2

We believe that the bug you reported is fixed in the latest version of
gnumeric, which is due to be installed in the Debian FTP archive:

gnumeric-common_1.4.2-2_all.deb
  to pool/main/g/gnumeric/gnumeric-common_1.4.2-2_all.deb
gnumeric-doc_1.4.2-2_all.deb
  to pool/main/g/gnumeric/gnumeric-doc_1.4.2-2_all.deb
gnumeric-plugins-extra_1.4.2-2_i386.deb
  to pool/main/g/gnumeric/gnumeric-plugins-extra_1.4.2-2_i386.deb
gnumeric_1.4.2-2.diff.gz
  to pool/main/g/gnumeric/gnumeric_1.4.2-2.diff.gz
gnumeric_1.4.2-2.dsc
  to pool/main/g/gnumeric/gnumeric_1.4.2-2.dsc
gnumeric_1.4.2-2_i386.deb
  to pool/main/g/gnumeric/gnumeric_1.4.2-2_i386.deb

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
J.H.M. Dassen (Ray) <email address hidden> (supplier of updated gnumeric package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 23 Jan 2005 16:06:53 +0100
Source: gnumeric
Binary: gnumeric-doc gnumeric-common gnumeric gnumeric-plugins-extra
Architecture: source i386 all
Version: 1.4.2-2
Distribution: unstable
Urgency: high
Maintainer: J.H.M. Dassen (Ray) <email address hidden>
Changed-By: J.H.M. Dassen (Ray) <email address hidden>
Description:
 gnumeric - GNOME spreadsheet application
 gnumeric-common - common files for Gnumeric, the GNOME spreadsheet application
 gnumeric-doc - documentation for Gnumeric, the GNOME spreadsheet application
 gnumeric-plugins-extra - additional plugins for the GNOME spreadsheet
Closes: 291265
Changes:
 gnumeric (1.4.2-2) unstable; urgency=high
 .
   * Backported fixes and improvements from CVS gnumeric-1-4 branch:
     * [src/file.c] (gnm_file_saver_save) Produce an error when no proper UTF-8
       filename was produced. (Closes: #291265)
     * [po/pt_BR.po] Updated Brazilian Portuguese translation.
Files:
 3aee484a53aa3bf1b2fdef1fa791112a 1292 math optional gnumeric_1.4.2-2.dsc
 3ff06aba772248966403a0422be58d8e 32138 math optional gnumeric_1.4.2-2.diff.gz
 a6d639999a17e677f029857714eee555 4417112 math optional gnumeric-common_1.4.2-2_all.deb
 0ff97ec06c7ba71eb0f121bdd7ce2b9c 4151150 doc optional gnumeric-doc_1.4.2-2_all.deb
 99a8e2d2fc4d5f5a656cd7b710b97526 3827474 math optional gnumeric_1.4.2-2_i386.deb
 5e23650846049d53d2dd6023386dbafe 111604 math optional gnumeric-plugins-extra_1.4.2-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFB88s8A+HB2Re6Rc4RApDYAKDFeN0wC1tEXr8RCH32cGa0RX+dvgCeIThh
Rq2fz4DKtYgz6hSgeCVQZTk=
=L2/V
-----END PGP SIGNATURE-----

Revision history for this message
Matt Zimmerman (mdz) wrote :

Should we merge the new Debian revision?

Revision history for this message
Sebastien Bacher (seb128) wrote :

right, I've fixed that with this upload:

 gnumeric (1.4.2-1ubuntu3) hoary; urgency=low
 .
   * Bug fix merge from debian:
     [src/file.c] (gnm_file_saver_save) Produce an error when no proper UTF-8
     filename was produced. (Hoary: #5661).

Changed in gnumeric:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.