-
Added a note about this to the PyS60 API doc (for 3rdEd).
Checking the number of characters in the Python "calendar" extension wrapper is in my opinion not a good option as the platform might support in the future more characters in search than 32. The developer should check the input to the search function prior invoking it.
2007-12-21 13:45:50 UTC in PyS60
-
This seems to be corrected to some versions of the S60/Symbian platforms as in my N95, I get the described:
>>> def script1():
... db=calendar.open()
... date=time.time()
... db.find_instances(0, date+2000000000, "123456789012345678901234567890123
", anniversaries=1)
... print "ok with 33?"
...
>>> script1()
Traceback (most recent call last):
File "", line...
2007-12-21 13:27:20 UTC in PyS60
-
All of the described scenarios are possible from PyS60 1.4.1 onwards in S60 3rdEd. Please see the API documentation for more information.
2007-12-21 12:56:31 UTC in PyS60
-
Fixed this:
>>> import appuifw
>>> s = appuifw.Listbox([('1','2')])
Traceback (most recent call last):
File "", line 1, in ?
SymbianError: [Errno -6] KErrArgument
>>>
Thanks for the report.
"naninuneno", you could file a separate bug for the problem described. Thanks in advance should you do this.
2007-12-21 12:47:07 UTC in PyS60
-
Added the proposed file existence checking.
Thanks for the report.
2007-12-20 14:11:26 UTC in PyS60
-
It is normal - In your script the "Sound" object will go out of scope and it will be possibly deleted prior the play call end. Please see this thread for more information:
http://discussion.forum.nokia.com/forum/showthread.php?t=101634
Note though that there is no dependency between the "global" and "Sound" (like suggested in the solution post) - E.g. sleep could be used also for "Sound"...
2007-12-20 09:08:00 UTC in PyS60
-
Thanks for the report.
Also noticed the same problem mentioned here:
http://mobilephonedevelopment.com/archives/508.
2007-12-11 14:20:46 UTC in PyUIQ
-
Seems to work fine for me:
>>> import sysinfo
>>> sysinfo.sw_version()
u'V 21.0.001 16-10-07 RM-159 N95(c)NMP'
>>> res2=appuifw.query(u"Choose date","date",time.time()) # Chose 01.01.2007 here
>>> print time.strftime("%d-%m-%Y", time.localtime(res2))
01-01-2007
What is the device you are using?.
2007-12-11 14:15:24 UTC in PyS60
-
Update on this: I tried to use the "locale independent" format suggested by the Symbian documentation in " » Symbian OS v9.1 » Symbian OS guide » Base » Using User Library (E32) » Locale Settings » How to format date and time independent of locale". This did not help and the problem described occurred.
The suggested workaround or manually (in Python) modifying the problematic locales...
2007-12-11 13:45:08 UTC in PyS60
-
Fixed and the fix will be part of the release after 1.4.1.
Thanks for noticing this one.
Here is the diff should you need it asap:
Index: C:/svn_repository/pys60-1-4-x/src/ext/gps/locationacqmodule.cpp
===================================================================
--- C:/svn_repository/pys60-1-4-x/src/ext/gps/locationacqmodule.cpp (revision 701)
+++...
2007-12-11 09:01:30 UTC in PyS60