Hi Ramith,

Thank you for your reply .

I have made some modifications in pyXMl  and it is working fine .


I have file named as Test.py and below is the code in the file


from SOAPpy import WSDL

SecurityServerUrlTemplate = "http://
%s/SpinSecurity/SpinInfoExchange.asmx?WSDL"
secser1="Coputername"
url = SecurityServerUrlTemplate % secser1
server = WSDL.Proxy(url)
print "hello"

when am running  python2.6 Test.py , am getting below error :

xml.parsers.expat.ExpatError: not well-formed (invalid token): line 1,
column 5

But when am running with sudo python2.6 Test.py . it was running without
error .

Do you have any idea on this issue.

Regards,
Sreenu.



On Tue, Nov 20, 2012 at 11:59 PM, Prasad, Ramit
<ramit.pra...@jpmorgan.com>wrote:

> Sreenivasulu wrote:
> >
> > Hi,
> >
> > Am unable to install pyXML in Ubuntu usig python2.6
> >
> > Could you please help me
> >
> > Regards,
> > Sreenu
>
> Since you do not provide a link I am guessing you are referring
> to the very outdated package. You use the ElementTree class or the
> reputed third party module lxml. The ElementTree class is in the
> Python 2.6 standard library at xml.etree.ElementTree.ElementTree.
>
>
> You can try modifying the pyXML source (seems like a small change),
> but I do not recommend this approach.
> http://stackoverflow.com/questions/4953600/pyxml-on-ubuntu
>
>
> ~Ramit
>
>
>
>
> This email is confidential and subject to important disclaimers and
> conditions including on offers for the purchase or sale of
> securities, accuracy and completeness of information, viruses,
> confidentiality, legal privilege, and legal entity disclaimers,
> available at http://www.jpmorgan.com/pages/disclosures/email.
>
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to