Hey Leon,

You forgot to CC the gramps-bugs list. I'm doing it for you.

~Brian

----- Original Message ----
From: Leon Mintz <leon.mintz@gmail.com>
To: brian@gramps-project.org
Sent: Tuesday, November 6, 2007 3:04:24 AM
Subject: Re: [Gramps-bugs] bug report

OK I remeber now... I think...
It was like this: whenever I proceeded to fill a bug report, the file was 0KB, but when I pressed "Cancel" in the error message, the data was OK. (I'm talking about the error message when closing a modified file).

Thanks,
Leon.

On 11/6/07, Brian Matherly <brian@gramps-project.org> wrote:
Using Windows with Gramps 2.2.9: I opened the file,
modified it, and when I closed it, there was an error.
When I tried to reopen it, Gramps told me it was
corrupt - but it opened it anyway. Most of the data
still appears to be there.

~Brian


--- Benny Malengier <benny.malengier@gmail.com> wrote:

> Brian,
>
> can you confirm this behavior with the xml bug on
> windows? That is, that it
> destroys the xml file (open file, do edit, try to
> save). In that case,
> should we make this bug critical instead, or do we
> stick with the 'windows
> is not officially supported' line?
>
> Leon,
>
> This bug is present in 2.2.9 as apparently little
> people use GRAMPS in this
> way, so nobody tested that.
>
> Really stupid actually...
> Should you need the xml edit, the development branch
> works, as does
> reverting to 2.2.8.
>
> Benny
>
> 2007/11/5, Leon Mintz <leon.mintz@gmail.com>:
> >
> >
> >
> > On 11/5/07, Benny Malengier
> <benny.malengier@gmail.com> wrote:
> > >
> > > Benny
> > >
> > > Version 2.2.9 has a bug making it impossible to
> directly edit xml files.
> > > You should hence not edit xml files, instead,
> you should make a grdb file
> > > and import the xml, which has always been the
> recommed way of working.
> > > However, that bug does not cause the file to be
> empty on linux
> > > afterwards ....
> >
> >
> > It becomes empty  on the windows machine, not
> linux.
> >
> > In general, working with xml files is not data
> save, use grdb, and export
> > > to xml when finished.
> >
> >
> > That's how I used to do it.
> >
> > Does the import of the backup work?
> >
> >
> > Yes, it was the last resort but I see now that
> this is actually the way it
> > works...
> >
> > Benny
> >
> >
> > Thanks!
> >
> > 2007/11/2, Leon Mintz < leon.mintz@gmail.com>:
> > > >
> > > >  User Information:
> > > > ===================
> > > >
> > > > I have opened a file with the windows version,
> which was created in
> > > > the linux version.
> > > > After exiting the program, recieved the error.
> > > > As a result, my database file is completly
> empty (0KB), and the
> > > > .backup.gramps file fails to open, with the
> following error:
> > > > Error reading C:\Family.backup.gramps. The
> file is probably either
> > > > corrupt or not a valid GRAMPS database.
> > > >
> > > >
> > > > Error Details:
> > > > ===================
> > > >
> > > > 2451375: ERROR: gramps.py: line 148: Unhandled
> exception
> > > > Traceback (most recent call last):
> > > >   File "C:\Program
> Files\gramps\ViewManager.py", line 492, in quit
> > > >     self.state.db.close()
> > > >   File "C:\Program
> Files\gramps\GrampsDb\_GrampsXMLDB.py", line 76, in
> > > > close
> > > >     quick_write(self, self.full_name)
> > > >   File "C:\Program
> Files\gramps\GrampsDb\_WriteXML.py", line 111, in
> > > > quick_write
> > > >     g.write(filename)
> > > >   File "C:\Program
> Files\gramps\GrampsDb\_WriteXML.py", line 178, in
> > > > write
> > > >     self.write_xml_data()
> > > >   File "C:\Program
> Files\gramps\GrampsDb\_WriteXML.py", line 278, in
> > > > write_xml_data
> > > >     self.write_family(family,2)
> > > >   File "C:\Program
> Files\gramps\GrampsDb\_WriteXML.py", line 453, in
> > > > write_family
> > > >     fhandle = family.get_father_handle()
> > > > AttributeError: 'NoneType' object has no
> attribute 'get_father_handle'
> > > >
> > > >
> > > > System Information:
> > > > ===================
> > > >
> > > > Python version: 2.5.1 (r251:54863, Apr 18
> 2007, 08:51:08) [MSC v.131032 bit (Intel)]
> > > > BSDDB version: 4.4.5.2
> > > > Gramps version: 2.2.9-1
> > > > LANG:
> > > > OS: win32
> > > > Distribution:
> > > >
> > > >
> > > >
> > > >
>
-------------------------------------------------------------------------
> > > > This SF.net email is sponsored by: Splunk Inc.
> > > > Still grepping through log files to find
> problems?  Stop.
> > > > Now Search log events and configuration files
> using AJAX and a
> > > > browser.
> > > > Download your FREE copy of Splunk now >>
> http://get.splunk.com/
> > > >
> _______________________________________________
> > > > Gramps-bugs mailing list
> > > > Gramps-bugs@lists.sourceforge.net
> > > >
>
https://lists.sourceforge.net/lists/listinfo/gramps-bugs
> > > >
> > > >
> > >
> >
>