maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   [Maemo 5] HealthCheck - Pymaemo/Qt - Learning to code (N900) (https://talk.maemo.org/showthread.php?t=44576)

noobmonkey 2010-02-21 10:39

Re: [Maemo 5] HealthCheck - Pymaemo/Qt - Learning to code (N900)
 
Quote:

Originally Posted by evad (Post 539152)
You are my man! This is (almost) exactly what I needed :) Thanks!


evad, will send you through the code with the cell and imei info printing off :D (On my example) ... but...... still getting those errors!!

qwerty12 2010-02-21 10:52

Re: [Maemo 5] HealthCheck - Pymaemo/Qt - Learning to code (N900)
 
Quote:

Originally Posted by noobmonkey (Post 539489)
but...... still getting those errors!!

I'd say "ignore them". I'm not well-versed in python-dbus, not at all, but D-Bus services can have introspection data attached to them and programs/people can query this introspection data to see what methods et al. a service provides. Python-dbus tries to "make it easier" for the programmer by querying the service to see what services it provides and the data types of the return values of a method call.
As you saw, the Phone.Net interface doesn't implement the Introspectable interface so it cannot be asked to list the methods etc. it has. You may be able to find a way to stop python-dbus from asking but I wouldn't bother for two reasons:
  • Who's gonna run it from the console, anyway?
  • "Don't fix it if it's not broken." - I mean, querying the services works and you get the information that you want, right?

noobmonkey 2010-02-21 12:27

Re: [Maemo 5] HealthCheck - Pymaemo/Qt - Learning to code (N900)
 
1 Attachment(s)
ok well next update screenshot and version update:

Version 0.3
Battery Status
Accelerometer readout
GPS Position
Firmware version
Roots Free / Used
CPU Information
N900 Hardware board info
System Locale
Front Camera image test
Phone/Cell information


List of enabled repositories
List of disabled repositories
List of installed applications + App info
Run commands, apt-get clean etc...



Green = Working
Red = In Progress

Edit - in case you are wondering what my camera is allways pointing at... It's my lamp.... the front camera is rubbish so i need to point it at something bright!

noobmonkey 2010-02-21 12:40

Re: [Maemo 5] HealthCheck - Pymaemo/Qt - Learning to code (N900)
 
lol.... just noticed my longitude value has screwballed..... Hmm mwill go fix!

noobmonkey 2010-02-21 13:00

Re: [Maemo 5] HealthCheck - Pymaemo/Qt - Learning to code (N900)
 
aghhhh confused... i read somewhere on here last night that someone had the same problem with the failed 0's on long.........

But can't find it anywhere!!

noobmonkey 2010-02-21 13:12

Re: [Maemo 5] HealthCheck - Pymaemo/Qt - Learning to code (N900)
 
Fixed it..... Think it was a GPS warm up issue (annoying that it didnt do it before).... Just lopped it a few times and it works fine.

noobmonkey 2010-02-21 13:15

Re: [Maemo 5] HealthCheck - Pymaemo/Qt - Learning to code (N900)
 
Right i'm getting to a point where is it almost publishable but there are a few things i would really like to do before i let it loose on people

Version 0.3
Battery Status
Accelerometer readout
GPS Position
Firmware version
Roots Free / Used
CPU Information
N900 Hardware board info
System Locale
Front Camera image test
Phone/Cell information


Planned for V0.4
List of enabled repositories
List of disabled repositories
List of installed applications + App info
Run commands, apt-get clean etc...
Add Altitude to GPS details
(Already coded)

Planned for V0.5 - extras dev Release
Threading - to speed the whole thing up....

Green = Working
Red = In Progress

casper27 2010-02-21 13:19

Re: [Maemo 5] HealthCheck - Pymaemo/Qt - Learning to code (N900)
 
Great work Noob cant wait to test it. Should be a usefull application.

noobmonkey 2010-02-21 13:50

Re: [Maemo 5] HealthCheck - Pymaemo/Qt - Learning to code (N900)
 
Quote:

Originally Posted by casper27 (Post 539637)
Great work Noob cant wait to test it. Should be a useful application.

Hehe good to hear, and thank you very much :) - it will need a lot of testing! :D
Hard for me to test what happens if hardware isn't working, got it covered on most and it should display errors... but will soon see!

Currently it's got a 10-20 second load time... so really i need to do the threading to make it usable :D

noobmonkey 2010-02-21 14:42

Re: [Maemo 5] HealthCheck - Pymaemo/Qt - Learning to code (N900)
 
1 Attachment(s)
jumped ahead of myself slightly....
managed to get GTK threading working fine. load up now takes 6-10 seconds, and the update takes 4-5 seconds.

fixed the lat/long issues. do people want me to remove the other tabs and throw up an extras - dev version? (never done it before. may take a while).
Version 0.4
Battery Status
Accelerometer readout
GPS Position
Firmware version
Roots Free / Used
CPU Information
N900 Hardware board info
System Locale
Front Camera image test
Phone/Cell information
Multi-threading


Planned for V0.5
List of enabled repositories
List of disabled repositories
List of installed applications + App info
Run commands, apt-get clean etc...
Add Altitude to GPS details
(Already coded)


Green = Working
Red = In Progress


All times are GMT. The time now is 19:07.

vBulletin® Version 3.8.8