Notices


Reply
Thread Tools
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.
 
Posts: 384 | Thanked: 90 times | Joined on Mar 2008
#172
Thanks epage, so far so good. Appreciate your time. I'll test the issue of DC not logging back in when changing from access point to access point over the next few days and report my findings.

Any way play an audio file instead of blink the LED as a message notification ?
 
epage's Avatar
Posts: 1,684 | Thanked: 1,562 times | Joined on Jun 2008 @ Austin, TX
#173
Originally Posted by st5150 View Post
Thanks epage, so far so good. Appreciate your time. I'll test the issue of DC not logging back in when changing from access point to access point over the next few days and report my findings.
I take it then that it all works now? Im glad to hear

Originally Posted by st5150 View Post
Any way play an audio file instead of blink the LED as a message notification ?
What I'm thinking of doing is having the notification app stored in settings.ini. That will make it so you can change to a homebrewed version hacked to your hearts content.

Also I filed a bug on the recurrence set to 0 kills alarmd issue
__________________
770, n810, n900, Ideapad S10-3t
TheOneRing, DialCentral, Gonvert, Quicknote, Multilist, ejpi, nQa, Waters of Shiloah
Programming Blog
 
Posts: 194 | Thanked: 39 times | Joined on Sep 2008
#174
Epage: I just wanted to give feed back. I just updated and so far everything works flawlessly. Thank you so much. I especially like the "hold down the message tab to refresh" feature. Doing a refresh turns the LED light off. I don't have to re-open the app to turn it off like I did when I had GV niotifier.
I know there's a few people out there that don't like the LED light but I love it. I wouldn't mind having a noise and the LED together like when I receive a new email, but it doesn't matter to much since I hardly hear it during the noisiness of the day. I always see the LED light.
Thank you for all your great work. My email client and DC(and sipphone) are by far my most used Apps on the tablet. I love my NIT and this forum.

Last edited by icbolsh; 2009-08-18 at 19:05.
 
Posts: 384 | Thanked: 90 times | Joined on Mar 2008
#175
Originally Posted by st5150 View Post
Thanks epage, so far so good. Appreciate your time. I'll test the issue of DC not logging back in when changing from access point to access point over the next few days and report my findings.

Any way play an audio file instead of blink the LED as a message notification ?

epage, I like your settings.ini file idea. Even something basic like launching mplayer ring.wav will work. I was going to chop up the .py myself as implementing this is super easy, but I'll hold off and see what you come up with.

As going from one access point to another, the alarm.py works fine, the LED blinks still. The DC app however does not. It won't refresh, dial or anything. I have to restart it and re-login for DC to work under a new access point / internet provider

Last edited by st5150; 2009-08-19 at 00:38.
 
Posts: 194 | Thanked: 39 times | Joined on Sep 2008
#176
I've had the app crash a few times.
1. When I open "Google Voice"contacts and then switch it to "All Contacts"(or visa versa) it crashes. When I restart the app it asks for my GV login name and password.
2. Also I had been using the SMS...refreshing a lot...then I went contacts and tried to sart a new SMS and it wasn't letting me. It then crashed.
The second one I have not been able to repeat that problem. The first one I can repeat about half the time.

Last edited by icbolsh; 2009-08-19 at 01:49.
 
Posts: 33 | Thanked: 2 times | Joined on Dec 2008 @ USA, Michigan
#177
i may just be an idoit but how do i send a sms. i tried typing in a number on the number screen, pressed sms, typing the message, and press send. nothing happens. any help?
 
epage's Avatar
Posts: 1,684 | Thanked: 1,562 times | Joined on Jun 2008 @ Austin, TX
#178
1.0.4-5 is now in extras-devel. I'm hoping this will be the last version before pushing to extras and starting on 1.0.5.

Includes (as compared with 1.0.4-4)
  • Range check on how often notifications occur, preventing the user entering 0 and killing alarmd
  • A half second delay when users change notification settings before they are applied to prevent DoSing the alarmd service
  • (Advanced Users Only): A new line "notifier" in the [alarm] section of "~/.dialcentral/settings.ini" has been added. Blank means it uses the built in notifier anything else and that will be called for notifications. To change the notifier close Dialcentral, change the notifier, re-open and toggle off/on notifications.

Known Issues
  • Reports of crashing when rapidly switching contact lists (pre-1.0.4)
  • Dialcentral going into a bad state on connection loss (pre-1.0.4)
  • Notification time widget doesn't allow keyboard input (1.0.4 specific)
__________________
770, n810, n900, Ideapad S10-3t
TheOneRing, DialCentral, Gonvert, Quicknote, Multilist, ejpi, nQa, Waters of Shiloah
Programming Blog
 
Posts: 194 | Thanked: 39 times | Joined on Sep 2008
#179
Originally Posted by Clockwork View Post
i may just be an idoit but how do i send a sms. i tried typing in a number on the number screen, pressed sms, typing the message, and press send. nothing happens. any help?
Make sure you are using the area code, even if it is in the same area code. Also try it from your contacts list. I found that even from within GV webpage interface sending a SMS by just typing the number in, sometimes it didn't work. But once I set them as a contact, it works every time.

Last edited by icbolsh; 2009-08-19 at 04:29.
 
Posts: 33 | Thanked: 2 times | Joined on Dec 2008 @ USA, Michigan
#180
Another question. Can you makes new contact from dial central?
 
Reply


 
Forum Jump


All times are GMT. The time now is 15:49.