Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

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

    Reply
    Page 13 of 20 | Prev | 3   11     12   13   14     15   | Next | Last
    noobmonkey | # 121 | 2010-02-22, 14:10 | Report

    Originally Posted by mackan1 View Post
    0.4.2-3 still crashed for me.
    did you try running it from x-term as described in a previous post? would be interested to see if it works or chucks out errors

    Edit | Forward | Quote | Quick Reply | Thanks

     
    mackan1 | # 122 | 2010-02-22, 14:12 | Report

    Originally Posted by noobmonkey View Post
    just removed all of the cellular info functions (meh - worth a try)

    Uploading to autobuilder in 2 mins...

    if that doesnt work, the last think i can think off is when i save the front cam image - may need to rethink where i do that....

    in what way do u mean "just removed all of the cellular info functions"
    as in just uninstall it?

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by mackan1; 2010-02-22 at 14:15.

     
    noobmonkey | # 123 | 2010-02-22, 14:14 | Report

    Originally Posted by mackan1 View Post
    in what would do u mean "just removed all of the cellular info functions"
    as in just uninstall it?
    Sorry - i just removed the ceullar functions from the code - to see if that will fix the bug

    Trying to locate where it is crashing, so stripping out all code that could be doing it. I'm aware that it then has less functionality - but will re-build it back in

    Edit | Forward | Quote | Quick Reply | Thanks

     
    noobmonkey | # 124 | 2010-02-22, 14:14 | Report

    New version 0.4.2-4 is in the build queue - so should be about 10 mins

    Edit | Forward | Quote | Quick Reply | Thanks

     
    noobmonkey | # 125 | 2010-02-22, 14:29 | Report

    Ok.... so not the dbus calls, and not the threading.
    Still crashing.
    Getting no errors or warnings now my end.

    Changed the file save location to store the Front cam test image to \home\user\MyDocs\
    New version -5 going into the auto builder!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    noobmonkey | # 126 | 2010-02-22, 14:40 | Report

    Ok well i'm now baffled.....
    No errors my side, no threading, no dbus, and changed the image location...

    what would cause it to just crash out?
    v -5 doesnt work either

    Edit | Forward | Quote | Quick Reply | Thanks

     
    attila77 | # 127 | 2010-02-22, 15:05 | Report

    This might sound confusing at first, but do you have object you're not the owner of ? I.e. a Qt object that you use from Python, but which is created/owned/destroyed by a native Qt object ? Most of the times I oops myself with PyQt is when an object implicitly gets destroyed behind the scenes and I call upon it not realizing it's gone. It would be great if you could strace the app (or get a traceback) to see where exactly is it crashing.

    EDIT:
    Originally Posted by noobmonkey View Post
    No one fancy testing it? - dont fancy removing all the dbus stuff and possibly gtk stuff - just confused as to why it runs ok with warnings locally, but must be erroring out from the utilities menu...
    Tis odd (It does save a file during the run though - so it could be that erroring out?
    Also, can you paste the .desktop file you're using ?

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by attila77; 2010-02-22 at 15:08.
    The Following User Says Thank You to attila77 For This Useful Post:
    noobmonkey

     
    noobmonkey | # 128 | 2010-02-22, 15:08 | Report

    ooo strace - any quick hints on how to do that ? (Assuming a terminal call?)

    will check the code when i get back to a big pc... more confused as it's running fine locally with no errors, so maybe a file or path error?

    But not helpful with no bug reports/feedback

    Edit | Forward | Quote | Quick Reply | Thanks

     
    noobmonkey | # 129 | 2010-02-22, 15:14 | Report

    .desktop code as follows
    [Desktop Entry]
    Version=1.0.0
    Encoding=UTF-8
    Name=HealthCheck
    Comment=N900 Health Check, test the front camera, GPS, battery and more
    Exec=/opt/healthcheck/healthcheck.py
    Icon=healthcheck
    X-Icon-path=/usr/share/icons Path to the icon
    X-Window-Icon=healthcheck
    Type=Application
    X-Osso-Service=com.nokia.healthcheck
    X-Osso-Type=application/x-executable
    StartupWMClass=HealthCheck

    Edit | Forward | Quote | Quick Reply | Thanks

     
    fatalsaint | # 130 | 2010-02-22, 15:18 | Report

    If the code you gave me earlier is what you are running..

    Don't you need a:
    #!/usr/bin/python

    Or whatever the appropriate path is for python on the N900 at the beginning?

    That could by why the desktop icon isn't working.

    You want either:
    Code:
    Exec=python /opt/healthcheck/healthcheck.py
    Or add the line above to the top of healthcheck.py.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 13 of 20 | Prev | 3   11     12   13   14     15   | Next | Last
vBulletin® Version 3.8.8
Normal Logout