![]() |
Re: "Say who is calling"
I just posted version 0.6 to extras-devel so it is time to do more bug hunting :)
Changelog: Code:
* UI changes:Quote:
2. This should be fixed in new version :) Quote:
Quote:
Quote:
Code:
cd .espeakcallerArto |
Re: "Say who is calling"
I still see version 0.5 in the repos....
|
Re: "Say who is calling"
Quote:
|
Re: "Say who is calling"
thank you indeed
i will try this update when its available Quote:
|
Re: "Say who is calling"
1 Attachment(s)
Quote:
Thanks for developing this application ! Since its first release it was not working for me. Today I figured out what was the problem in my configuration. In the file espeakcaller-daemon.py there is the dirty function get_name_from_number. At the 85 line there is a split which assumes that the contact card have both first and last name filled in. If the FIrst name is missing than the line Code:
tmpFName = tmpStr.split(";")[1]A quick and dirty solution for this could be: Code:
if len(tmpStr.split(";"))>1: A source is not in the garage so I am attaching a small patch against the 0.5 version. |
Re: "Say who is calling"
Well, I got the 0.5, no 0.6 in the repos still... decided to try anyways.
Code:
$ python2.5 /opt/espeakcaller/espeakcaller-daemon.py |
Re: "Say who is calling"
Mine doesn't work, and the running espeakcaller-daemon.py spits this error message when a call from my fixed telephone line arrives:
[oce]Phonebook vcard: BEGIN:VCARD VERSION:3.0 REV:2010-04-08T15:05:26Z UID:126 TEL;TYPE=HOME,VOICE:01932890644 X-JABBER;TYPE="google-talk";X-OSSO-VALID=yes:patola@gmail.com NICKNAME:Cláudio Sampaio TEL;TYPE=CELL:01991163949 END:VCARD ERROR:dbus.connection:Exception in handler for D-Bus signal: Traceback (most recent call last): File "/usr/lib/pymodules/python2.5/dbus/connection.py", line 214, in maybe_handle_message self._handler(*args, **kwargs) File "/opt/espeakcaller/espeakcaller-daemon.py", line 109, in handle_call CallerNames = get_name_from_number(callernumber) File "/opt/espeakcaller/espeakcaller-daemon.py", line 75, in get_name_from_number print "Found name: " + fname TypeError: cannot concatenate 'str' and 'NoneType' objects [/code] It seems it gets a null string and when trying to print, gives an error. So I change line 75 on /opt/espeakcaller/espeakcaller-daemon.py that is: Code:
print "Found name: " + fnameCode:
print "Phonebook vcard: " + "\n".join(vcardlist) |
Re: "Say who is calling"
BTW, I noticed that while there is a espeakcaller.preinst script that adds
Code:
[stream] |
Re: "Say who is calling"
Sorry, forgot to say that my version is 0.5. Is there a 0.6 yet?
|
Re: "Say who is calling"
Quote:
Quote:
I just uploaded version 0.6.1 to extras-devel (let's hope this version gets there) and garage (in case it doesn't). This nasty bug should be now fixed in this version :) Quote:
Arto |
| All times are GMT. The time now is 08:45. |
vBulletin® Version 3.8.8