| Summary: | gnotime 2.1.7 (masked) destroys 2.1.6 data | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Craig Lawson <craig.lawson> |
| Component: | New packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | major | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
lqx can you handle this ? |
On starting gnotime 2.1.7 (masked), an alert window professes: Cannot open the project data file /home/craig/.gnome2/gnotime.d/gnotime-data.xml Do you want to continue? [Yes] [No] If "Yes" is chosen, the existing and perfectly good data file is wiped clean. Reproducible: Always Steps to Reproduce: 1. Create some time entries with Gnotime 2.1.6 2. Upgrade to 2.1.7 3. Start up 2.1.7 Actual Results: Gnotime complains about "cannot open the project data file". Opens it's main window with no projects. Project data file is reduced in size to only 93 bytes. Expected Results: Gnotime should have read in my existing data and retained it rather than ignoring it. The problem seems to be with the ~/.gnome2/gnotime configuration rather than the ~/.gnome2/gnotime.d/gnotime-data.xml data file, but I did not narrow it down further than this. What I did: 1. Copy the gnotime-data.xml file to preserve the contents. 2. Start gnotime 2.1.7. It complains and cleans out the data file. 3. Quit gnotime. 4. Edit the new data file by copying the contents from the old file into the new one (seems like I could just replace the file, but that didn't work -- maybe it checks mod date?) 5. Restart gnotime -- all my data is back! Yeah! I noticed that ~/.gnome2/gnotime changed, but I did not back it up, so I don't know what changed. emerge info: Portage 2.0.49-r21 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.4.22-gentoo-r5) ================================================================= System uname: 2.4.22-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz Gentoo Base System version 1.4.3.10 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.seren.com/gentoo ftp://mirror.iawnet.sandia.gov/pub/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://mirror.tucdemonic.org/gentoo/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apm avi berkdb bonobo cdr crypt cups dga dvd dvdr emacs encode foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml guile imlib jack java jikes jpeg libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pda pdflib perl png ppds python quicktime readline scanner sdl slang spell sse ssl tcltk tcpd truetype usb videos x86 xml2 xmms xv zlib video_cards_radeon"