Your message dated Fri, 21 Jan 2005 22:02:47 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#291632: fixed in gnucash 1.8.10-3
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 21 Jan 2005 23:22:39 +0000
>From [EMAIL PROTECTED] Fri Jan 21 15:22:39 2005
Return-path: <[EMAIL PROTECTED]>
Received: from f05s05.cac.psu.edu (f05n05.cac.psu.edu) [128.118.141.48]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1Cs86x-0007L1-00; Fri, 21 Jan 2005 15:22:39 -0800
Received: from jester.burrows.local (pool-207-68-120-192.alt.east.verizon.net
[207.68.120.192])
(authenticated bits=0)
by f05n05.cac.psu.edu (8.13.2/8.13.2) with ESMTP id j0LNMTfC028860
(version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT)
for <[EMAIL PROTECTED]>; Fri, 21 Jan 2005 18:22:37 -0500
From: Daniel Burrows <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Destroys backup files by default with little sanity checking
Date: Fri, 21 Jan 2005 18:19:24 -0500
User-Agent: KMail/1.7.1
MIME-Version: 1.0
Content-Type: multipart/signed;
boundary="nextPart1308038.xUQko6vjNI";
protocol="application/pgp-signature";
micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
--nextPart1308038.xUQko6vjNI
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Package: gnucash
Version: 1.8.9-4
Severity: grave
I'm sitting here watching a (likely futile) attempt to restore two months=
'=20
worth of lost information for a user. While it's likely that nothing can g=
et=20
the data back, I finally think I figured out what happened and how the data=
=20
was lost. I think the sequence of events is quite likely to occur in the=20
hands of a user. (in fact, I myself would probably only have avoided it by=
=20
accident)
Here's the deal: when you save a gnucash file, it creates a backup file=20
that's indexed by the date on which it was saved. This backup is very usef=
ul=20
in the event that you have a program crash or make a serious blunder with t=
he=20
interface. In early November, the user in question did just this: she load=
ed=20
a backup of her "Accounts" file due to some sort of problem with the progra=
m. =20
However, this resulted in the *backup* file being used as the new default=20
save file and as gnucash's default file to load on startup. "Accounts"=20
remained frozen in a state from about November 3.
All was well until she asked me for help with importing some old Quicken=
=20
data, earlier today. After importing the data into a separate file, I (not=
=20
knowing that she was using the backup file) innocently opened the file=20
"Accounts". Apparently, either this or saving the file Accounts (not sure=
=20
which) triggered GNUCash's "helpful" backup-purger, which immediately wiped=
=20
out both her main accounts file and all of her recent backups. We were lef=
t=20
only with Accounts (the November 3rd edition, remember); two months' worth =
of=20
data entry went down the drain without my knowing.
Now, I understand why this functionality might be useful, but it seems fa=
r=20
too easy to destroy data with it at the moment. I suggest that, at the ver=
y=20
least, several more sanity checks be incorporated. For instance, only dele=
te=20
a file if:
(A) there are at least X newer backups *by mtime* of the main file, AND
(B) the file in question is at least Y days old *by mtime*, AND
(C) the current sanity checks (that it looks like a GNUcash backup file w=
ith=20
timestamp >Y days ago) apply, where the timestamp takes the LAST date in th=
e=20
filename when multiple dates are available.
(A) makes sure that some backups are always available if you screw up; (B=
)=20
makes sure that GNUcash isn't mislead by confusing filenames (such as=20
Accounts.200411060911.xac.200501201015.xac). At the very least, the=20
modification of (C) should be made so that the ill effects of filenames lik=
e=20
the one above are limited.
Without some tightening of the criteria, I think the backup-purging shoul=
d=20
be disabled by default, as it's way too easy to unexpectedly lose data righ=
t=20
now.
Daniel
=2D- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-2-686
Locale: LANG=3Den_US, LC_CTYPE=3Den_US (charmap=3DISO-8859-1) (ignored: LC_=
ALL set=20
to en_US)
Versions of packages gnucash depends on:
ii bonobo 1.0.22-2.2 The GNOME Bonobo System.
ii gdk-imlib1 1.9.14-16.2 imaging library for use with g=
tk=20
(
ii gnucash-common 1.8.9-4 A personal finance tracking=20
progra
ii guile-1.6-libs 1.6.7-1 Main Guile libraries
ii guile-1.6-slib 1.6.7-1 Guile SLIB support
ii libart2 1.4.2-19 The GNOME canvas widget - runt=
ime=20
ii libaudiofile0 0.2.6-5 Open-source version of SGI's=20
audio
ii libbonobo2 1.0.22-2.2 The GNOME Bonobo library.
ii libc6 2.3.2.ds1-20 GNU C Library: Shared librarie=
s=20
an
ii libdate-manip-perl 5.42a-2 a perl library for manipulatin=
g=20
da
ii libdb3 3.2.9-20 Berkeley v3 Database Libraries=
=20
[ru
ii libesd0 0.2.35-2 Enlightened Sound Daemon - Sha=
red=20
ii libfinance-quote-perl 1.08-1 Perl module for retrieving sto=
ck=20
q
ii libfreetype6 2.1.7-2.3 FreeType 2 font engine, shared=
=20
lib
ii libgal23 0.24-1.4 G App Libs (run time library)
ii libgdk-pixbuf-gnome2 0.22.0-7 The GNOME1 Canvas pixbuf libra=
ry
ii libgdk-pixbuf2 0.22.0-7 The GdkPixBuf image library, g=
tk+=20
ii libghttp1 1.0.9-15 original GNOME HTTP client=20
library
ii libglade-gnome0 1:0.17-3 Library to load .glade files a=
t=20
ru
ii libglade0 1:0.17-3 Library to load .glade files a=
t=20
ru
ii libglib1.2 1.2.10-9 The GLib library of C routines
ii libgnome32 1.4.2-19 The GNOME libraries
ii libgnomeprint15 0.37-5 The GNOME Print architecture -=
=20
run
ii libgnomesupport0 1.4.2-19 The GNOME libraries (Support=20
libra
ii libgnomeui32 1.4.2-19 The GNOME libraries (User=20
Interfac
ii libgtk1.2 1.2.10-17 The GIMP Toolkit set of widget=
s=20
fo
ii libgtkhtml20 1.0.4-6.2 HTML rendering/editing library=
-=20
r
ii libguile-ltdl-1 1.6.7-1 Guile's patched version of=20
libtool
ii libguppi16 0.40.3-11 GNOME graph and plot component
ii libgwrapguile1 1.3.4-12 g-wrap: Tool for exporting C=20
libra
ii libice6 4.3.0.dfsg.1-10 Inter-Client Exchange library
ii libltdl3 1.5.6-3 A system independent dlopen=20
wrappe
ii liboaf0 0.6.10-3 The GNOME Object Activation=20
=46ramew
ii libofx0c102 1:0.6.6-3 library to support Open Financ=
ial=20
ii liborbit0 0.5.17-9 Libraries for ORBit - a CORBA =
ORB
ii libpopt0 1.7-5 lib for parsing cmdline=20
parameters
ii libqthreads-12 1.6.7-1 QuickThreads library for Guile
ii libsm6 4.3.0.dfsg.1-10 X Window System Session=20
Management
ii libstdc++5 1:3.3.5-6 The GNU Standard C++ Library v3
ii libx11-6 4.3.0.dfsg.1-10 X Window System protocol clien=
t=20
li
ii libxext6 4.3.0.dfsg.1-10 X Window System miscellaneous=
=20
exte
ii libxi6 4.3.0.dfsg.1-10 X Window System Input extensio=
n=20
li
ii libxml1 1:1.8.17-10 GNOME XML library
ii libzvt2 1.4.2-19 The GNOME zvt (zterm) widget
ii oaf 0.6.10-3 The GNOME Object Activation=20
=46ramew
ii slib 3a1-4.2 Portable Scheme library
ii xlibs 4.3.0.dfsg.1-10 X Keyboard Extension (XKB)=20
configu
ii zlib1g 1:1.2.2-4 compression library - runtime
=2D- no debconf information
=2D-=20
/----------------- Daniel Burrows <[EMAIL PROTECTED]> ----------------=
=2D\
| I used to be indecisive, but now I'm not sure. =
|
\--------------------- A duck! -- http://www.python.org -------------------=
=2D/
--nextPart1308038.xUQko6vjNI
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQBB8Y4Dch6xsM7kSXgRAlfMAJ9p0K2tvJRGnNMVwyxLi6ink/X0GQCfWYOd
jkspUmCnrcy/Ca8+PZOK14M=
=Y9e9
-----END PGP SIGNATURE-----
--nextPart1308038.xUQko6vjNI--
---------------------------------------
Received: (at 291632-close) by bugs.debian.org; 22 Jan 2005 03:06:24 +0000
>From [EMAIL PROTECTED] Fri Jan 21 19:06:24 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1CsBbU-0007uf-00; Fri, 21 Jan 2005 19:06:24 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
id 1CsBXz-0006IN-00; Fri, 21 Jan 2005 22:02:47 -0500
From: [EMAIL PROTECTED] (Thomas Bushnell, BSG)
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#291632: fixed in gnucash 1.8.10-3
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Fri, 21 Jan 2005 22:02:47 -0500
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
Source: gnucash
Source-Version: 1.8.10-3
We believe that the bug you reported is fixed in the latest version of
gnucash, which is due to be installed in the Debian FTP archive:
gnucash-common_1.8.10-3_all.deb
to pool/main/g/gnucash/gnucash-common_1.8.10-3_all.deb
gnucash_1.8.10-3.diff.gz
to pool/main/g/gnucash/gnucash_1.8.10-3.diff.gz
gnucash_1.8.10-3.dsc
to pool/main/g/gnucash/gnucash_1.8.10-3.dsc
gnucash_1.8.10-3_powerpc.deb
to pool/main/g/gnucash/gnucash_1.8.10-3_powerpc.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 PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Thomas Bushnell, BSG <[EMAIL PROTECTED]> (supplier of updated gnucash 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 PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Fri, 21 Jan 2005 18:12:23 -0800
Source: gnucash
Binary: gnucash-common gnucash
Architecture: source powerpc all
Version: 1.8.10-3
Distribution: unstable
Urgency: high
Maintainer: Thomas Bushnell, BSG <[EMAIL PROTECTED]>
Changed-By: Thomas Bushnell, BSG <[EMAIL PROTECTED]>
Description:
gnucash - A personal finance tracking program
gnucash-common - A personal finance tracking program
Closes: 291632
Changes:
gnucash (1.8.10-3) unstable; urgency=high
.
* src/backend/file/gnc-backend-file.c (gnc_file_be_remove_old_files):
Before pruning an old backup file, make sure that the filename is
really BASE.DATE.xac instead of just BASE.DATE.ANYTHING. (Closes:
#291632).
Files:
8393d4dd06ba9e2948652559cddab2e6 1000 gnome extra gnucash_1.8.10-3.dsc
92fddfacd1e1617aa90117f159e11791 449195 gnome extra gnucash_1.8.10-3.diff.gz
3cf3d8311142f688133edce101e3c9e6 2894652 gnome extra
gnucash-common_1.8.10-3_all.deb
8811e8819feaac550ad093f8d1d4d675 1350652 gnome extra
gnucash_1.8.10-3_powerpc.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFB8b7vqMsB9b6fcOoRApiyAKC1NxOsYthwU7JCDyL9+Kx9kfskuQCfZxG6
k+sKMRX4dgsx+m8XSvbdBes=
=8abh
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]