maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting) (https://talk.maemo.org/showthread.php?t=46594)

rantom 2010-08-07 07:12

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
Quote:

Originally Posted by techie (Post 778171)
Some help here guys.Alarmed won't run on my device at all.Whenever I run it a blank screen appears for a few seconds and then it returns to desktop.
I have tried installing through application manager, fapman and the terminal but it hasn't run even once.
Also noticed just now that healthcheck started showing same behaviour,before this it worked fine.I updated it to the devel version and its working again, but still no luck with alarmed.
Are there any known conflicts with other packages??

Open X-Terminal and run this:

Code:

python /opt/alarmed/alarmed.py
Once you get the output you can, of course, paste it here (and wait for the developer to help, I can't help with Alarmed since I can't either get it to work). It might be the same bug what I'm having, see the link.

PySide linking/compile-time

I, for one, can't confirm that that bug really has been fixed, since I've yet to find out how to update my PySide.

techie 2010-08-07 07:27

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
Quote:

Originally Posted by rantom (Post 778565)
Open X-Terminal and run this:

Code:

python /opt/alarmed/alarmed.py
Once you get the output you can, of course, paste it here (and wait for the developer to help, I can't help with Alarmed since I can't either get it to work). It might be the same bug what I'm having, see the link.

PySide linking/compile-time

I, for one, can't confirm that that bug really has been fixed, since I've yet to find out how to update my PySide.

You were right I have the same error as from that link
Code:

~ $ python /opt/alarmed/alarmed.py
:: Starting alarmed GUI
Traceback (most recent call last):
  File "/opt/alarmed/alarmed.py", line 91, in <module>
    import alarmed_gui
  File "/opt/alarmed/alarmed_gui.py", line 9, in <module>
    from PySide import QtCore, QtGui, QtMaemo5
ImportError: /usr/lib/python2.5/site-packages/PySide/QtCore.so: undefined symbol: _ZN6PySide18DynamicQMetaObject13createBasedOnEP7_objectP11_typeobjectPK11QMetaObject
~ $

So there is no way to fix it?Bummer:(

rantom 2010-08-08 07:41

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
Quote:

Originally Posted by techie (Post 778570)
You were right I have the same error as from that link
Code:

~ $ python /opt/alarmed/alarmed.py
:: Starting alarmed GUI
Traceback (most recent call last):
  File "/opt/alarmed/alarmed.py", line 91, in <module>
    import alarmed_gui
  File "/opt/alarmed/alarmed_gui.py", line 9, in <module>
    from PySide import QtCore, QtGui, QtMaemo5
ImportError: /usr/lib/python2.5/site-packages/PySide/QtCore.so: undefined symbol: _ZN6PySide18DynamicQMetaObject13createBasedOnEP7_objectP11_typeobjectPK11QMetaObject
~ $

So there is no way to fix it?Bummer:(

Well it's been fixed but the fix itself is not yet here to be downloaded. I assume it'll arrive in here (note that there's no 0.4.0-1maemo3 yet, which is, in the bug-report, the version that should fix this bug). I'd assume that the .maemo3 would mean maemo3 but apparently not.

EDIT: You can, of course, try to (re-)install the PySide, instructions provided here. If you're going to do it, then please post the results to this thread. I'm going to wait until the file is uploaded to Maemo.org.

shapeshifter 2010-08-09 12:17

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
So according to Luciano Wolf the version 0.4.0-1maemo3 should have fixed the problem. There's already a slightly newer build than that in extras-devel:

pyside-qt4 0.4.0-1maemo4

I recommend you install that one, it should hopefully make the error go away. Make sure you're not installing the "pyside" package. That one is totally outdated and irrelevant. I wished the pyside packages weren't such a mess. You need pyside-qt4, not pyside. And you want this:

http://maemo.org/packages/view/pyside-qt4/

and not this (which is just the maemo5 module of Qt, not the complete bindings):

http://maemo.org/packages/view/pyside-qt4-maemo5/

techie 2010-08-09 13:01

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
Worked! Thanks for warning against the pyside package, glad I hadn't installed it:)
Edit: Now saw your updated post, got it right though, thanks

rantom 2010-08-09 14:12

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
Quote:

Originally Posted by shapeshifter (Post 780307)
So according to Luciano Wolf the version 0.4.0-1maemo3 should have fixed the problem. There's already a slightly newer build than that in extras-devel:

pyside-qt4 0.4.0-1maemo4

I recommend you install that one, it should hopefully make the error go away. Make sure you're not installing the "pyside" package. That one is totally outdated and irrelevant. I wished the pyside packages weren't such a mess. You need pyside-qt4, not pyside. And you want this:

http://maemo.org/packages/view/pyside-qt4/

For some reason I can't install that. Not manually nor via Fapman/HAM. Fapman doesn't show it and manually via HAM I just get "Couldn't install pyside-qt4, incompatible with the application pack" (RAW translation from Finnish).

shapeshifter 2010-08-10 06:30

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
I recommend you open a new thread about this problem so you can find some help. I have no idea what this qt/pyside package mess is about :(

Oyabun 2010-08-12 09:26

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
Wonderfull app. Unfortunately I cannot get it to work for me... :(

All functions (alarm, built-in function, switch profile) work fine except the command line. Coppied in xterm the same command does what it should, but in Alarmed nothing. Not even a message.

Any suggestions? I read the whole 23 pages, but to be honest most of it is far above my understandings...

Thanx!

Spotfist 2010-08-12 09:53

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
does anyone know what command I would need to use in xterm to activate my network connection to say webnwalk or wifi? and then maybe connect to an IM account? is this possable?

I would like to see if I can automatically coonect to a facebook jabber account for say an hour during lunch.

zorn 2010-08-12 13:16

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
Quote:

Originally Posted by Spotfist (Post 783938)
does anyone know what command I would need to use in xterm to activate my network connection to say webnwalk or wifi? and then maybe connect to an IM account? is this possable?

I would like to see if I can automatically coonect to a facebook jabber account for say an hour during lunch.

I don't know about jabber, but the wiki has some good stuff about activating a network connection at http://wiki.maemo.org/Phone_control#Networking.

I use this in a script (which is a tweaked version of someone else's, though I don't remember where I got it) to check my e-mail every hour:

# Get a connection, if we haven't already got one.
if [ "`/sbin/route | awk '/au/ {print $1}'`" != "default" ]; then
run-standalone.sh dbus-send --system --type=method_call --dest=com.nokia.icd /com/nokia/icd com.nokia.icd.connect string:"[ANY]" uint32:0
sleep 10
fi

Not sure how necessary the 'sleep 10' is but I haven't experimented with removing it yet. I use AutoDisconnect to bring down the network connection when it's no longer needed.


All times are GMT. The time now is 04:24.

vBulletin® Version 3.8.8