Notices


Reply
Thread Tools
Posts: 12 | Thanked: 58 times | Joined on Mar 2010 @ Finland
#111
I just posted version 0.6 to extras-devel so it is time to do more bug hunting

Changelog:
Code:
  * UI changes:
  * - Added: Allows now setting options per contact :)
  *
  * - Added: Option to silence speakers when using headphones
  *
  * Daemon changes:
  * - Added: Start daemon on bootup
  *   Thanks to fred123 @ http://talk.maemo.org/showthread.php?t=34982&page=8 for pointing me to right direction :)
  *
  * - Added: Logging to file ~/.espeakcaller/espeakcaller.log
  *
  * - Fixed: "eSpeak is shouting in silent profile"-bug
  *
  * - Fixed: "Daemon not restarted when updating to newer version"-bug
  *

Originally Posted by coolice View Post
espeakcaller keep saying the callers name, even IF:

1. I push the speaker off button while somebody calling in case i don't want to pick it up but don't want to reject the call.

2., Phone is on SILENT profile.
1. For this I haven't still found any solution. If anyone knows how to hook that speaker off button let me know.
2. This should be fixed in new version


Originally Posted by coolice View Post
May I ask you a big favour ?

Could you implement a simple whiteboard/blackboard functionality ?
Setting options per contact should do it now


Originally Posted by DALSAFEEN View Post
Will You Please help me

I have Installed the latest version but its not working

What to do ?
Originally Posted by Kyaner View Post
Got a new problem now, it refuses to speak any of the caller names on my contacts but it does say the text i have typed in when i get an unknown caller ie witheld/private number.
I tried all the usual like uninstalling/rebooting/reinstalling but still nothing....
New version writes debug logs to (home)/.espeakcaller/espeakcaller.log. Try reading them from console if there is any errors/tracelogs:
Code:
cd .espeakcaller
cat espeakcaller.log

Arto

Last edited by Arto; 2010-04-10 at 11:32.
 

The Following 5 Users Say Thank You to Arto For This Useful Post:
Posts: 30 | Thanked: 21 times | Joined on Jan 2010
#112
I still see version 0.5 in the repos....
 
benny1967's Avatar
Posts: 3,790 | Thanked: 5,718 times | Joined on Mar 2006 @ Vienna, Austria
#113
Originally Posted by Kyaner View Post
I still see version 0.5 in the repos....
Something seems to be broken (yet again) in the infrastructure... there's an update for fMMS as well that was successfully compiled by the autobuilder but doesn't show up in the application manager. guess we'll have to wait until it's fixed. (whaever 'it' is.)
 
DALSAFEEN's Avatar
Posts: 20 | Thanked: 2 times | Joined on Mar 2010 @ DEW
#114
thank you indeed
i will try this update when its available


Originally Posted by Arto View Post
I just posted version 0.6 to extras-devel so it is time to do more bug hunting

Changelog:
Code:
  * UI changes:
  * - Added: Allows now setting options per contact :)
  *
  * - Added: Option to silence speakers when using headphones
  *
  * Daemon changes:
  * - Added: Start daemon on bootup
  *   Thanks to fred123 @ http://talk.maemo.org/showthread.php?t=34982&page=8 for pointing me to right direction :)
  *
  * - Added: Logging to file ~/.espeakcaller/espeakcaller.log
  *
  * - Fixed: "eSpeak is shouting in silent profile"-bug
  *
  * - Fixed: "Daemon not restarted when updating to newer version"-bug
  *



1. For this I haven't still found any solution. If anyone knows how to hook that speaker off button let me know.
2. This should be fixed in new version




Setting options per contact should do it now





New version writes debug logs to (home)/.espeakcaller/espeakcaller.log. Try reading them from console if there is any errors/tracelogs:
Code:
cd .espeakcaller
cat espeakcaller.log

Arto
 
Posts: 8 | Thanked: 3 times | Joined on May 2006 @ Hungary
#115
Originally Posted by Arto View Post
I just posted version 0.6 to extras-devel so it is time to do more bug hunting
Dear Arto,

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]
gives list out of bounds exception.
A quick and dirty solution for this could be:
Code:
                if len(tmpStr.split(";"))>1:          
                        tmpFName = tmpStr.split(";")[1]
Maybe the situation could be the same with other fields also, but this fix is solved my problem.

A source is not in the garage so I am attaching a small patch against the 0.5 version.
Attached Files
File Type: gz espeakcaller-daemon-fix-pcsabi.patch.gz (261 Bytes, 127 views)
 

The Following 3 Users Say Thank You to pcsabi For This Useful Post:
Mandibela's Avatar
Posts: 270 | Thanked: 195 times | Joined on Aug 2009 @ Finland
#116
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 
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 85, in get_name_from_number
    tmpFName = tmpStr.split(";")[1]
IndexError: list index out of range
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 160, in call_status
    subprocess.Popen("kill -9 " + str(eSpeakProc.pid), shell=True)
AttributeError: 'int' object has no attribute 'pid'
^CTraceback (most recent call last):
  File "/opt/espeakcaller/espeakcaller-daemon.py", line 182, in <module>
    gobject.MainLoop().run()
KeyboardInterrupt
~ $
Not so good, it doesn't work yet. I hope 0.6 gets here soon.
 
Posts: 267 | Thanked: 183 times | Joined on Jan 2010 @ Campinas, SP, Brazil
#117
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=yesatola@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: " + fname
to:

Code:
                    print "Phonebook vcard: " + "\n".join(vcardlist)
                    if fname is None:
                      print "Name is NULL."
                    else:
                      print "Found name: " + fname
...and it worked. Please consider this a bug report and a patch
__________________
My nickname on freenode is ptl, that is, the consonants of my nickname here. Kind of a long story.
 

The Following User Says Thank You to Patola For This Useful Post:
Posts: 267 | Thanked: 183 times | Joined on Jan 2010 @ Campinas, SP, Brazil
#118
BTW, I noticed that while there is a espeakcaller.preinst script that adds

Code:
[stream]
exe = espeak
group = ringtone
To /usr/share/policy/etc/rx51/pulse/xpolicy.conf, but there is not a script that removes it after espeakcaller is uninstalled.
__________________
My nickname on freenode is ptl, that is, the consonants of my nickname here. Kind of a long story.
 
Posts: 267 | Thanked: 183 times | Joined on Jan 2010 @ Campinas, SP, Brazil
#119
Sorry, forgot to say that my version is 0.5. Is there a 0.6 yet?
__________________
My nickname on freenode is ptl, that is, the consonants of my nickname here. Kind of a long story.
 
Posts: 12 | Thanked: 58 times | Joined on Mar 2010 @ Finland
#120
Originally Posted by Patola View Post
Mine doesn't work, and the running espeakcaller-daemon.py spits this error message when a call from my fixed telephone line arrives:
Originally Posted by pcsabi View Post
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
Thanks for great bug-reports/patches

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

Originally Posted by Patola View Post
BTW, I noticed that while there is a espeakcaller.preinst script that adds
To /usr/share/policy/etc/rx51/pulse/xpolicy.conf, but there is not a script that removes it after espeakcaller is uninstalled.
I try to add script that removes those lines into some future version. Gotta be really careful when messing with this file


Arto
 

The Following User Says Thank You to Arto For This Useful Post:
Reply

Tags
espeakcaller


 
Forum Jump


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