You Are Here:

Community: Developer Discussion Boards

Reply « Previous Thread | Next Thread »

#1 Old PyS60[1.9.4] Tests and Feedback - 2009-04-24, 20:51

Join Date: Dec 2007
Posts: 44
tvijayan's Avatar
tvijayan
Offline
Forum Nokia Expert
Use this thread to report your observations about 1.9.4 release
Reply With Quote

#2 Old Re: PyS60[1.9.4] Tests and Feedback - 2009-04-24, 23:09

Join Date: May 2007
Posts: 2,738
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Offline
Forum Nokia Champion
Quote:
Originally Posted by tvijayan View Post
Use this thread to report your observations about 1.9.4 release
Hi Vijayan,

Here is the first feedback,

Tried to install

Quote:
Python_1.9.4_SDK_3rdEdFP1_with_OpenC.zip
Python_1.9.4_SDK_3rdEdFP2_with_OpenC.zip
Python_1.9.4_SDK_3rdEd_with_OpenC.zip
Gives 1696 errors on extracting to the SDK root folder.

Here is a screenshot of S60 3rd FP2 unzipping errors.

//Croozeus
Reply With Quote

#3 Old Re: PyS60[1.9.4] Tests and Feedback - 2009-04-25, 01:10

Join Date: Feb 2009
Posts: 23
sbn
Offline
Registered User
The scriptext doesn't seem to work properly.

Tested on a 6210 navigator, and N96. By installing Python_1.9.4.sis and PythonScriptShell_1.9.4_5thEd.sis - tested both with installation on C and E drives.

On N96 - sensor and location aren't working, other services do:

Code:
Connected.
Python 2.5.4 (r254:67916, Apr 24 2009, 17:43:15) [C] on symbian_s60
Type "copyright", "credits" or "license" for more information.
Type "commands" to see the commands available in this simple line editor.
>>> import scriptext
>>> location_handle = scriptext.load('Service.Location', 'IDataSource')
Traceback (most recent call last):
  File "<console>", line 1, in <module>
ScriptextError: (-5, 'error attaching requested services')
>>> import scriptext
>>> sensor_handle = scriptext.load('Service.Sensor', 'ISensor')
Traceback (most recent call last):
  File "<console>", line 1, in <module>
ScriptextError: (-5, 'error attaching requested services')
On 6210 I can't import scriptext at all:
Code:
Connected.
Python 2.5.4 (r254:67916, Apr 24 2009, 17:43:15) [C] on symbian_s60
Type "copyright", "credits" or "license" for more information.
Type "commands" to see the commands available in this simple line editor.
>>> import scriptext
Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "c:\resource\python25\python25.zip\site.py", line 109, in platsec_import
    raise ImportError("No module named " + name)
On both phones, I still get a "permission denied" when trying this:

Code:
 
self.doubletap.set_axis_active(x=0, y=1, z=1)
The floating point issue doesn't seem to be corrected either.

Code:
>>> r=1234567890
>>> b=r+0.1
>>> b
1.234.567..90.1
>>>
>>> time.time()
1.240.614..66.47525
Correct time should be 1240614766.47525
Last edited by sbn : 2009-04-25 at 01:15. Reason: adding fp bug
Reply With Quote

#4 Old Re: PyS60[1.9.4] Tests and Feedback - 2009-04-25, 05:22

Join Date: Aug 2005
Posts: 13
kohchunk
Offline
Registered User
I can't "import scriptext" on the E75 (3rdEdition FP2 device) as well:

Code:
Python 2.5.4 (r254:67916, Apr 24 2009, 17:43:15) [C] on symbian_s60
Type "copyright", "credits" or "license" for more information.
Type "commands" to see the commands available in this simple line editor.
>>> import scriptext
Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "c:\resource\python25\python25.zip\site.py", line 109, in platsec_import
    raise ImportError("No module named " + name)
I would like to try out the new services framework in the scriptext module..

Thanks for the great regular update though!
(import sensor now works properly for E75 -- previously available in 1.9.2 but seems to be broken in 1.9.3)
Reply With Quote

#5 Old Re: PyS60[1.9.4] Tests and Feedback - 2009-04-25, 05:50

Join Date: Dec 2007
Posts: 44
tvijayan's Avatar
tvijayan
Offline
Forum Nokia Expert
Quote:
Originally Posted by kohchunk View Post
I can't "import scriptext" on the E75 (3rdEdition FP2 device) as well:
Can you please provide the firmware version on the Phone.
Reply With Quote

#6 Old Re: PyS60[1.9.4] Tests and Feedback - 2009-04-25, 06:31

Join Date: Dec 2007
Posts: 44
tvijayan's Avatar
tvijayan
Offline
Forum Nokia Expert
Quote:
Originally Posted by croozeus View Post
Hi Vijayan,

Tried to install
Gives 1696 errors on extracting to the SDK root folder.

Here is a screenshot of S60 3rd FP2 unzipping errors.

//Croozeus
Is the SDK substituted to a Drive?
Can you please try extracting using winzip to the substituted SDK drive.
Reply With Quote

#7 Old Re: PyS60[1.9.4] Tests and Feedback - 2009-04-25, 06:53

Join Date: Aug 2005
Posts: 13
kohchunk
Offline
Registered User
Quote:
Originally Posted by tvijayan View Post
Can you please provide the firmware version on the Phone.
Here's the details from Control Panel..Phone..Device Mgr:

Quote:
Software version
100.48.78
Software version date
25-03-09
Custom version
100.48.78
Custom version date
25-03-09
Language set
34
Model
E75-1
Type
RM-412
Reply With Quote

#8 Old Red face Re: PyS60[1.9.4] Tests and Feedback - 2009-04-25, 07:51

Join Date: May 2007
Posts: 2,738
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Offline
Forum Nokia Champion
Quote:
Originally Posted by tvijayan View Post
Is the SDK substituted to a Drive?
No. I am merely extracting it to the folder C:\S60\devices\S60_3rd_FP2_SDK, as a simple user would do.

It would be important to note that the extracting of the SDK to any folder gives those errors, which wasn't the case with prior releases.
Reply With Quote

#9 Old Re: PyS60[1.9.4] Tests and Feedback - 2009-04-25, 10:56

Join Date: Dec 2007
Posts: 50
Location: Kuopio, Finland
ilpo55
Offline
Regular Contributor
Quote:
Two new APIs are added to the socket module - access_points() and set_default_access_point() which have similar functionality to the APIs present in btsocket module.
It would be nice to have also select_access_point( ) and access_point( ) like in btsocket.


Ilpo
Reply With Quote

#10 Old Re: PyS60[1.9.4] Tests and Feedback - 2009-04-25, 19:57

Join Date: Nov 2004
Posts: 14
terohiit
Offline
Registered User
Quote:
Originally Posted by croozeus View Post
...a screenshot of S60 3rd FP2 unzipping errors.
The unzip command on Debian Lenny gives:

Code:
   skipping: epoc32/winscw/c/resource/python25/email/test/data/msg_01.txt  unsupported compression method 98
   skipping: epoc32/winscw/c/resource/python25/email/test/data/msg_02.txt  unsupported compression method 98
   skipping: epoc32/winscw/c/resource/python25/email/test/data/msg_03.txt  unsupported compression method 98
and almost all files fail to unpack.

Does anyone know of a tool that could be used to unpack these on Linux?
Reply With Quote

#11 Old Re: PyS60[1.9.4] Tests and Feedback - 2009-04-25, 20:02

Join Date: May 2007
Posts: 2,738
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Offline
Forum Nokia Champion
Quote:
Originally Posted by terohiit View Post
Does anyone know of a tool that could be used to unpack these on Linux?
http://linux.about.com/od/commands/a/blcmdl1_unzipx.htm
Reply With Quote

#12 Old Re: PyS60[1.9.4] Tests and Feedback - 2009-04-25, 21:17

Join Date: Mar 2003
Posts: 937
Location: Espoo, Finland
JOM's Avatar
JOM
Offline
Forum Nokia Champion
Quote:
skipping: epoc32/winscw/c/resource/python25/python25.zip need PK compat. v2.1 (can do v2.0)
skipping: epoc32/winscw/c/resource/services unsupported compression method 98
7-Zip fails as well as unzip by Info-ZIP. The reason is that the zip files use too new compression method. When creating release zips, you should use older less efficient but better supported compression methods.

Btw suggestion to use WinZip is not very good, since WinZip is commercial sw. It might be part of Nokia toolkit, but most people use something free, like 7-Zip of Info-Zip tools. Yes, WinZip can create usable file archives, but you have tweak settings a bit.

Cheers,

--jouni who is starting to wonder about release test cases
Reply With Quote

#13 Old Re: PyS60[1.9.4] Tests and Feedback - 2009-04-26, 02:47

Join Date: Mar 2003
Posts: 145
lkz633
Offline
Regular Contributor
I cannot install Python_1.9.4.sis on my Nokia N95, error message is certificate error, please contact program supplier
Reply With Quote

#14 Old Re: PyS60[1.9.4] Tests and Feedback - 2009-04-26, 09:43

Join Date: Oct 2007
Posts: 2,841
Location: Deva, Romania
bogdan.galiceanu's Avatar
bogdan.galiceanu
Offline
Forum Nokia Champion
Quote:
Originally Posted by lkz633 View Post
I cannot install Python_1.9.4.sis on my Nokia N95, error message is certificate error, please contact program supplier
Have you tried going to Settings->Applications->App. manager and setting "Software installation" to "All" instead of "Signed only"?
Reply With Quote

#15 Old Re: PyS60[1.9.4] Tests and Feedback - 2009-04-26, 15:50

Join Date: Mar 2003
Posts: 145
lkz633
Offline
Regular Contributor
Quote:
Originally Posted by bogdan.galiceanu View Post
Have you tried going to Settings->Applications->App. manager and setting "Software installation" to "All" instead of "Signed only"?
yes, this is turned off since 2 years ;-)
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
[PyS60 1.9.3] Tests and Feedback croozeus Python 24 2009-04-17 21:57
[PyS60 1.9.0] Tests and Feedback cyke64 Python 107 2009-02-18 21:10
Feedback on new document "Avoiding Common Failures in Symbian Signed tests" mgroeber9110 Developer Resources Feedback (Documentation, Examples, Training) 4 2007-03-29 08:31

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