Notices


Reply
Thread Tools
jedi's Avatar
Posts: 1,411 | Thanked: 1,330 times | Joined on Jan 2010 @ Tatooine
#311
Originally Posted by shapeshifter View Post
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
__________________
May the source be with you.
 
Posts: 187 | Thanked: 345 times | Joined on Nov 2009
#312
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
__________________
Author of:
  • The "Alarmed" scheduling and automation app. (Supports alarms, switching profiles, resetting the GPRS counter, setting custom commands to go off, cron syntax and much more. GUI and CLI).
  • "Reaction face-off", a two-player puzzle/knowledge/reaction game.
  • "ytcli", a simple but effective command line youtube client which allows you to play videos from the CLI instantly or download videos on a queue.
 

The Following User Says Thank You to shapeshifter For This Useful Post:
Posts: 96 | Thanked: 6 times | Joined on May 2010 @ Adelaide, Australia
#313
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.
__________________
CQ CQ CQ de VK5FTDM
 
jedi's Avatar
Posts: 1,411 | Thanked: 1,330 times | Joined on Jan 2010 @ Tatooine
#314
Originally Posted by shapeshifter View Post
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?
__________________
May the source be with you.
 
Posts: 187 | Thanked: 345 times | Joined on Nov 2009
#315
Originally Posted by jedi View Post
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
__________________
Author of:
  • The "Alarmed" scheduling and automation app. (Supports alarms, switching profiles, resetting the GPRS counter, setting custom commands to go off, cron syntax and much more. GUI and CLI).
  • "Reaction face-off", a two-player puzzle/knowledge/reaction game.
  • "ytcli", a simple but effective command line youtube client which allows you to play videos from the CLI instantly or download videos on a queue.

Last edited by shapeshifter; 2010-09-26 at 16:12.
 

The Following User Says Thank You to shapeshifter For This Useful Post:
jedi's Avatar
Posts: 1,411 | Thanked: 1,330 times | Joined on Jan 2010 @ Tatooine
#316
Thanks - that's exactly what I needed. Sorry I completely overlooked the fact you've provided a CLI interface too - doh
__________________
May the source be with you.
 
Posts: 96 | Thanked: 6 times | Joined on May 2010 @ Adelaide, Australia
#317
Originally Posted by tmarinos View Post
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!
__________________
CQ CQ CQ de VK5FTDM
 
Posts: 49 | Thanked: 31 times | Joined on Dec 2009 @ Moscow, Russia
#318
Originally Posted by shapeshifter View Post
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)
 

The Following User Says Thank You to yoush For This Useful Post:
Posts: 49 | Thanked: 31 times | Joined on Dec 2009 @ Moscow, Russia
#319
Originally Posted by tmarinos View Post
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's Avatar
Posts: 2,050 | Thanked: 1,425 times | Joined on Dec 2009 @ Bucharest
#320
Originally Posted by ndi View Post
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.
__________________
N900 dead and Nokia no longer replaces them. Thanks for all the fish.

Keep the forums clean: use "Thanks" button instead of the thank you post.
 

The Following User Says Thank You to ndi For This Useful Post:
Reply


 
Forum Jump


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