|
2010-04-10
, 15:02
|
Posts: 30 |
Thanked: 21 times |
Joined on Jan 2010
|
#112
|
|
2010-04-10
, 15:57
|
|
Posts: 3,790 |
Thanked: 5,718 times |
Joined on Mar 2006
@ Vienna, Austria
|
#113
|
|
2010-04-10
, 18:59
|
|
Posts: 20 |
Thanked: 2 times |
Joined on Mar 2010
@ DEW
|
#114
|
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
|
2010-04-11
, 11:00
|
Posts: 8 |
Thanked: 3 times |
Joined on May 2006
@ Hungary
|
#115
|
I just posted version 0.6 to extras-devel so it is time to do more bug hunting
tmpFName = tmpStr.split(";")[1]
if len(tmpStr.split(";"))>1: tmpFName = tmpStr.split(";")[1]
|
2010-04-11
, 12:46
|
|
Posts: 270 |
Thanked: 195 times |
Joined on Aug 2009
@ Finland
|
#116
|
$ 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 ~ $
|
2010-04-11
, 13:22
|
Posts: 267 |
Thanked: 183 times |
Joined on Jan 2010
@ Campinas, SP, Brazil
|
#117
|
print "Found name: " + fname
print "Phonebook vcard: " + "\n".join(vcardlist) if fname is None: print "Name is NULL." else: print "Found name: " + fname
The Following User Says Thank You to Patola For This Useful Post: | ||
|
2010-04-11
, 13:24
|
Posts: 267 |
Thanked: 183 times |
Joined on Jan 2010
@ Campinas, SP, Brazil
|
#118
|
[stream] exe = espeak group = ringtone
|
2010-04-11
, 13:25
|
Posts: 267 |
Thanked: 183 times |
Joined on Jan 2010
@ Campinas, SP, Brazil
|
#119
|
|
2010-04-11
, 20:03
|
Posts: 12 |
Thanked: 58 times |
Joined on Mar 2010
@ Finland
|
#120
|
Mine doesn't work, and the running espeakcaller-daemon.py spits this error message when a call from my fixed telephone line arrives:
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
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.
The Following User Says Thank You to Arto For This Useful Post: | ||
Changelog:
2. This should be fixed in new version
Arto
Last edited by Arto; 2010-04-10 at 11:32.