View Single Post
ndi's Avatar
Posts: 2,050 | Thanked: 1,425 times | Joined on Dec 2009 @ Bucharest
#227
Originally Posted by shapeshifter View Post
Thanks, are you sure you ran /opt/alarmed/alarmed.py -CL as user and not as root?
No. :P

Running now. Oh yes, _now_ we have something.

Originally Posted by shapeshifter View Post
I can edit or enable/disable events and nothing weird happens.
Editing works for me too. It's deletion that is odd (deletes but doesn't refresh) and disabling (UI works but doesn't disable). As a corollary of the delete-doesn't-refresh, editing duplicates entries.

Aaaaand the email is here:

Code:
~ $ /opt/alarmed/alarmed.py -CL 
Event ID: 3728 
    schedule: Daily 
    title: To  silent 
    content: Silent 
    ttime: 1269212400 
    datetime: 22.03.2010, 01:00 
    type: Switch profile 
Event ID: 3714 
    schedule: Daily 
    title: To  live 
    content: General 
    ttime: 1269230400 
    datetime: 22.03.2010, 06:00 
    type: Switch profile 
Event ID: 6694 
    schedule: In... 
    interval: Minutes 
    enabled: 1 
    number: 10 
    title: 1 
    ttime: 1276101461 
    datetime: 09.06.2010, 19:37 
    type: Alarm 
Event ID: 6695 
    schedule: In... 
    interval: Minutes 
    enabled: 1 
    number: 10 
    title: 2 
    ttime: 1276101478 
    datetime: 09.06.2010, 19:37 
    type: Alarm 
~ $
What SHOULD be in there is:

a) set Silent profile at 1 AM (works)
b) set General profile at 6 AM (works)
c) Alarm 1, in ten minutes, DISABLED
d) Alarm 2, in ten minutes, ENABLED

This is after adding alarm 1, adding alarm 2, unticking alarm 1 and exiting app.

Originally Posted by shapeshifter View Post
edit: oh I totally forgot, please run /opt/alarmed/alarmed.py from the CLI (as user), [...] and post any suspicious output you get in the terminal while doing it. Thanks
Now we're getting somewhere:

~ $ /opt/alarmed/alarmed.py
:: Staring alarmed GUI
TypeError: toggleEvent() takes exactly 1 argument (2 given)
TypeError: toggleEvent() takes exactly 1 argument (2 given)

~ $

What I did was I started app (it has 4 alarms, all enabled) and I clicked on alarm 1 (select) and tapped the tickbox to untick.

Further testing suggests the message appears every time I click on an alarm, be it to select it or to untick/tick it.

No other messages appear whatever I do. I didn't go adding alarms or deleting them, as those work (kinda). Tapping on an alarm then tapping Delete gets me the message above once, when the item is tapped. Nothing happens when Delete is pushed (save for the actual alarm really being deleted). Exiting and re-starting the app gets me the alarm I deleted as deleted (aka, gone) but no other messages.

ETA: What timezone are you in? Perhaps we could make this go faster, if you want. Your message looks to me like it's been posted at 00:43 and edited 11:07 (AM). I'm on EET.
__________________
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.

Last edited by ndi; 2010-06-09 at 16:43.