Reply
Thread Tools
noobmonkey's Avatar
Posts: 3,203 | Thanked: 1,391 times | Joined on Nov 2009 @ Worthing, England
#121
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
__________________
----------- 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? -
 
Posts: 134 | Thanked: 42 times | Joined on Feb 2010
#122
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?

Last edited by mackan1; 2010-02-22 at 14:15.
 
noobmonkey's Avatar
Posts: 3,203 | Thanked: 1,391 times | Joined on Nov 2009 @ Worthing, England
#123
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
__________________
----------- 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? -
 
noobmonkey's Avatar
Posts: 3,203 | Thanked: 1,391 times | Joined on Nov 2009 @ Worthing, England
#124
New version 0.4.2-4 is in the build queue - so should be about 10 mins
__________________
----------- 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? -
 
noobmonkey's Avatar
Posts: 3,203 | Thanked: 1,391 times | Joined on Nov 2009 @ Worthing, England
#125
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!
__________________
----------- 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? -
 
noobmonkey's Avatar
Posts: 3,203 | Thanked: 1,391 times | Joined on Nov 2009 @ Worthing, England
#126
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
__________________
----------- 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? -
 
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#127
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 ?
__________________
Blogging about mobile linux - The Penguin Moves!
Maintainer of PyQt (see introduction and docs), AppWatch, QuickBrownFox, etc

Last edited by attila77; 2010-02-22 at 15:08.
 

The Following User Says Thank You to attila77 For This Useful Post:
noobmonkey's Avatar
Posts: 3,203 | Thanked: 1,391 times | Joined on Nov 2009 @ Worthing, England
#128
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
__________________
----------- 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? -
 
noobmonkey's Avatar
Posts: 3,203 | Thanked: 1,391 times | Joined on Nov 2009 @ Worthing, England
#129
.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
__________________
----------- 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? -
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#130
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.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
Reply

Tags
code, health check, n900, python


 
Forum Jump


All times are GMT. The time now is 01:56.