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)

jedi 2010-09-25 21:58

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/

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

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

I'm having this problem too. I've tried installing pyside-qt4 0.4.0-1maemo4 as per recomendation, and also a newer version (0.4.1-1maemo2) which I think has been made available since your post...

Code:

/opt/alarmed $ ./alarmed.py
:: Starting alarmed GUI
Traceback (most recent call last):
  File "./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
  File "/usr/lib/python2.5/site-packages/PySide/__init__.py", line 2, in <module>
    import private
  File "/usr/lib/python2.5/site-packages/PySide/private.py", line 2, in <module>
    from QtCore import __moduleShutdown
ImportError: /usr/lib/python2.5/site-packages/PySide/QtCore.so: undefined symbol: _ZN6PySide14signal_connectEP7_objectPKcS1_

Any help greatly appreciated :)

shapeshifter 2010-09-26 10:45

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
Seems like the problem is back. Apparently, such compatibility issues happen with pyside. Not sure why, as I'm not involved in the process.

In any case, I reopened the bug report and we'll wait for an answer...

http://bugs.openbossa.org/show_bug.cgi?id=275

tmarinos 2010-09-26 10:55

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

I am hoping someone can help me.

Does anyone know what code/command I can use to get alarmed to automatically set my status to "online"?

I'd like to set up Alarmed so that I go "online" with my SIP, MSN and Skype at 8am every morning.

jedi 2010-09-26 11:59

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

Originally Posted by shapeshifter (Post 826536)
Seems like the problem is back. Apparently, such compatibility issues happen with pyside. Not sure why, as I'm not involved in the process.

In any case, I reopened the bug report and we'll wait for an answer...

http://bugs.openbossa.org/show_bug.cgi?id=275

Hhhrrrmmmph that sucks :(

Thanks for your answer - I'll just wait :)

And thanks for your hard work in making this app - shame I can't use it yet (and I appreciate this bug isn't your responsibility).

Has anyone seen any 'easy' guides to manually add an entry to the .ini file so I can run a script I've written on a daily basis?

shapeshifter 2010-09-26 16:09

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

Originally Posted by jedi (Post 826577)
Has anyone seen any 'easy' guides to manually add an entry to the .ini file so I can run a script I've written on a daily basis?

Alarmed ships with a command line interface that has all the features of the GUI. Type

Code:

cd /opt/alarmed/
./alarmed.py -h

to see some output on how to use it. Here's an example on how to use it; First I create an event using the cron syntax to run every day at 18:12 using the -T, -c and -E options. Then I look at my creation using -CL. Make sure you put options, such as the command you want to run or strings into quotes (") or (').

Code:

Nokia-N900:~# /opt/alarmed/alarmed.py -C -T "my event" -c '12 18 * * *' -E 'echo "test" > /tmp/testfile'
Event added successfully. ID: 23
Nokia-N900:~# /opt/alarmed/alarmed.py -CL
        Event ID: 23           
        cron: ['12', '18', '*', '*', '*']
        schedule: Cron String
        title: my event
        enabled: 1
        content: echo "test" > /tmp/testfile
        ttime: 1285517519
        datetime: 26.09.2010, 18:11
        type: Command execution


jedi 2010-09-26 19:33

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
Thanks - that's exactly what I needed. Sorry I completely overlooked the fact you've provided a CLI interface too - doh :)

tmarinos 2010-09-27 01:07

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

Originally Posted by tmarinos (Post 826539)
Hi

I am hoping someone can help me.

Does anyone know what code/command I can use to get alarmed to automatically set my status to "online"?

I'd like to set up Alarmed so that I go "online" with my SIP, MSN and Skype at 8am every morning.

Anyone?

I will be forever greatfull and bow down to you always should you come up with an answer!

yoush 2010-09-27 08:29

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

Originally Posted by shapeshifter (Post 825976)
Could you please open a terminal and run Alarmed from the command line?

Code:

/opt/alarmed/alarmed.py
Then reproduce the problem you describe and look what it says in the terminal and post the output. Thanks.

It is somewhat expected:

Code:

Error calling slot "saveEvent"
Traceback (most recent call last):
  File "/opt/alarmed/alarmed_gui.py", line 566, in saveEvent
    eventInfo["title"] = str(self.titlePicker.text())
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-4: ordinal not in range(128)


yoush 2010-09-27 08:34

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

Originally Posted by tmarinos (Post 826539)
Hi

I am hoping someone can help me.

Does anyone know what code/command I can use to get alarmed to automatically set my status to "online"?

I'd like to set up Alarmed so that I go "online" with my SIP, MSN and Skype at 8am every morning.

For that, you need to send messages to telepathy over dbus. Search forum for that, there have been some hints.

ndi 2010-09-27 11:35

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

Originally Posted by ndi (Post 705598)
Oh, one more thing. The deletion issue brought another: editing and alarm now duplicates it. Presumably, instead of editing, you delete and readd the alarm, so editing duplicates.

Fixed it by reflash. I think it was the Python, it started a reboot cycle on initializing widgets, had to flash it.


All times are GMT. The time now is 23:08.

vBulletin® Version 3.8.8