maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Grandcentral Dialer Application (https://talk.maemo.org/showthread.php?t=18802)

slip 2008-06-21 03:56

Re: Grandcentral Dialer Application
 
One of the first numbers i entered using this app was 800-GOOG-411, Google's excellent and free 411 information service. i'm assuming it is US-only. i hesitate to suggest adding a dedicated 411 button to the dialer, because i realize that z2n has limited tiime to devote to this project, and because i don't want to encourage feature-bloat, but it might be useful for some situations.
looking forward to the new .deb

heavyt 2008-06-21 04:30

Re: Grandcentral Dialer Application
 
Quote:

Originally Posted by brontide
[code
else :
Dialpad.wgetcmd = Dialpad.wgetcmd + Dialpad.phonenumber
returnval = 0
# Remove any existing output file...
if os.path.isfile(wgetoutput) :
os.unlink(wgetoutput)
child_stdout, child_stdin, child_stderr = os.popen3(Dialpad.wgetcmd)
timestamp=time.asctime(time.localtime())
stderr=child_stderr.read()
[/code]

Here is the fix

Code:

                else :                                                                                                                                                                                                                                                           
                        returnval = 0                                                                                                                                                                                                                                             
                        # Remove any existing output file...                                                                                                                                                                                                                     
                        if os.path.isfile(wgetoutput) :                                                                                                                                                                                                                           
                                os.unlink(wgetoutput)                                                                                                                                                                                                                             
                        child_stdout, child_stdin, child_stderr = os.popen3(Dialpad.wgetcmd + Dialpad.phonenumber)                                                                                                                                                               
                        timestamp=time.asctime(time.localtime())                                                                                                                                                                                                                 
                        stderr=child_stderr.read()

You see I removed the one line and modified the popen3 command. This should keep the wgetcmd string clean. I have tested this chage and it works.

Did the change, now works like a charm! :D

brontide 2008-06-21 05:16

Re: Grandcentral Dialer Application
 
Quote:

Originally Posted by slip (Post 194024)
One of the first numbers i entered using this app was 800-GOOG-411, Google's excellent and free 411 information service. i'm assuming it is US-only. i hesitate to suggest adding a dedicated 411 button to the dialer, because i realize that z2n has limited tiime to devote to this project, and because i don't want to encourage feature-bloat, but it might be useful for some situations.
looking forward to the new .deb

You did know you can call 800/877 numbers directly through gizmo project even without a call-out credit? You could easily make a contact for Google 411 and call without having to use grandcentral.

brontide 2008-06-21 05:19

Re: Grandcentral Dialer Application
 
Anyone who has it already installed and would like to try the newest version all they need to do is backup and replace the /usr/local/bin/gc_dialer.py and /usr/local/lib/gc_dialer.glade files. That's all!

Currently there is not much to see short of the bugfix, but I'll be pounding away this weekend to get a few things off my idea list.

racky 2008-06-21 05:30

Re: Grandcentral Dialer Application
 
Just came back from work, and I am glad to see someone has proved that my idea of the bug is correct. Thanks brontide, thanks z2n and everyone.

slip 2008-06-21 14:01

Re: Grandcentral Dialer Application
 
Quote:

Originally Posted by brontide (Post 194031)
You did know you can call 800/877 numbers directly through gizmo project even without a call-out credit? You could easily make a contact for Google 411 and call without having to use grandcentral.

Nope, I didn't know that. I really only use gizmo withh GC, and not very often even then. Thanks for the tip.

brontide 2008-06-21 15:03

Re: Grandcentral Dialer Application
 
Here are the ideas I am going to be working on over the weekend

1) Increase the font sizes and make layout full screen compatible ( and rotated )

2) Move the about to the menu

3) Remove the quit button and make it "recent" and have that replace the dialpad with a list of numbers

--

Stuff that I want to implement, but probably not this weekend

1) Drop wget as a dependency, I should be able to do all the URL processing directly with urllib2 in python

2) Add support for logging in directly through the UI

3) Add support for changing the callback number on the fly

As this is my first app with python and pygtk it will take longer than I want since I need to translate my thinking into python.

z2n 2008-06-22 01:43

Grandcentral Dialer Application v0.5 deb package now available
 
Quote:

Originally Posted by heavyt (Post 194019)
Please hurry up with that deb package, I love this stuff. Not a code person (not yet) but willing to give it a thorough test run. Thanks to all. :)

Done. The packaged release of version 0.5 is now available on the mameo garage site for Grandcentral Dialer.

The changes are:
  • Fixed bug with concatenated phone numbers (thanks to Brontide)
  • Enhanced error messages, tested for presence of cookies.txt file, checked for response from grandcentral.com indicating that the cookie is missing.
  • Removed duplicates from drop-down dialed number history list.

heavyt 2008-06-22 02:48

Got it but it will not install! Tried several times. It removed the last version of GC and the folder /usr/local/bin.

racky 2008-06-22 03:43

Re: Grandcentral Dialer Application
 
Same as me. Installed successfully but can't find the icon anywhere, reboot didn't help.


All times are GMT. The time now is 08:51.

vBulletin® Version 3.8.8