gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GNUe] gnue-navigator


From: James Thompson
Subject: Re: [GNUe] gnue-navigator
Date: Wed, 7 Apr 2004 12:59:42 -0500
User-agent: KMail/1.6.1

Nothing is wrong w/ the xml.  It seems to give that error when the URL 
provided can't load.  I replaced http://localhost/zipcode.gfd with a valid 
path to my webserver and it worked.  I replaced my webserver name with a 
hostname that doesn't provide web services and can get the exact same error.

Don't have time at the moment to dig deeper :(

Take Care,
James


On Wednesday 07 April 2004 12:20 pm, Jason Cater wrote:
> I'm not entirely sure what is wrong with that snippet, but the error is
> saying that expat thinks the XML is improperly formatted.
>
> Any one else see why expat would think that? I'm not in XML-mode today.
>
> -- Jason
>
> On Wednesday 07 April 2004 11:38 am, Christophe Vigny wrote:
> > realy :
> >
> >     <step type="form" location="http://localhost/zipcode.gfd";
> >           title="ZipCode">
> >       <description>
> >         <![CDATA[
> >           <B>Form Description 1:</B><p>
> >           Launches the somewhere.gfd form.<p>
> >           <hr>
> >           <font size="-2">
> >           This form doesn't exist in the GNUe Navigator distro so
> > selecting this entry does nothing.  It is simply a place holder.
> >           </font>
> >         ]]>
> >       </description>
> >     </step>
> >
> > and
> >
> > c:\sourcesafe\python\gnue\gnue-navigator\samples>gn sample.gpd
> > DB000: Traceback (most recent call last):
> > DB000:   File "C:\Python22\Lib\site-packages\gnue\navigator\UIwx.py",
> > line 189, in OnTreeItemActivat
> > ed
> > DB000:     object.run()
> > DB000:   File
> > "C:\Python22\Lib\site-packages\gnue\navigator\GNObjects.py", line 174,
> > in run
> > DB000:     self._controller._clientHandlers[self.type](self)
> > DB000:   File "C:\Python22\Lib\site-packages\gnue\navigator\UIwx.py",
> > line 240, in runForm
> > DB000:     self._runForm(formfile, parameters)
> > DB000:   File "C:\Python22\Lib\site-packages\gnue\navigator\UIwx.py",
> > line 261, in _runForm
> > DB000:     instance.addFormFromFile(formfile)
> > DB000:   File "C:\Python22\Lib\site-packages\gnue\forms\GFInstance.py",
> > line 221, in addFormFromFile
> >
> > DB000:     self.addFormFromFilehandle(fileHandle)
> > DB000:   File "C:\Python22\Lib\site-packages\gnue\forms\GFInstance.py",
> > line 243, in addFormFromFile
> > handle
> > DB000:     form = loadFile (fileHandle, self, initialize=0)
> > DB000:   File "C:\Python22\Lib\site-packages\gnue\forms\GFParser.py",
> > line 68, in loadFile
> > DB000:     initialize, attributes={"_instance": instance,
> > DB000:   File
> > "C:\Python22\Lib\site-packages\gnue\common\definitions\GParser.py", line
> > 108, in loadX
> > MLObject
> > DB000:     parser.parse(stream)
> > DB000:   File
> > "C:\Python22\Lib\site-packages\_xmlplus\sax\expatreader.py", line 107,
> > in parse
> > DB000:     xmlreader.IncrementalParser.parse(self, source)
> > DB000:   File "C:\Python22\Lib\site-packages\_xmlplus\sax\xmlreader.py",
> > line 123, in parse
> > DB000:     self.feed(buffer)
> > DB000:   File
> > "C:\Python22\Lib\site-packages\_xmlplus\sax\expatreader.py", line 211,
> > in feed
> > DB000:     self._err_handler.fatalError(exc)
> > DB000:   File "C:\Python22\Lib\site-packages\_xmlplus\sax\handler.py",
> > line 38, in fatalError
> > DB000:     raise exception
> > DB000: xml.sax._exceptions.SAXParseException: <unknown>:1:49: syntax
> > error
> >
> > another one :
> >
> > c:\sourcesafe\python\gnue\gnue-navigator\samples>gf
> > http://localhost/zipcode.gfd
> > DB000: Traceback (most recent call last):
> > DB000:   File "c:\python22\scripts\gnue-forms", line 35, in ?
> > DB000:     client.run ()
> > DB000:   File "C:\Python22\Lib\site-packages\gnue\forms\GFClient.py",
> > line 168, in run
> > DB000:     instance.addFormFromFile(formfile)
> > DB000:   File "C:\Python22\Lib\site-packages\gnue\forms\GFInstance.py",
> > line 221, in addFormFromFile
> >
> > DB000:     self.addFormFromFilehandle(fileHandle)
> > DB000:   File "C:\Python22\Lib\site-packages\gnue\forms\GFInstance.py",
> > line 243, in addFormFromFile
> > handle
> > DB000:     form = loadFile (fileHandle, self, initialize=0)
> > DB000:   File "C:\Python22\Lib\site-packages\gnue\forms\GFParser.py",
> > line 68, in loadFile
> > DB000:     initialize, attributes={"_instance": instance,
> > DB000:   File
> > "C:\Python22\Lib\site-packages\gnue\common\definitions\GParser.py", line
> > 108, in loadX
> > MLObject
> > DB000:     parser.parse(stream)
> > DB000:   File
> > "C:\Python22\Lib\site-packages\_xmlplus\sax\expatreader.py", line 107,
> > in parse
> > DB000:     xmlreader.IncrementalParser.parse(self, source)
> > DB000:   File "C:\Python22\Lib\site-packages\_xmlplus\sax\xmlreader.py",
> > line 123, in parse
> > DB000:     self.feed(buffer)
> > DB000:   File
> > "C:\Python22\Lib\site-packages\_xmlplus\sax\expatreader.py", line 211,
> > in feed
> > DB000:     self._err_handler.fatalError(exc)
> > DB000:   File "C:\Python22\Lib\site-packages\_xmlplus\sax\handler.py",
> > line 38, in fatalError
> > DB000:     raise exception
> > DB000: xml.sax._exceptions.SAXParseException: <unknown>:1:49: syntax
> > error
> >
> > just a bug ?
>
> _______________________________________________
> Gnue mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/gnue




reply via email to

[Prev in Thread] Current Thread [Next in Thread]