maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Dialcentral 1.0 (https://talk.maemo.org/showthread.php?t=29347)

gogol 2009-08-17 02:15

Re: Dialcentral 1.0
 
I'm not smart enough to fix it. You'll have to wait for the author epage to come back around and make some changes. It broke some core system components on mine, probably did the same on yours.

epage 2009-08-17 12:20

Re: Dialcentral 1.0
 
Wow, this thread exploded while I was gone.

I do most of my development on a full Linux system so it makes testing a lot more difficult for me when I do Maemo specific features. Yet another reason why I avoided adding notification support.

I did mean my message about people who feel comfortable with the command line were the more particular ones I wanted testing because I expected to run into random issues. I'm concerned though that a downgrade doesn't work.

The code is based off of gv_notifier. If people have suggestions for improvements, I'm willing to take them. When you have a new message it will turn on the LED. Viewing for the first time or refreshing Message/Recent tabs will cause the LED to turn off. I was unsure if people would want me to launch Dialcentral automatically or not.

Things I've gotten fixes for (I hope) so far.
  • File/Directory does not exist (only shown on command line, prevents startup
  • DBus Exception (Allows startup but prevents being able to login)
  • Can't change away from 0 minutes for notification (now you can and it defaults to 5 but its not finger friendly and the keyboard doesn't seem to work)

Are there any other issues? I'm about to go to work. Once I get home is probably when I'll make a new package

fatboyxpc 2009-08-17 13:31

Re: Dialcentral 1.0
 
Epage, I was just over excited at seeing you added notification support as I've been quite a fan of your work (and addisjon's).

I could always learn xterm a bit better and still try to help out?

Anybody care to just give me the command line stuff to type in to open it up and I can copy and paste the output into here?

epage 2009-08-17 14:05

Re: Dialcentral 1.0
 
I had more time than I expected before work. 1.0.4-3 is now in extras-devel with a couple of fixes. If you are already broken please give it a try.

Known Issues:
  • Keyboard entry for setting notification time doesn't seem to work. I'll hildonize this widget in the next release.
  • I forgot to add DBus error guards around LEDs. Hopefully its less likely to cause issues than alarmd.

Quote:

Originally Posted by fatboyxpc (Post 312382)
Epage, I was just over excited at seeing you added notification support as I've been quite a fan of your work (and addisjon's).

I could always learn xterm a bit better and still try to help out?

Anybody care to just give me the command line stuff to type in to open it up and I can copy and paste the output into here?

Yeah I can understand the excitement. People have been begging for this for a long time.

To launch Dialcentral with debug prints:
Code:

python2.5 /usr/bin/dialcentral.py
To print alarm information
Code:

python2.5 /usr/lib/dialcentral/alarm_handler.py -x
To disable the alarm:
Code:

python2.5 /usr/lib/dialcentral/alarm_handler.py -d
To enable the alarm with 10 minutes between checks:
Code:

python2.5 /usr/lib/dialcentral/alarm_handler.py -e -r 10
To turn off the led. manually (refreshing the message/recent tabs should also turn it off.):
Code:

python2.5 /usr/lib/dialcentral/led_handler.py
To force a check to see if there are any new messages:
Code:

python2.5 /usr/lib/dialcentral/alarm_notify.py

st5150 2009-08-17 17:58

Re: Dialcentral 1.0
 
Anyone know what's going on?

Code:

~ $ python2.5 /usr/lib/dialcentral/alarm_handler.py -e -r 5
Traceback (most recent call last):
  File "/usr/lib/dialcentral/alarm_handler.py", line 136, in <module>
    main()
  File "/usr/lib/dialcentral/alarm_handler.py", line 111, in main
    alarmHandler = AlarmHandler()
  File "/usr/lib/dialcentral/alarm_handler.py", line 27, in __init__
    self._alarmdDBus = bus.get_object("com.nokia.alarmd", "/com/nokia/alarmd");
  File "/usr/lib/python2.5/site-packages/dbus/bus.py", line 244, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/usr/lib/python2.5/site-packages/dbus/proxies.py", line 241, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib/python2.5/site-packages/dbus/bus.py", line 183, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib/python2.5/site-packages/dbus/bus.py", line 281, in start_service_by_name
    'su', (bus_name, flags)))
  File "/usr/lib/python2.5/site-packages/dbus/connection.py", line 607, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name com.nokia.alarmd was not provided by any .service files

v1.0.4-2 seems to have killed gnotifier which no longer checks mail periodically. v1.0.4-3 did not fix this and shows a ''dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name com.nokia.alarmd was not provided by any .service files'' message on the bottom of the screen when DC is first opened. The entire Notifications section is grayed out and can't be adjusted/modified.

icbolsh 2009-08-17 18:01

Re: Dialcentral 1.0
 
It works great so far. I haven't seen a bug yet. Thanks. This is everything I wanted in this app since I got GV in the first place. Thanks for your hard work. I'll keep you posted if I see anything.

by the way I didn't have GV notifier installed previously so I have no problems.

EDIT: okay one issue. It's the same one I had when I installed GV notifier(and later uninstalled it). The LED light keeps going off even when the SMS has been marked as already read. My inbox has to be completely empty before it doesn't go off again. I see that when you read a message in DC it marks it as read in GV.

Suggestion: If we can't get it to recognize what is new and what is not...can there be a "delete message" option with in DC? Right now I still have to go to GV to delete a SMS so the LED does not come on again.

Clockwork 2009-08-17 22:20

Re: Dialcentral 1.0
 
I've got the same problem with the led not going off.

Edit: Running the script provided for manually shutting off the led doesn't work ether. I figured it wouldn't but...

epage 2009-08-17 23:04

Re: Dialcentral 1.0
 
Quote:

Originally Posted by icbolsh (Post 312436)
okay one issue. It's the same one I had when I installed GV notifier(and later uninstalled it). The LED light keeps going off even when the SMS has been marked as already read. My inbox has to be completely empty before it doesn't go off again. I see that when you read a message in DC it marks it as read in GV.
.

Quote:

Originally Posted by Clockwork (Post 312509)
I've got the same problem with the led not going off.

Edit: Running the script provided for manually shutting off the led doesn't work ether. I figured it wouldn't but...

Right now the way we decide if there is a new message is very simplistic. It downloads all of your messages and performs a diff between a previous download and the current. The files are

Code:

~/.dialcentra/snapshot_voicemail.json
~/.dialcentra/snapshot_voicemail.old.json
~/.dialcentra/snapshot_sms.json
~/.dialcentra/snapshot_sms.old.json
~/.dialcentra/snapshot_missed.json
~/.dialcentra/snapshot_missed.old.json

The files at worst contain labels applied to the items. If someone would feel comfortable sending them to me, or if nothing else post here the results of "ls -l ~/.dialcentral" than I can try and figure out what is going on.

Also if someone could manually run "alarm_notify.py" and "led_handler.py" and send me the debug prints that could be helpful.

Looking at things, the content I download includes unread counts. I could also add a check to not give a notification if the unread counts are 0

EDIT: I think I have an idea of why its causing issues. The content we are caching has "relative time" in it which is "constantly" changing. Looking into a fix

epage 2009-08-17 23:40

Re: Dialcentral 1.0
 
Quote:

Originally Posted by st5150 (Post 312435)
v1.0.4-2 seems to have killed gnotifier which no longer checks mail periodically. v1.0.4-3 did not fix this and shows a ''dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name com.nokia.alarmd was not provided by any .service files'' message on the bottom of the screen when DC is first opened. The entire Notifications section is grayed out and can't be adjusted/modified.

On 1.0.4-3 does the error prevent normal operation of Dialcentral still? I'm not sure whats causing it but I hoped to at least have a thing in to prevent Dialcentral being completely useless

st5150 2009-08-17 23:53

Re: Dialcentral 1.0
 
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.

epage 2009-08-18 03:37

Re: Dialcentral 1.0
 
Quote:

Originally Posted by st5150 (Post 312538)
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

st5150 2009-08-18 05:05

Re: Dialcentral 1.0
 
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 2009-08-18 14:17

Re: Dialcentral 1.0
 
Quote:

Originally Posted by st5150 (Post 312581)
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 :)

Quote:

Originally Posted by st5150 (Post 312581)
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

icbolsh 2009-08-18 19:03

Re: Dialcentral 1.0
 
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.

st5150 2009-08-19 00:36

Re: Dialcentral 1.0
 
Quote:

Originally Posted by st5150 (Post 312581)
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

icbolsh 2009-08-19 01:37

Re: Dialcentral 1.0
 
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.

Clockwork 2009-08-19 02:00

Re: Dialcentral 1.0
 
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 2009-08-19 02:25

Re: Dialcentral 1.0
 
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)

icbolsh 2009-08-19 03:43

Re: Dialcentral 1.0
 
Quote:

Originally Posted by Clockwork (Post 312922)
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.

Clockwork 2009-08-19 05:00

Re: Dialcentral 1.0
 
Another question. Can you makes new contact from dial central?

falconx 2009-08-19 05:03

Re: Dialcentral 1.0
 
I am still getting dbus error after uninstall and reinstall anything else I needed to do?

st5150 2009-08-19 06:48

Re: Dialcentral 1.0
 
Quote:

Originally Posted by epage (Post 312925)
[*](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.

What's the proper syntax?

notifier = /home/user/sms.sh doesn't seem to work where sms.sh (for now) contains one line: /usr/bin/mplayer /usr/share/sounds/sms.mp3

icbolsh 2009-08-19 08:06

Re: Dialcentral 1.0
 
Quote:

Originally Posted by Clockwork (Post 312952)
Another question. Can you makes new contact from dial central?

Right now, I'd say no. But maybe in the future versions. Right now you'll have to go to GV webpage interface for that. You can add to your "All Contacts"which is locally saved. But not through DC...just go to contacts from built in client.

gogol 2009-08-19 09:47

Re: Dialcentral 1.0
 
I have a few user interface issues with Dialcentral that I've decided to hunt down and fix. Victim #1: In the messages tab, long SMS and voicemail text rolls offscreen and is impossible to read. Double-clicking will bring you to a popup with a tiny scrollbar that makes reading texts also near impossible.

The fix? Two lines of python.

Code:

                textrenderer.set_property("wrap-mode",1)
                textrenderer.set_property("wrap-width",500)

Add these directly below "textrenderer = gtk.CellRendererText()" found on line 840 in gc_views.py.

This makes the lines on the messages tab auto-wrap to the full-screen size, making it possible to read the entire message. WOW!

Hopefully epage will acknowlegde my hackery and add it to the new releases. Until some other stuff gets changed* I'm staying with 10.4-2. You'd probably be better off waiting till he adds it in unless you are also using 10.4-2 (the last version before notification support, which broke alarmd).

*sound notification support, auto-load GV contacts(why select drop-down every time??), text size on contacts/recent list bigger (more thumb-friendly)

Oh and btw, a nice shortcut to call numbers via Google Voice is so:
https://www.google.com/voice/m/calle...r=+13606430304
change my number for your own and make bookmarks. As of now, a bookmark is more convenient than the tiny text size on DC's contact list.

st5150 2009-08-19 09:57

Re: Dialcentral 1.0
 
The alarmd issue has been fixed: http://talk.maemo.org/showpost.php?p...&postcount=171 upgrade to the latest version with no fear after following the steps linked to above.

gogol 2009-08-19 10:10

Re: Dialcentral 1.0
 
I need sound notifications, and the version I have doesn't mess with gv-notifier. I'll wait for 1.05.

gogol 2009-08-19 10:14

Re: Dialcentral 1.0
 
Victim #2: Contacts list difficult to click with finger.

Add this line right around 976 (give or take) underneath
textrenderer =gtk.CellRendererText() :
Code:

                textrenderer.set_property("scale",3)
Easy enough. Now each contact has a thumb-sized area it occupies.

st5150 2009-08-19 10:19

Re: Dialcentral 1.0
 
Quote:

Originally Posted by gogol (Post 312999)
I need sound notifications, and the version I have doesn't mess with gv-notifier. I'll wait for 1.05.

v1.04-5 can give you any kind of notification you want: http://talk.maemo.org/showpost.php?p...&postcount=182 just see if you can figure out the syntax.

gogol 2009-08-19 10:38

Re: Dialcentral 1.0
 
Quote:

Originally Posted by st5150 (Post 313001)
v1.04-5 can give you any kind of notification you want: http://talk.maemo.org/showpost.php?p...&postcount=182 just see if you can figure out the syntax.

Code:

/usr/bin/dbus-send --dest=com.nokia.osso_media_server --print-reply /com/nokia/osso_media_server com.nokia.osso_media_server.music.play_media string:file:///user/share/sounds/sms.mp3
that is all one huge dbus-send command.

..and, rereading your post, my guess is your script wasn't chmod a+x 'ed. But I've never seen the .ini so its just a guess.

st5150 2009-08-19 10:51

Re: Dialcentral 1.0
 
It was even 777'd ! ;)
I really need to look into how dbus works.

epage 2009-08-19 10:57

Re: Dialcentral 1.0
 
Quote:

Originally Posted by st5150 (Post 312964)
What's the proper syntax?

notifier = /home/user/sms.sh doesn't seem to work where sms.sh (for now) contains one line: /usr/bin/mplayer /usr/share/sounds/sms.mp3

It might not know what interpreter to use with your script. Try
Code:

notifier = sh /home/user/sms.sh
or make your file
Code:

#!/usr/sh
/usr/bin/mplayer /usr/share/sounds/sms.mp3

EDIT: As a warning, you might not get the effect you want once this works. The notifier script is also responsible for choosing when to notify. I recommend making a hybrid of /usr/share/dialcentral/alarm_notify.py and gv_notifiy's sounds code.

epage 2009-08-19 11:14

Re: Dialcentral 1.0
 
@gogol First I want to say thanks for the UI feedback. This is the type of stuff I'd love to have more of.

Textwrap in contacts: The main reason I haven't done this is because Dialcentral technically runs on regular Linux systems also and there is not a good word wrap solution for both platforms. Word wrap is specified in number of characters. On the desktop I'm not aware of a good way to judge the number of characters it is. I'll look into adding this as a Hildon-only aspect though.

Sound notification support: Didn't I see issues with the sound interfering with regular apps in the gv_notifier thread? As this isn't a priority for me, I'll probably leave this to individual hacks till a good solution is found.

Audo-load gv contacts: Should everyone take the performance hit of downloading 5+ webpages for some people wanting the GoogleVoice contacts come up by default? The performance of it is why I added CSV support and that is what I personally use.

Text size on contacts/recent to be more thumb friendly: I'll look into this, probably won't be till tomorrow. I guess I have small fingers since I didn't realize this was an issue.

gogol 2009-08-19 11:16

Re: Dialcentral 1.0
 
Quote:

Originally Posted by epage (Post 313010)
or make your file
Code:

/usr/bin/sh
/usr/bin/mplayer /usr/share/sounds/sms.mp3


you really want to make a hashbang in there

#!/usr/bin/sh , not /usr/bin/sh

gogol 2009-08-19 11:24

Re: Dialcentral 1.0
 
Quote:

Originally Posted by epage (Post 313013)
Word wrap is specified in number of characters.

Seemed to be the comnmands I used in my previous posts were by pixel, not by characters. You might test that yourself.

Quote:

Sound notification support: Didn't I see issues with the sound interfering with regular apps in the gv_notifier thread?
...using the dbus-send command, yes. There is a way to start a separate thread that overlays any current audio, but we need someone smart enough at using dbus to pipe up.

Quote:

Audo-load gv contacts: Should everyone take the performance hit of downloading 5+ webpages for some people wanting the GoogleVoice contacts come up by default?
It's alright, I'll figure a way to set it myself. It would make a nice entry in "Options", or an .ini file

Quote:

Text size on contacts/recent to be more thumb friendly:
Did you notice I provided one line of code that achieves that?

fatboyxpc 2009-08-19 15:12

Re: Dialcentral 1.0
 
Hey guys, what about when you installed 1.0.4-2, it broke your system or whatever, so you upgrade to 1.0.4-5 and DC still won't open? Argh!

epage 2009-08-19 15:32

Re: Dialcentral 1.0
 
Quote:

Originally Posted by fatboyxpc (Post 313081)
Hey guys, what about when you installed 1.0.4-2, it broke your system or whatever, so you upgrade to 1.0.4-5 and DC still won't open? Argh!

Have you gone through the steps in this post?

I'm concerned that it won't even open. I thought I had heard reports that with 1.0.4-3 and later you could at least use Dialcentral but notifications were still broken system wide

Could you give me the debug output by running "python2.5 /usr/bin/dialcentral.py" from the command line?

fatboyxpc 2009-08-19 16:34

Re: Dialcentral 1.0
 
Good news and bad news with that:

It opened up when I typed the python command in xterm. However, I got the "name com.nokia" or whatever at the buttom DBUS error that people were getting,

Bad news, there was a LOT of output from the terminal window, still want it all?

Edit: I went ahead and pasted the output for you, this was before the instructions you sent me to remove the object alarmeventrecurrent.

Code:

python2.5[1714]: GLIB WARNING ** libglade - unknown property `orientation' for class `GtkVBox'
python2.5[1714]: GLIB WARNING ** libglade - unknown property `orientation' for class `GtkVBox'
/usr/lib/dialcentral/dc_glade.py:220: UserWarning: Traceback (most recent call last):
  File "/usr/lib/dialcentral/dc_glade.py", line 215, in _idle_setup
    self._alarmHandler = alarm_handler.AlarmHandler()
  File "/usr/lib/dialcentral/alarm_handler.py", line 28, in __init__
    self._alarmdDBus = bus.get_object("com.nokia.alarmd", "/com/nokia/alarmd");
  File "/usr/lib/python2.5/site-packages/dbus/bus.py", line 244, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/usr/lib/python2.5/site-packages/dbus/proxies.py", line 241, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib/python2.5/site-packages/dbus/bus.py", line 183, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib/python2.5/site-packages/dbus/bus.py", line 281, in start_service_by_name
    'su', (bus_name, flags)))
  File "/usr/lib/python2.5/site-packages/dbus/connection.py", line 607, in call_blocking
    message, timeout)
DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name com.nokia.alarmd was not provided by any .service files

  self._errorDisplay.push_exception()
python2.5[1714]: GLIB DEBUG ConIc - con_ic_connection_send_event(0x1eb580, 6e4a2942-3e47-4d73-bc8f-a53f9f5301bf, WLAN_INFRA, 0)
/usr/lib/dialcentral/gv_backend.py:456: UserWarning: Performing download of https://www.google.com/voice/mobile/phones
  page = self._browser.download(self._forwardURL)
/usr/lib/dialcentral/dc_glade.py:394: UserWarning: Logged into <gv_backend.GVDialer object at 0x40cad750> through cookies
  loggedIn = self._login_by_cookie()
/usr/lib/dialcentral/gc_views.py:743: UserWarning: Callback number set to 7474631319
  self._set_callback_number(number)

And here is what now comes up after I deleted all that stuff:
Code:

python2.5[1809]: GLIB WARNING ** libglade - unknown property `orientation' for class `GtkVBox'
python2.5[1809]: GLIB WARNING ** libglade - unknown property `orientation' for class `GtkVBox'
process 1809: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/var/lib/dbus/machine-id": No such file or directory
See the manual page for dbus-uuidgen to correct this issue.
  D-Bus not built with -rdynamic so unable to print a backtrace
Aborted

Oh yeah, in the alarm_que.xml, is there any way I can delete all the white space? I just did a vi /var/lib/alarm_que.xml and deleted but it wouldn't delete all the lines, just the characters on the lines, it's rather annoying but I can live with it I guess.


Yet another edit: Okay so I forgot the part where it said to reboot. Now DC opens with no errors but when I open it in xterm I still get the libglade errors, and I'm getting an error about missing an alarm from settings.ini. It seems that messaging, contacts, and calling all works so far!

I'll definitely make another post if I find any more issues, thanks a lot for your help and FOR THIS APP!

P.S. Any chance on getting a different UI for the messaging? :P And I do like the either sound or LED options you were talking about earlier, sounds like a definite plan. I would like the sound in certain settings, and I'd like the LEDs in others, so I'd probably end up using both :D:D

st5150 2009-08-19 22:12

Re: Dialcentral 1.0
 
Quote:

Originally Posted by gogol (Post 313015)
you really want to make a hashbang in there

#!/usr/bin/sh , not /usr/bin/sh

Thanks for the advice guys. In case anyone else is playing with this, sh is in /bin not /usr/bin . I'm still not having any luck though. gogol, post up your code if you make hybrid of /usr/share/dialcentral/alarm_notify.py and gv_notifiy's sounds code. I'm not much of a python guy.

epage 2009-08-20 02:28

Re: Dialcentral 1.0
 
Quote:

Originally Posted by gogol (Post 313017)
Seemed to be the comnmands I used in my previous posts were by pixel, not by characters. You might test that yourself.

Either way its a hard coded UI decision rather than letting it auto-flow on its own. I will give it a try both on the desktop and on Maemo and try.

Quote:

Originally Posted by gogol (Post 313017)
It's alright, I'll figure a way to set it myself. It would make a nice entry in "Options", or an .ini file

I just added to SVN remembering the last addressbook open on close. Sound like a fair compromise?

Quote:

Originally Posted by gogol (Post 313017)
Did you notice I provided one line of code that achieves that?

Yes, I saw you provided a potential improvement in a single line of code. Sorry I did not make it clear. My looking into it was not meant in search of a solution but to try out your solution, see what the experience is like, and decide where to go from there.

mrdally204 2009-08-20 02:31

Re: Dialcentral 1.0
 
epage are you planning on adding gogol's GUI tweeks? I tried changing the contacts list but obviously added it to the wrong place as it made my messages look the size i wanted the contacts list. oops. I think it would make the list much more finget friendly.

once again I love the progress and it keeps getting better and better. Thanks to gogol and adisojon for the added features and gui options! you guys are all great!


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

vBulletin® Version 3.8.8