maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Annouce] HealthCheck - Hardware/System checker for the N900 (https://talk.maemo.org/showthread.php?t=45453)

noobmonkey 2010-06-07 19:10

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Quote:

Originally Posted by chubbyisacat (Post 704005)
YES! SUCCESS! :):)
It now opens. Perfect. Thanks for your help and your patience.

Yay - so sorry it took so long, was hoping the other bits would lead to a simpler fix :) - but great to hear it is now working :)

Once again, thank you very much for testing :) - if there is anything you would like to see, or see changed or added just let me know :)

(I'm learning - so not all fixes are next day fixes! hehehe)

attila77 2010-06-07 19:11

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Quote:

Originally Posted by noobmonkey (Post 703749)
Hold on!
let me set the depends correctly :)

Gonna change the build file to - python2.5-qt4 (>= 4.6)
That should help! :)

You need (>> 4.7.3)

noobmonkey 2010-06-07 19:32

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Quote:

Originally Posted by attila77 (Post 704024)
You need (>> 4.7.3)

hehe! noticed the mistake before i updated! :)

qwerty12 2010-06-08 00:01

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Apologies for providing a half-assed FMTxFrequency function. I should've known better as I wrote a clone of the status bar applet...

Code:

import gettext #part of standard Python, I believe

def FMTxFrequency():
        freq = "%.1f" % float(GetProp(FMTxPropertiesInterfaceConnect(), 'frequency') / 1000.0)
        freq_mhz = gettext.dgettext("osso-fm-transmitter", "fmtx_va_frequency")
        if freq_mhz != "fmtx_va_frequency":
                freq_mhz %= freq
                return freq_mhz
        return freq

Oh, it returns a str so no need for manual casts :)

P.S. You can pass False (introspection=False) as the third argument of your get_object calls to stop it from introspecting the given interface and producing those error messages

noobmonkey 2010-06-08 07:54

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Quote:

Originally Posted by qwerty12 (Post 704543)
Apologies for providing a half-assed FMTxFrequency function. I should've known better as I wrote a clone of the status bar applet...

Code:

import gettext #part of standard Python, I believe

def FMTxFrequency():
        freq = "%.1f" % float(GetProp(FMTxPropertiesInterfaceConnect(), 'frequency') / 1000.0)
        freq_mhz = gettext.dgettext("osso-fm-transmitter", "fmtx_va_frequency")
        if freq_mhz != "fmtx_va_frequency":
                freq_mhz %= freq
                return freq_mhz
        return freq

Oh, it returns a str so no need for manual casts :)

P.S. You can pass False (introspection=False) as the third argument of your get_object calls to stop it from introspecting the given interface and producing those error messages

Haha! Spent a while last night trying to get it to return correctly! never thought to divide by 1000.0 instead of 1000!
Thank you very much!

Brank 2010-06-08 09:07

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
is led test supposed to show all colors? I only get red twice. or is red what you get when you combine them all?

noobmonkey 2010-06-08 09:42

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Hi Brank, there is a dropdown list to the right of the LED test button. this will allow you to choose a few tests.
i am working on testing all colours, but the with current patterns, some only work when the device is sleeping etc.
so therefore the drop down list only allows a few. Will work on adding more soon.

noobmonkey 2010-06-08 12:01

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Brank, also realised you might need to let me know which version you are using - there are 3 versions currently available - one in extras, testing and devel.

noobmonkey 2010-06-09 20:21

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Just wanted to get some opinions. Did a quick mockup of a possible new design.

The idea is as follows:
  • Main Menu
  • Each information screen displays as before but in a stackable window, with a lister, but less per page, so easier to find information
  • Each test loads up in it's own stackable window.

First draft of menu below:
http://www.greg-roberts.com/healthcheck1.png
(Ignore the title - just a label until i do something fancy)

noobmonkey 2010-06-10 11:12

Re: [Annouce] HealthCheck - Hardware/System checker for the N900
 
Just a quick update. V1.2.0-3 is now promoted to extras. screenshots will follow shortly.


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

vBulletin® Version 3.8.8