You Are Here:

Community: Developer Discussion Boards

Reply « Previous Thread | Next Thread »

#16 Old Re: Help in porting Pyexpat for 3rd edition - 2008-03-22, 05:53

Join Date: Jul 2005
Posts: 66
Location: Espoo, Finland
tsharju
Offline
Regular Contributor
Hi Magnus,

The problem here is the S60 platform security. You cannot use the self-signed version of Pyexpat with signed version of PyS60. You need to get the unsigned version of Pyexpat and sign it with a developer certificate or use a self-signed version of PyS60.

Yeah... it's rather annoying, but it's the same with all PyS60 3rd party extensions.

- Teemu
Reply With Quote

#17 Old Re: Help in porting Pyexpat for 3rd edition - 2008-03-26, 13:59

Join Date: Mar 2008
Posts: 47
maggias
Offline
Registered User
hi tsharju,

Thanks for the reply, I signed pyexpat with a devcert from Symbian signed and that worked.

However now I am getting a different type of error
Code:
AttributeError: 'module' object has no attribute 'Reader'
On the following lines of code
Code:
from xml.parsers import expat
self.readerclass = expat.Reader
This is in the parse.py file in the ZSI SOAP library

Is this not implemented in the PyS60 expat or should this be done some other way?

That is how can I get Reader object?

best regards,
Magnus
Reply With Quote

#18 Old Re: Help in porting Pyexpat for 3rd edition - 2008-03-31, 19:45

Join Date: Jul 2005
Posts: 66
Location: Espoo, Finland
tsharju
Offline
Regular Contributor
Quote:
Originally Posted by maggias View Post

That is how can I get Reader object?
Hi, I don't know about this. I haven't tried ZSI library with PyS60. Could it be that it needs some newer version of Python and hence a newer pyexpat also. PyS60 is Python 2.2.3. Also, it could be that the ZSI requires PyXML library that is sort of an extension to standard Python XML parsing. There was some problem in porting PyXML to PyS60, but I don't remember anymore what it was.

- Teemu
Reply With Quote

#19 Old Re: Help in porting Pyexpat for 3rd edition - 2008-04-13, 19:04

Join Date: Apr 2008
Posts: 1
olmo.maldonado
Offline
Registered User
Thanks for the hard work.

I've tried installed the signed or unsigned SIS files but both indicate that the certificate has expired. I am installing the SIS in a N95 21.0.016.
Reply With Quote

#20 Old Re: Help in porting Pyexpat for 3rd edition - 2008-08-06, 18:04

Join Date: Mar 2008
Posts: 47
maggias
Offline
Registered User
Hi,

The link http://www.saunalahti.fi/~tsharju/py...reedevcert.sis is now return "Access forbidden!" and the whole directory actually also.

Any change of getting the link back up ? or does someone have a copy?
Reply With Quote

#21 Old Smile Re: Help in porting Pyexpat for 3rd edition - 2008-08-07, 12:08

Join Date: Feb 2005
Posts: 1,353
Location: Belgium (Europe)
cyke64's Avatar
cyke64
Offline
Super Contributor
Quote:
Originally Posted by maggias View Post
Hi,

The link http://www.saunalahti.fi/~tsharju/py...reedevcert.sis is now return "Access forbidden!" and the whole directory actually also.

Any change of getting the link back up ? or does someone have a copy?
Yes it's sad
But I have made a backup of the unsigned file
You can find it on my NEW google site

BR
Cyke64


pys60 1.4.5,1.9.7,pygame,PyS60 CE on E90 , N810 with Python 2.5.2 and ... last PyS60 1.9.7 with touch ui on 5800 !

pys60 extension modules on http://cyke64.googlepages.com/
Reply With Quote

#22 Old Smile Re: Help in porting Pyexpat for 3rd edition - 2008-08-07, 14:57

Join Date: May 2007
Posts: 2,735
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Offline
Forum Nokia Champion
Quote:
Originally Posted by cyke64 View Post
You can find it on my NEW google site
So I notice something new

and something new before few days in the signature as well

Quote:
and now N78 (3rd FP2 !)
Best Regards,
Croozeus
Reply With Quote

#23 Old Re: Help in porting Pyexpat for 3rd edition - 2008-08-16, 14:36

Join Date: Jul 2005
Posts: 66
Location: Espoo, Finland
tsharju
Offline
Regular Contributor
You can find pyexpat for PyS60 3rd ed including sources from http://teemuharju.net/pys60/pys60-pyexpat_3rded.zip. My ISP changed and I forgot to upload the stuff to a new place.

- Teemu
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Porting to 3rd Edition : BaseConstructL crashes! lazmous General Symbian C++ 8 2008-10-15 20:54
Mobile Porting Lab vish News, Announcements and Job Listings 1 2007-11-01 12:13
Problem in Porting to Series 60 3rd edition vishalm General Symbian C++ 0 2006-10-05 15:27
Problem in Porting to Series 60 3rd edition vishalm General Symbian C++ 0 2006-10-05 15:18
Dll::Tls(), porting from 2nd to 3rd edition MethodSolutions General Symbian C++ 11 2006-05-24 16:14

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia