|
2009-07-29
, 06:43
|
Posts: 432 |
Thanked: 645 times |
Joined on Mar 2009
|
#2
|
The Following User Says Thank You to danielwilms For This Useful Post: | ||
|
2009-07-29
, 10:34
|
|
Posts: 2,535 |
Thanked: 6,681 times |
Joined on Mar 2008
@ UK
|
#3
|
#4782: osso.Context causes segmentation faultI've worked around this as follows:
try: import osso has_osso = True try: f = open('/etc/maemo_version', 'r') if (f.readline().startswith('5.0')): print "*** Disabling OSSO functionality due to Maemo 5 bug #4782" has_osso = False except: pass except ImportError: has_osso = False
|
2009-07-29
, 16:04
|
|
Posts: 903 |
Thanked: 632 times |
Joined on Apr 2008
|
#4
|
Hi BrentDC,
you can get rid of the dbus error by following this before starting python.
The Xlib error I don't know. I cannot reproduce it. How did you upgrade from beta to beta 2? Perhaps something went wrong there? As the display variable is shown I guess you've started the af-sb-init script?
Cheers Daniel
|
2009-07-29
, 16:05
|
|
Posts: 903 |
Thanked: 632 times |
Joined on Apr 2008
|
#5
|
I've not seen that, however if you are doing Python on Fremantle; be aware of:
#4782: osso.Context causes segmentation faultI've worked around this as follows:
Code:try: import osso has_osso = True try: f = open('/etc/maemo_version', 'r') if (f.readline().startswith('5.0')): print "*** Disabling OSSO functionality due to Maemo 5 bug #4782" has_osso = False except: pass except ImportError: has_osso = False
|
2009-07-29
, 16:46
|
|
Posts: 903 |
Thanked: 632 times |
Joined on Apr 2008
|
#6
|
Tags |
python, scratchbox, sdk |
|
Any help would be appreciated... Thanks.
-Brent
Author of TouchSearch -- web searching software for Maemo 5.
Mobile Device lineage: Palm Z22 -> Palm TX -> Nokia N800 -> Nokia N900