The Following 2 Users Say Thank You to noobmonkey For This Useful Post: | ||
|
2010-08-20
, 15:00
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#672
|
with these (green writed)
# This one reads fremantle version number (Firmware)
g = os.popen('set | grep RELEASE_VERSION').read()
g = g.strip("OSSO_PRODUCT_RELEASE_VERSION=")
s = g.split("'")
g = s[1].strip()
if g.strip() == "3.2010.02-8":
g = os.environ.get("OSSO_PRODUCT_RELEASE_VERSION") if g.strip() == "3.2010.02-8":
The Following 4 Users Say Thank You to Rob1n For This Useful Post: | ||
|
2010-08-20
, 16:25
|
|
Posts: 249 |
Thanked: 345 times |
Joined on Aug 2010
@ Italy
|
#673
|
Or even simpler:
Code:g = os.environ.get("OSSO_PRODUCT_RELEASE_VERSION") if g.strip() == "3.2010.02-8":
g = os.environ.get("OSSO_PRODUCT_RELEASE_VERSION")
^
IdentationError: unexpected indent
|
2010-08-20
, 17:41
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#674
|
The Following 4 Users Say Thank You to Rob1n For This Useful Post: | ||
|
2010-08-20
, 17:54
|
|
Posts: 249 |
Thanked: 345 times |
Joined on Aug 2010
@ Italy
|
#675
|
From the error, you've not indented the new code properly. Python is sensitive to indentation, so you'll need to make sure it's aligned with the code above it.
The Following 2 Users Say Thank You to m750 For This Useful Post: | ||
|
2010-09-28
, 23:30
|
Posts: 2,225 |
Thanked: 3,822 times |
Joined on Jun 2010
@ Florida
|
#676
|
The Following User Says Thank You to Mentalist Traceur For This Useful Post: | ||
|
2010-10-03
, 22:19
|
|
Posts: 422 |
Thanked: 320 times |
Joined on Oct 2009
@ Israel
|
#677
|
The Following 2 Users Say Thank You to efekt For This Useful Post: | ||
|
2010-10-03
, 22:38
|
Posts: 2,225 |
Thanked: 3,822 times |
Joined on Jun 2010
@ Florida
|
#678
|
The Following 2 Users Say Thank You to Mentalist Traceur For This Useful Post: | ||
|
2010-10-03
, 22:47
|
|
Posts: 422 |
Thanked: 320 times |
Joined on Oct 2009
@ Israel
|
#679
|
Ouch. Honestly, I think you may just have had your accelerometer break at the hardware level.
In my experience, HealthCheck accelerometer values are within the -1000 to 1000 range. Anything smaller/bigger than -/+ 1200 and I typically assume it's malfunctioning.
The Following 2 Users Say Thank You to efekt For This Useful Post: | ||
|
2010-10-03
, 22:52
|
Posts: 2,225 |
Thanked: 3,822 times |
Joined on Jun 2010
@ Florida
|
#680
|
The Following 2 Users Say Thank You to Mentalist Traceur For This Useful Post: | ||
Tags |
check, faulty, front camera, gps, hardware, healthcheck, test |
|
thank you again.
----------- Follow me on Twitter here
----------- My Photography Website and Blog is here
----------- Author of the N900 Health Check Application ----------- New Version in Extras Devel (Dec 2010 - 2.9.10)
----------- Are you on the N900 World Map? - http://pininthemap.com/maemo - masterpin: shotgun
----------- What apps do you want to see on the n900 or in MeeGo in the future? -