You Are Here:

Community: Developer Discussion Boards

#1 Old ensymble network problem - 2006-10-27, 01:48

Join Date: Oct 2006
Posts: 2
paskajooseppi
Offline
Registered User
I have an python script that downloads some information with httplib.
The script works fine thru pys60 bluetooth console or launched via run scripts. But if i create an .sis file with ensymble it doesn't make a network connection, usually it displays an Python system error.
Any ideas ?

I tried other .py files that came with pys60 and they had same problems when converted to .sis with ensymble.
Reply With Quote

#2 Old Re: ensymble network problem - 2006-10-27, 10:16

Join Date: May 2004
Posts: 524
Location: Tampere, Finland
jethro.fn's Avatar
jethro.fn
Offline
Forum Nokia Champion
Quote:
Originally Posted by paskajooseppi
... if i create an .sis file with ensymble it doesn't make a network connection, usually it displays an Python system error.
Any ideas ?
Yes. By default, Ensymble-generated SIS packages do not have any capabilities. Symbian 9 and newer only allow network connections from programs which have a "NetworkServices" capability. See the document "Testing and Signing with Symbian Platform Security" from Forum Nokia for details.

Add the following to your Ensymble command line options. It turns on all capabilities that the self-signed Python Script Shell from Nokia has:

Code:
--caps=NetworkServices+LocalServices+ReadUserData+WriteUserData+UserEnvironment
Reply With Quote

#3 Old Re: ensymble network problem - 2006-10-27, 10:48

Join Date: Oct 2006
Posts: 2
paskajooseppi
Offline
Registered User
Quote:
Originally Posted by jethro.fn
Yes. By default, Ensymble-generated SIS packages do not have any capabilities. Symbian 9 and newer only allow network connections from programs which have a "NetworkServices" capability. See the document "Testing and Signing with Symbian Platform Security" from Forum Nokia for details.

Add the following to your Ensymble command line options. It turns on all capabilities that the self-signed Python Script Shell from Nokia has:

Code:
--caps=NetworkServices+LocalServices+ReadUserData+WriteUserData+UserEnvironment

Thank you very much!
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
Network access behavior problem RubyP General Browsing 3 2004-08-23 11:24
TimeZone , Network and 6600 judyj2x Mobile Java General 2 2004-05-27 17:01
Nokia s60 SDK v2.0 - emulator network connection problem eikka4 General Symbian C++ 0 2003-12-08 11:47
7210 Silent Problem MarkMckim Mobile Java General 1 2003-03-18 13:36
Setting network names in C++ program. molausso Multimodecards 1 2002-09-18 06:40

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