| Reply | « Previous Thread | Next Thread » |
|
Yes, it really happened.
Python for S60 1.4.0 is now released. This is the final, officially signed release. You can download the release at SourceForge: http://sourceforge.net/project/showf...roup_id=154155 This release is for both 2nd and 3rd edition devices. As mentioned before, we no longer actively support 1st edition, but if someone is interested in making 1st edition builds of PyS60, then just get the source and go ahead. The release includes: - source code - device and emulator binaries for 2.0, 2.6, 2.8 and 3.0 - 3rd edition emulator binaries for armv5 architecture (RVCT compiler) - documentation PDF. The release is officially Nokia signed. The capabilities for the PythonForS60 component are "ALL -TCB -DRM -AllFiles", so the DLLs are usable with almost all applications as is and thus there is no longer a need for a separate unsigned-freedevcert version of this package. The script shell package is signed with the user-grantable capability set (ReadUserData WriteUserData NetworkServices LocalServices UserEnvironment). If you need more capabilities, you need to obtain a devcert and sign the unsigned-freedevcert script shell package with it. One defect was fixed since 1.4.0rc1: 1740751: ssl socket read hangs/ returns garbage depending on length All users are recommended to upgrade. This release is the same as 1.3.11 in that ***you need to install both the PythonforS60 _and_ the PythonScriptShell package to get the same functionality as before on 2nd edition. *** Bug reports, patches and feature requests are welcomed in the usual places: Bugs: http://sourceforge.net/tracker/?grou...55&atid=790646 Patches: http://sourceforge.net/tracker/?grou...55&atid=790648 Feature requests:http://sourceforge.net/tracker/?grou...55&atid=790649 Yes, really - if you find a clear bug file it in SourceForge. That's what we track regularly, not every thread in the discussion board. If you post a bug report only in the DiBo, we might miss it. When filing bugs, include the device you used, its firmware version (you can see this by entering *#0000# in the idle screen), the PyS60 version and a minimal test case (if applicable). Happy hacking! |
|
Great
![]() Kiitos! LFD Devices: Nokia E61 3rd Edition - pys60 1.4.0 Tips and modules: http://www.lfdm.net/thesis |
|
Where is 2420 version?
|
|
Why is my script not running anymore with 1.4.0?
Also some examples from Jürgen Location do not run anymore. Do I still need a devcert? I use now nokia signed version of 1.4.0 3rd Ed. Code:
import appuifw
import e32
import location
import sysinfo
from graphics import *
running=1
img=Image.new((240,235))
def main_menu_setup():
appuifw.app.menu = [(u"Netmonitor", netmonitor),(u"Settings", settings)]
def settings():
handle_redraw(())
def netmonitor():
imei=sysinfo.imei()
ver = sysinfo.os_version()
while running:
#clear(color=(0,0,60))
#img.line((20,20,20,120),0xff00ee)
img.rectangle((0,0,240,235),0xff0000,fill=(0,0,60))
#img.point((50.,150.),0xff0000,width=40)
#img.ellipse((100,150,150,180),0x0000ff)
#img.text((100,80), u'hello')
rnc=0
(mcc, mnc, lac, cid) = location.gsm_location()
if (mnc == 7) and (mcc == 262) and (cid > 65535):
cidhex=hex(cid)
rnc=int(cidhex[2:4],16)
cid=int(cidhex[len(cidhex)-4:len(cidhex)],16)
bars = sysinfo.signal_bars()
rxl = sysinfo.signal_dbm()
batty = sysinfo.battery()
e32.reset_inactivity()
ram = sysinfo.free_ram()
x = appuifw.app.layout(appuifw.EScreen)
ram = ram/1024
img.text((40,40), u'CID: '+unicode(cid),fill=(255,255,255), font=u"normal")
img.text((40,60), u'LAC: '+unicode(lac),fill=(255,255,255), font=u"normal")
img.text((40,100), u'NET: '+unicode(mcc)+" "+unicode(mnc),fill=(255,255,255), font=u"normal")
img.text((40,80), u'RNC: '+unicode(rnc),fill=(255,255,255), font=u"normal")
img.text((40,120), u'RXL: -'+unicode(rxl)+u" dBm ("+unicode(bars)+u")",fill=(255,255,255), font=u"normal")
img.text((40,140), u'BAT: '+unicode(batty)+u" %",fill=(255,255,255), font=u"normal")
img.text((40,160), u'RAM: '+unicode(ram)+u" KB",fill=(255,255,255), font=u"normal")
img.text((40,180), u'VER: '+unicode(ver),fill=(255,255,255), font=u"normal")
img.text((40,200), u'IMEI: '+imei,fill=(255,255,255), font=u"normal")
img.text((40,220), u'RES: '+unicode(x),fill=(255,255,255), font=u"normal")
handle_redraw(())
e32.ao_sleep(0.5)
#e32.ao_yield()
def handle_redraw(rect):
canvas.blit(img)
canvas=appuifw.Canvas(event_callback=None, redraw_callback=handle_redraw)
def exit_key_handler():
global script_lock
script_lock.signal()
appuifw.app.set_exit()
running=0
appuifw.app.screen='normal'
script_lock = e32.Ao_lock()
appuifw.app.title = u"PyNetMony"
appuifw.app.body=canvas
#appuifw.app.body = appuifw.Text(u"Press Options button below ...")
main_menu_setup()
appuifw.app.exit_key_handler = exit_key_handler
script_lock.wait()
|
|
Cool, official 1.4.0 is out. Thanks guys.
carknue, I don't know what's wrong but it would be a good idea to better describe your problem. What's not working exactly, do you get any error messages, what are they, what phone model are you using, and so on. --- added --- jplauril, I was installing this release on a 2.0 phone (6600) using PC Suite. In both core package and scripshell the installer complained about failed security check and that the installation cannot be proceeded. Clicking 'Details' poped up a window saying it couldn't obtain some certificate. However, the dialog also had an 'Install' button which caused the installation to proceed anyway. But it was confusing so I thought you should know.
Last edited by y.a.k : 2007-07-08 at 13:37.
|
|
Ok, I signed PyShell 1.4.0 with my Dev Cert and now it is running again, but I thought that nokia included all rights to pyS60 1.4.0. is gsm location such a ristricted right?
BTW is this bug really fixed? http://sourceforge.net/tracker/index...5&atid=790646) I still got with PyS60 1.4.0 this unreadable fonts on E90 maybe E90 is once more different from 3rd Edition. Code:
img.text((20,220), u'RES: '+unicode(x),fill=(255,255,255), font=(u"normal",40)) |
|
Hi carknue,
Quote:
Have a look at the last post by jplauril http://discussion.forum.nokia.com/fo...d.php?t=110986 that summarize the capabilities rule. Signing your DLLs with a developer certificate will force any user to sign them with their own certificate (if you distribute any) which has to be the same for the Python interpreter and all DLLs. LFD Devices: Nokia E61 3rd Edition - pys60 1.4.0 Tips and modules: http://www.lfdm.net/thesis |
|
When I tried installing over an old installation, I got an error. I uninstalled python and I still get the error "update error".
Any clues? |
|
Hi aviyam and welcome to the forum!
Please check the last post by cycke64 http://discussion.forum.nokia.com/fo...ad.php?t=69904 LFD Devices: Nokia E61 3rd Edition - pys60 1.4.0 Tips and modules: http://www.lfdm.net/thesis |
|
Quote:
![]() Like, what is the exact error message? Also, please check that the time on your phone was correct. |
|
Quote:
We can’t distribute an app that would run arbitrary code with the full freedevcert capabilities, and this is why the default scriptshell only has user-grantable capabilities. If you need more, you need to get a devcert and sign the other scriptshell package with it. |
|
Quote:
|
|
Quote:
|
|
Quote:
Unicode strings are interpreted as font names, not logical font labels. 'normal' is a logical font label. This code works: Code:
img.text((20,220), u'RES: '+unicode(x),fill=(255,255,255), font=("normal",40))
|
|
Quote:
I really need sizable fonts on E90. They work in text mode, but not in canvas. |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Please help installing Python libraries on S60 | ericroijen | Python | 11 | 2009-07-18 11:43 |
| Python for Series 60 released on Forum Nokia! | eriksmartt | Python | 5 | 2009-07-14 18:00 |
| Python for S60 1.4.0rc1 released | jplauril | Python | 20 | 2008-08-09 22:49 |
| Python for S60 1.3.13 released | jplauril | Python | 8 | 2006-11-21 16:59 |
| When is next version of Python for Series 60 going to be released | nbsinner | Python | 3 | 2005-06-03 16:32 |