[Eric] bug in eric4
Hans-Peter Jansen
hpj at urpla.net
Thu Feb 1 13:55:36 GMT 2007
[Please keep discussion on the list]
Am Donnerstag, 1. Februar 2007 schrieb Flavio Coelho:
> Thanks,
>
> I later found out that the problem were the accented characters in my
> name. So I just removed those characters and the problem was gone.
> I hope in the next snapshot this patch is applied.
Please note, that this patch is for an external project, outside the scope
of this one (other than eric depends it)..
> flavio
>
> On 2/1/07, Hans-Peter Jansen <hpj at urpla.net> wrote:
> > Am Donnerstag, 1. Februar 2007 schrieb Flavio Coelho:
> > > hi,
> > >
> > > I have created a project, but when I save it, close eric, and later
> > > try to open the same project,
> > >
> > > I get this error message:
> > >
> > > Fatal Error
> > > /home/flavio/Documents/Projetos/Knowledge/Knowledge.e4p
> > > Line: 41, Column: 5
> > > Character data not allowed outside root element
> > >
> > > I must say that this is a problem I have on eric 3.9.4 too, Only my
> > > older projects, created with older versions of eric, open correctly.
> >
> > Read the doc, there's a README dedicated to this PyXML bug. Here's
> > the diff, which is unfortunately missing in the doc:
> >
> > --- xml/parsers/xmlproc/xmlutils.py.orig 2006-11-13 11:30:
> > 07.768059659 +0100
> > +++ xml/parsers/xmlproc/xmlutils.py 2006-11-13
> > 11:30:38.871925067+0100 @@ -720,6 +720,7 @@ class
> > XMLCommonParser(EntityParser):
> > # to the recoding.
> > try:
> > self.data = self.charset_converter(self.data)
> > + self.datasize = len(self.data)
> > except UnicodeError, e:
> > self._handle_decoding_error(self.data, e)
> > self.input_encoding = enc1
> >
> >
> > Pete
> > _______________________________________________
> > Eric mailing list
> > Eric at riverbankcomputing.com
> > http://www.riverbankcomputing.com/mailman/listinfo/eric
More information about the Eric
mailing list