[Tutor] ImportError: 'DLL load failed: %1 is not a valid Win32 application.'

2013-10-11 Thread Sreenivasulu
Hi,

I have windows 8 64 bit machine  and installed python 2.7.3  64 bit version
.

i have 32 bit package 4Suite-XML-1.0.24Suite-XML-1.0.2.win32.exe  package
but am getting below error :

Python 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)]
on win32
Type help, copyright, credits or license for more information.
  from Ft.Xml.Lib.XmlString import SplitQName

ImportError: 'DLL load failed: %1 is not a valid Win32 application.'

Please help me how to run win32 modules in 64 bit .

Thanks  Regards,
SReeni.
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] pyXML i Python2.6

2012-11-30 Thread Sreenivasulu
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.comwrote:

 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


[Tutor] pyXML i Python2.6

2012-11-19 Thread Sreenivasulu
Hi,

Am unable to install pyXML in Ubuntu usig python2.6

Could you please help me

Regards,
Sreenu
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor