Thread: Dialcentral 1.0
View Single Post
epage's Avatar
Posts: 1,684 | Thanked: 1,562 times | Joined on Jun 2008 @ Austin, TX
#171
Originally Posted by st5150 View Post
Hi epage, thanks for your work in this project. The error has killed maemo notifier. DC works with 1.0.4-3, with the exception of anything related to notifications. Let me know if you want me to run a particular .py and posts its output. For what its worth, I never installed 1.0.4-1. Just 1.0.4-2 then 1.0.4-3.
It looks like Datapath has found the problem and solution. He was one of the people that had a notification time set to 0 minutes. Manually removing the notification from the alarmd config file and rebooting seemed to fix it.

The file is
Code:
/var/lib/alarmd/alarm_queue.xml
You are looking for a section like
Code:
  <object type="AlarmdEventRecurring">
    <parameter name="action" type="object">
      <object type="AlarmdActionExec">
        <parameter name="flags" type="int">131</parameter>
        <parameter name="title" type="string">Dialcentral Notifications</parameter>
        <parameter name="message" type="string"/>
        <parameter name="sound" type="string"/>
        <parameter name="icon" type="string"/>
        <parameter name="path" type="string">/usr/lib/dialcentral/alarm_notify.py</parameter>
      </object>
    </parameter>
    <parameter name="time" type="int64">1250467323</parameter>
    <parameter name="snooze_interval" type="uint">0</parameter>
    <parameter name="snooze" type="uint">0</parameter>
    <parameter name="cookie" type="long">1250467323</parameter>
    <parameter name="recurr_interval" type="uint">0</parameter>
    <parameter name="recurr_count" type="int">-1</parameter>
    <parameter name="real_time" type="uint64">1250467323</parameter>
  </object>
And you want to delete that whole section (you need to be root to do this)

Then reboot.

In some quick testing, it appears to be working for Datapath

Edit 1: There appears to be an issue with changing your notification settings too quickly. I plan to make a fix for this, but I just wanted to warn you.

Edit 2: 1.0.4-4 is now out. The only change it includes is fewer false alarms. It won't be till tomorrow that I release a version with range checking to prevent entering 0 minutes and that I reduce how much I talk to the alarmd service
__________________
770, n810, n900, Ideapad S10-3t
TheOneRing, DialCentral, Gonvert, Quicknote, Multilist, ejpi, nQa, Waters of Shiloah
Programming Blog

Last edited by epage; 2009-08-18 at 03:53.