gnue
[Top][All Lists]
Advanced

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

Re: [GNUe] gnue-navigator


From: Christophe Vigny
Subject: Re: [GNUe] gnue-navigator
Date: Thu, 08 Apr 2004 10:05:20 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.6) Gecko/20040113

Hi all,
in fact the problem is in the url parsing , if u provide a hostname by ip or no domain extension like localhost or
127.0.0.1  or myhost it don't work.
but when u provide a full qualified hostanme (with a valide domain) it work perfectly in the form interpreter and in
the navigator location.

Can someone correct the parameter parsing, using  python urlparse for exemple, or tell me where it is so I correct.

thanks

James Thompson wrote:
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
    


_______________________________________________
Gnue mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/gnue


  


"Ce message et toutes les pièces jointes sont des informations strictement confidentielles et réservées au(x) destinataire(s). Ce courriel n'a pas de valeur contractuelle et son contenu ne constitue ni une acceptation, ni un engagement de la part de l'auteur et des sociétés du groupe Serveur et Artprice, sauf dans le cas où cela aurait été prévu avec le destinataire par un accord écrit. Le contenu de ce message et les pièces jointes ne peuvent constituer une preuve au sens de l'article 1316-1 du Code Civil. L.auteur et les sociétés du groupe Serveur et Artprice déclinent toute responsabilité au titre de ce courriel s'il a été altéré, déformé, falsifié ou indûment utilisé par des tiers ou encore s'il a causé tout dommage ou perte de toute nature. Si vous n'êtes pas le bon destinataire, merci de nous contacter et de ne pas le divulguer."

"This message including any attachments are confidential and privileged material intended solely for the addressees. Its contents do not constitute a commitment by groupe Serveur sas and Artprice SA, except when provided for in a written agreement with the addressees. The contents of this message cannot constitute neither the proof nor the acceptance of any agreement as per article 1316-1 of the French civil code. Groupe Serveur sas and Artprice SA shall not be rendered liable in any manner whatsoever for the delay and/or loss in transit of this message, for corruption, alteration, falsification, misuse or fraudulent use (which may be made) of this message. If you receive this message in error, please delete it and immediately notify the sender. If the reader of this message is not the intended recipient, you are hereby notified that any unauthorized use, copying or dissemination is prohibited."

reply via email to

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