maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [eSpeakCaller] Say who is calling (https://talk.maemo.org/showthread.php?t=34982)

Kyaner 2010-04-12 03:42

Re: "Say who is calling"
 
Great work as usual Arto, thanks again man :)

This one doesn't appear in the repos as well, i downloaded it from the garage and installed it manually.

This one seems to be working fine, but i got one question, does the option to mute speaker when having headphones on, include bt headsets ?

Thanks in advance.

Kyaner 2010-04-12 05:48

Re: "Say who is calling"
 
Got a new bug
Once bt headset is connected, espeaker only speaks through the headset.
I have unchecked the option to silence the speakers when headset is connected and tried both General and Silent profiles.

Also i can't find the log files....

And now it's not working at all yet again :/

Ok yet another update

Some times if i reject the call it goes into a loop saying the callers name over and over untill i reboot the phone, can't replicate that 100% it's more like 3 of 5 times,
It doesn't speak if it's in silent mode.

amorek13 2010-04-13 02:00

Re: "Say who is calling"
 
nice job arto
wonder if we can get it to say where the sms is coming from

znihello 2010-04-13 11:42

Re: "Say who is calling"
 
Wery good job!
Would it be possible to replace the ringtone-file depending on who is calling?

benny1967 2010-04-13 13:12

Re: "Say who is calling"
 
The application is close to ideal now. I really, really love the way I can change setting per person now... It's so cool to have espeak use English, German, Turkish or Czech language settings depending on the name of the person who's calling. That's so incrediby nice...........

... except it still doesn't work. ;)

I still get the effect that the name espekcaller pronounces is not associated with the calling number in any way. In the log file, I see how it identifies the correct number for the call, and then it says "contact found" or something and lists the VCard of a contact that has nothing to do with this number; in fact, this contact doesn't even have a telephone number stored.
There's no hint in the log file why the application does this... :(

raverpol 2010-04-13 14:42

Re: "Say who is calling"
 
I love this appl but have one question: why does it say caller name even when I tap mute button for incoming call? Shouldn't it be mute as well??

ndi 2010-04-14 09:18

Re: "Say who is calling"
 
Any chance we get a field called pronnunciation in contacts? Some contacts sound like they should be in Picard' phonebook? Perhaps per-contact language can do this. Is there a "phonetic" language?

benny1967 2010-04-14 09:53

Re: "Say who is calling"
 
Quote:

Originally Posted by ndi (Post 609898)
Any chance we get a field called pronnunciation in contacts? Some contacts sound like they should be in Picard' phonebook? Perhaps per-contact language can do this. Is there a "phonetic" language?

that's exactly what the application provides. you can set the language per contact. (at least that's what i did)

ndi 2010-04-14 13:29

Re: "Say who is calling"
 
Oh. I thought only sliders were per contact. Is the file included in any backups?

jojant 2010-04-15 13:56

Re: "Say who is calling"
 
i loaded version 0.6 for first time and get errors :

DEBUG:eSpeakCaller:Incoming phonecall from number: +306945555555
ERROR:eSpeakCaller:Error in get_name_from_number()
Traceback (most recent call last):
File "/opt/espeakcaller/espeakcaller-daemon.py", line 80, in get_name_from_number
if c_num.endswith(my_num) or my_num.endswith(c_num):
UnicodeDecodeError: 'ascii' codec can't decode byte 0xce in position 10: ordinal not in range(128)
ERROR:eSpeakCaller:Error in handle_call()
Traceback (most recent call last):
File "/opt/espeakcaller/espeakcaller-daemon.py", line 164, in handle_call
loadsettings(str(CallerNames[4]))
TypeError: 'NoneType' object is unsubscriptable
ERROR:eSpeakCaller:Error in call_status()
Traceback (most recent call last):
File "/opt/espeakcaller/espeakcaller-daemon.py", line 221, in call_status
subprocess.Popen("kill -9 " + str(eSpeakProc.pid), shell=True)
AttributeError: 'int' object has no attribute 'pid'
ERROR:eSpeakCaller:Error in call_status()
Traceback (most recent call last):
File "/opt/espeakcaller/espeakcaller-daemon.py", line 221, in call_status
subprocess.Popen("kill -9 " + str(eSpeakProc.pid), shell=True)
AttributeError: 'int' object has no attribute 'pid'
ERROR:eSpeakCaller:Error in call_status()
Traceback (most recent call last):
File "/opt/espeakcaller/espeakcaller-daemon.py", line 221, in call_status
subprocess.Popen("kill -9 " + str(eSpeakProc.pid), shell=True)
AttributeError: 'int' object has no attribute 'pid'
DEBUG:eSpeakCaller:Incoming phonecall from number: +306945555555
ERROR:eSpeakCaller:Error in get_name_from_number()
Traceback (most recent call last):
File "/opt/espeakcaller/espeakcaller-daemon.py", line 80, in get_name_from_number
if c_num.endswith(my_num) or my_num.endswith(c_num):
UnicodeDecodeError: 'ascii' codec can't decode byte 0xce in position 10: ordinal not in range(128)
ERROR:eSpeakCaller:Error in handle_call()
Traceback (most recent call last):
File "/opt/espeakcaller/espeakcaller-daemon.py", line 164, in handle_call
loadsettings(str(CallerNames[4]))
TypeError: 'NoneType' object is unsubscriptable
ERROR:eSpeakCaller:Error in call_status()
Traceback (most recent call last):
File "/opt/espeakcaller/espeakcaller-daemon.py", line 221, in call_status
subprocess.Popen("kill -9 " + str(eSpeakProc.pid), shell=True)
AttributeError: 'int' object has no attribute 'pid'
ERROR:eSpeakCaller:Error in call_status()
Traceback (most recent call last):
File "/opt/espeakcaller/espeakcaller-daemon.py", line 221, in call_status
subprocess.Popen("kill -9 " + str(eSpeakProc.pid), shell=True)
AttributeError: 'int' object has no attribute 'pid'

Any idea please?

coolice 2010-04-15 15:07

Re: "Say who is calling"
 
Hi Arto !

Latest version BUG report :

- Special "ancient" chars problem back ! It was solved earlier, but now again, if I use local (hungarian) special chars, e-speaker calls stop saying the name. This bug can be repeated anytime if you add specific test into Speak section input box and push the test button. Once more, it was ok in previous version, and bad now.

Could you have a look please whats went wrong ?

many Thanks,

Andrew

Arto 2010-04-22 14:47

Re: "Say who is calling"
 
I posted new version of eSpeakCaller (0.7) to extras-devel & garage.

Changelog:
Code:

  * UI changes:
  * - Changed: About button to help button
  *
  * - Added: Settings saved notification.
  *
  * Daemon changes:
  * - Fixed: "eSpeakCaller says wrong name"-bug (hopefully for the last time...)
  *  Completely rewritten get_name_from_number() and trashed python-evolution(buggy_as_hell)
  *
  *        - Fixed: "eSpeak is yelling after mute button has been pressed."-bug
  *
  *

Arto

Arto 2010-04-22 14:51

Re: "Say who is calling"
 
Quote:

Originally Posted by Kyaner (Post 606355)
Got a new bug
Once bt headset is connected, espeaker only speaks through the headset.
Some times if i reject the call it goes into a loop saying the callers name over and over untill i reboot the phone, can't replicate that 100% it's more like 3 of 5 times,
It doesn't speak if it's in silent mode.

I don't have bt headsets myself so I don't think I can currently add support for those.

I made small changes to code when call is rejected so test new version if it works any better.

About silent mode I'm not sure if it should speak anything as it is "silent" mode :p (should there be option for this?)

Quote:

Originally Posted by amorek13 (Post 607873)
wonder if we can get it to say where the sms is coming from

It might be possible but I think someone should make completely new program for this one (eSpeakSMS? :))

Quote:

Originally Posted by benny1967 (Post 608514)
I still get the effect that the name espekcaller pronounces is not associated with the calling number in any way.

Function for this is now rewriten. Try if new version works better :)

Quote:

Originally Posted by coolice (Post 612000)
Special "ancient" chars problem back !

I tried to solve this in new version. Throw a message if it works (or not)

Quote:

Originally Posted by raverpol (Post 608665)
I love this appl but have one question: why does it say caller name even when I tap mute button for incoming call? Shouldn't it be mute as well??

I made pretty dirty function for this one.. Test and report if it works for you.


Arto

jojant 2010-04-22 16:13

Re: "Say who is calling"
 
Great work Arto,

with new version of eSpeakCaller (0.7) everything works perfect.

Thank you very much.:)

Kyaner 2010-04-22 19:20

Re: "Say who is calling"
 
Quote:

Originally Posted by Arto (Post 622676)

About silent mode I'm not sure if it should speak anything as it is "silent" mode :p (should there be option for this?)

Arto

Yes please do add a selection to the tune of "speak while in Silent profile" it would be extremely usefull to me....
While i am at work i always have my phone in silent mode but i do need to know who is calling me without taking my phone out cause my hands are always bussy typing or doing something else and i always answer through my bt headset.

Thanks in advance and as usuall thank you SO SO MUCH for making this app possible for us.

John

twoboxen 2010-04-22 19:37

Re: "Say who is calling"
 
Quote:

Originally Posted by Kyaner (Post 623225)
Yes please do add a selection to the tune of "speak while in Silent profile" it would be extremely usefull to me....
While i am at work i always have my phone in silent mode but i do need to know who is calling me without taking my phone out cause my hands are always bussy typing or doing something else and i always answer through my bt headset.

Thanks in advance and as usuall thank you SO SO MUCH for making this app possible for us.

John

... as long as the default is to have silent, you know, silent.

gaute 2010-04-23 08:29

Re: "Say who is calling"
 
Quote:

Originally Posted by Kyaner (Post 623225)
Yes please do add a selection to the tune of "speak while in Silent profile" it would be extremely usefull to me....
While i am at work i always have my phone in silent mode but i do need to know who is calling me without taking my phone out cause my hands are always bussy typing or doing something else and i always answer through my bt headset.

John

Big thanks from me too. I have only had the app <24hrs, but so far it looks great.

Just writing to say "me too" to this feature: The ability to have a setting like "when wired or BT headset is connected, and phone is set to "silent", do report name in headset anyway." It looks like some people also would like "when wired or BT headset is connected, and phone is NOT set to "silent", ring phone but say name in headset only."

Personally folks, if others are interested in this feature and the author says he doesn't have a BT headset, we should all pitch in to buy him one. I'm in for sure. Arto, would it make a difference? Do you have a PayPal account or other means of donating?

Spälä 2010-04-23 09:17

Re: "Say who is calling"
 
First of all, thanks for the great app, Arto.

I just have one question about this. Would it be extremely difficult to make this app drain the battery at least a little less, if not in the next version, in some later one then?

Here is a little backing for this:

I'm using my N900 allways on 2G mode to make the battery last longer. If I'm not running eSpeakCaller, the battery lasts about 2,5 days on my average use. But, if I start the eSpeakcaller, the battery will be empty in less than 20 hours.

For example, yesterday evening I unplugged the charger at around 11pm (battery was full) and started eSpeakCaller. This morning at around 8am the battery level was already only at 47%...

I have made some basic checking using (only) top command, and I think the most battery draining process while running eSpeakCaller, is pulse audio. I'm not absolutely sure about this, just some info if it helps you to tackle this in some later release.

I have also noticed that the battery draining does not stop if eSpeakCaller is set to not say the caller id or closing the app, I have to reboot the device if I want to achieve that.

Thanks in advance! :)

cjard 2010-04-23 09:29

Re: "Say who is calling"
 
Quote:

Originally Posted by Kyaner (Post 623225)
Yes please do add a selection to the tune of "speak while in Silent profile" it would be extremely usefull to me....
While i am at work i always have my phone in silent mode

Why not just make a new profile with a silent mp3 for the ring tone, then espeakcaller will still say the name, but no sounds of ringing are there

cjard 2010-04-23 09:34

Re: "Say who is calling"
 
Quote:

Originally Posted by Arto (Post 622676)
I made pretty dirty function for this one.. Test and report if it works for you.
Arto

Re "espeakcaller should shut up if the mute-ringer button is pressed when the phone is ringing"

It works for me. Thanks!

coolice 2010-04-24 09:03

Re: "Say who is calling"
 
Hi Arto !

Confirmation :

- I would like to confirm, that special chars problem solved, again ! Thank you !!!


Bug reports / Kind questions, if possible :

I love the feature you implemented, which making possible that each contacts can be configured separately.

FEATURE :1., Could you be so kind and consider to implement a kind of "group" select feature for the language set please ?

In detail : you always set he main language, but it is superb that I can set for each contact a separate language if I want. Problem is, when you have over a thousand contacts like i do, in all different nations. I had decided to set each of them to the proper language, but I had realized it is pretty time consuming thing to do.

So, if you could implement a feature into the contacts (under withed number) or preferably a new tab after "misc", where all supported language listed, and clicking on them will bring up the contact list, being able to select multiply contacts at ones. All selected contacts will have the same language set, and nothing else touched in the settings. So in case the contact already has its config file (as i realized you create a separate config file for each contact) , than only the language change.

2.,BUG POSSIBILITY : I am syncing my contacts with exchange/outlook. I had been realized, that in case of a COMPLETE RE-SYNC, which is unfortunately needed to be down regularly, E-Speak Caller "loose" the contact - setting association. Can you check please, that the id you use, is always find the contact even if a complete re-sync occur ?

3., QUESTION : As I realized, you are creating separate config file for each contact. Does it has any "maximum number of files in a dir" limitation ?

Many thanks for your help and reply,

Andrew

ndi 2010-04-24 14:18

Re: "Say who is calling"
 
coolice: how is adding each contact to a group manually then setting language different than selecting each contact manually and setting language?

Also, does anyone have my problem: sometimes, when the phone rings and espeak is starting its thing I get major drainage of CPU, sometimes to the point where ringtone drags. I also have recaller installed, and that clogs the CPU as well, but recaller starts after espeak, and the drain is before.

Might be a conflict. So, do you get this?

benny1967 2010-04-24 14:22

Re: "Say who is calling"
 
I'm sorry I have to report it still says the wrong name. :(

A different one this time, but still wrong.

EDIT: it's the same wrong entry that fMMS chooses as the sender of an MMS when I send testmessages to myself. When I call myself, the number is "+43XXX1234567", with XXX being the code for the operator and 1234567 my phone number. This entry is stored with my first and last name in the address book. The entry that both espeakcaller and fMMS use when doing the number>name lookup is my voicemail, which is "+43XXXYY1234567"; the last 7 digits are the same, but the vocemail entry is prefixed with 2 additional digits right after the operator code.
How is the number>name lookup done? do you only compare the last digits?

coolice 2010-04-27 08:20

Re: "Say who is calling"
 
Quote:

Originally Posted by ndi (Post 625916)
coolice: how is adding each contact to a group manually then setting language different than selecting each contact manually and setting language?

Also, does anyone have my problem: sometimes, when the phone rings and espeak is starting its thing I get major drainage of CPU, sometimes to the point where ringtone drags. I also have recaller installed, and that clogs the CPU as well, but recaller starts after espeak, and the drain is before.

Might be a conflict. So, do you get this?

ndi, may i ask how you create groups in e-speak caller ?

ndi 2010-04-27 12:17

Re: "Say who is calling"
 
I don't think you can, yet. You do have per-user settingsthough.

Spälä 2010-04-30 11:52

Re: [eSpeakCaller] Say who is calling
 
Hi again Arto.

Just to let you know, the battery draining issue seems to have been fixed now as I installed an updated version of eSpeak a few days ago.

So it seems that the problems wasn't in your app at all. :)

gameunit 2010-05-05 14:40

Re: [eSpeakCaller] Say who is calling
 
Sorry for the bump. But im a complete noob with this. Whenever i try to install espeakcaller, it says that some packages are missing. How do i install the great app ?


Sidenote: Already have espeak itself installed.

Running the PR. 1.1 on my n900.

Thanks :)

gameunit 2010-05-07 14:25

Re: [eSpeakCaller] Say who is calling
 
Quote:

Originally Posted by gameunit (Post 644643)
Sorry for the bump. But im a complete noob with this. Whenever i try to install espeakcaller, it says that some packages are missing. How do i install the great app ?


Sidenote: Already have espeak itself installed.

Running the PR. 1.1 on my n900.

Thanks :)

Update:

I installed the 4.7 python (full install) package, im now able to install it. However when i try to launch it, it crashes to desktop ? ? ? :confused:

amorek13 2010-05-26 00:03

Re: [eSpeakCaller] Say who is calling
 
i can not scroll down for more settings any updates on espeak caller?

littleboy 2010-05-26 05:54

Re: [eSpeakCaller] Say who is calling
 
Quote:

Originally Posted by amorek13 (Post 677474)
i can not scroll down for more settings any updates on espeak caller?

same problem:(
looking forward to solutions...

btw:freshly installed PR 1.2

gameunit 2010-05-26 10:57

Re: [eSpeakCaller] Say who is calling
 
Same prob, finally got it running thanks to the pr 1.2, now i cant scroll down either. Waiting for an update :)

amorek13 2010-05-26 18:24

Re: [eSpeakCaller] Say who is calling
 
Quote:

Originally Posted by gameunit (Post 678937)
Same prob, finally got it running thanks to the pr 1.2, now i cant scroll down either. Waiting for an update :)

is yours delayed also? mine vibrates 3 or 4 times before it says a name...

ndi 2010-05-26 18:44

Re: [eSpeakCaller] Say who is calling
 
I've had that in 1.1.1, depending on uptime. The CPU is pegged, with calling and audio and recaller and espeakcaller all fighting.

Raubtier 2010-05-26 21:47

Re: [eSpeakCaller] Say who is calling
 
mine is delayed too...great app though!!!

Raubtier 2010-05-28 11:26

Re: [eSpeakCaller] Say who is calling
 
i have another problem:

sometimes it speaks out the name , sometimes it doesnt..

i have some questions:

1) didnt change anything, what could be the reason? ways to solve it?

2) does it matter whether he numbers are stored as +43xxxxxx or 0650...? which works?

2) at first the names were always spoken out even if the app was closed, was that a bug meaning that under normal circumstances the app needs to be running in the background (dashboard)?

ndi 2010-05-28 14:36

Re: [eSpeakCaller] Say who is calling
 
Quote:

Originally Posted by Raubtier (Post 685362)
i have another problem:

sometimes it speaks out the name , sometimes it doesnt..

i have some questions:

1) didnt change anything, what could be the reason? ways to solve it?

2) does it matter whether he numbers are stored as +43xxxxxx or 0650...? which works?

2) at first the names were always spoken out even if the app was closed, was that a bug meaning that under normal circumstances the app needs to be running in the background (dashboard)?

1) Don't have that this far.

2) Both work

2) No, there's an invisible daemon that works for you.

Raubtier 2010-05-28 18:52

Re: [eSpeakCaller] Say who is calling
 
very weird...the problem still continues...sometimes it speaks the name out and five minutes later when the same person calls it doesnt?

will it be enough to get rid of the shortcut/widget from the desktop and retrieve it later or do i need to uninstall and install again?

ndi 2010-05-28 20:23

Re: [eSpeakCaller] Say who is calling
 
I'd try a remove-reboot-readd.

Mandibela 2010-05-30 19:26

Re: [eSpeakCaller] Say who is calling
 
Oh yeah.. Updated OTA to PR1.2 (absolutely no problems whatsoever, everything just works) and the 0.7 eSpeakCaller still works well. ..so that yo'all know. Thanks Arto!

Raubtier 2010-05-31 01:26

Re: [eSpeakCaller] Say who is calling
 
Quote:

Originally Posted by Raubtier (Post 686419)
very weird...the problem still continues...sometimes it speaks the name out and five minutes later when the same person calls it doesnt?

will it be enough to get rid of the shortcut/widget from the desktop and retrieve it later or do i need to uninstall and install again?

i removed the shortcut/app from the desktop and added it again. now all is working!

its just that the announcement-override starts at different times..sometimes sooner, sometimes later..


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

vBulletin® Version 3.8.8