hacky1997 / voice-based-email-for-blind

Emailing System for visually impaired persons
MIT License
67 stars 52 forks source link

some problems occurs in Voice based Email For Blind #12

Open ankitsharma21598 opened 4 years ago

ankitsharma21598 commented 4 years ago

Multiple time repetitions of audio speak with uncomplete sentences .so brother help me out from this problem. and reply me as soon as possible.

hacky1997 commented 4 years ago

Please provide the screenshots if possible. Like, when you execute the code it will start to save the audio file with .wav format. Now, tell me does the audio save twice? Or might be you have a slow internet connection [Not sure about this].

ankitsharma21598 commented 4 years ago

it's not saved with .wav format it is saved with mp3 format. problem with audio-only audio speaks multiple times with incomplete sentences. if you listen it then will understand the error. NO audio did not save twice and the internet connection is good.

edivyasai commented 4 years ago

I am also having same problem with multiple repitions of audio .This is my error.Please help me out of this problem as we are having project deadline very soon. You are logging from : MY PC

  1. composed a mail.
  2. Check your inbox Traceback (most recent call last): File "c:/Users/MY PC/divya/Desktop/voice-based-email-for-blind-master (1)/voice-based-email-for-blind-master/voice_based_email_for_blind.py", line 60, in tts.save(ttsname) File "C:\Users\MY PC\AppData\Local\Programs\Python\Python38\lib\site-packages\gtts\tts.py", line 294, in save with open(str(savefile), 'wb') as f: PermissionError: [Errno 13] Permission denied: 'C:\Users\MY PC\divya\Desktop/hello.mp3'
hacky1997 commented 4 years ago

@edivyasai I think you save in the wrong directory. PermissionError: [Errno 13] Permission denied: 'C:\Users\MY PC\divya\Desktop/hello.mp3'

hacky1997 commented 4 years ago

@ankitsharma21598 I have just made changes minor things in the code. Again run this from scratch. If again error occurs then add a project directory in ttsname=("hello.mp3"). Like C:\Users\\Desktop\\hello.mp3

ankitsharma21598 commented 4 years ago

Still showing the same problem audio speaks multiple times with incomplete sentences. AND output

hacky1997 commented 4 years ago

showing the same problem audio speaks multiple times with incomplete sentences. AND

Either delete this image or blur the password section. I have added a link before in my document section for SMTP Auth permission.

ankitsharma21598 commented 4 years ago

showing the same problem audio speaks multiple times with incomplete sentences. AND

Either delete this image or blur the password section. I have added a link before in my document section for SMTP Auth permission.

Still showing the same problem audio speaks multiple times with incomplete sentences. AND output

Still showing the same error. tell me were we edit email id and password in source code??

hacky1997 commented 4 years ago

@ankitsharma21598 This is because google had increased its security. It prevents you from sending a mail via SMTP port as it is more vulnerable. Again you have to check for this own. The solution is in the StackOverflow.

ankitsharma21598 commented 4 years ago

@ankitsharma21598 This is because google had increased its security. It prevents you from sending a mail via SMTP port as it is more vulnerable. Again you have to check for this own. The solution is in the StackOverflow.

The main problem is that audio speaks multiple times with incomplete 'text' sentences.plz, help me out and I have the project deadline very soon.

edivyasai commented 4 years ago

@edivyasai I think you save in the wrong directory. PermissionError: [Errno 13] Permission denied: 'C:\Users\MY PC\divya\Desktop/hello.mp3'

Now i haved saved in the same directory where python is located but the error didnot get resolved.What is the problem occuring in it?help me in getting out of the problem The error is: you are logging from : MY PC

  1. composed a mail.
  2. Check your inbox Traceback (most recent call last): File "c:/Users/MY PC/AppData/Local/Programs/Python/Python38/voice-based-email-for-blind-master (1)/voice-based-email-for-blind-master/voice_based_email_for_blind.py", line 49, in tts.save(ttsname) File "C:\Users\MY PC\AppData\Local\Programs\Python\Python38\lib\site-packages\gtts\tts.py", line 294, in save with open(str(savefile), 'wb') as f: PermissionError: [Errno 13] Permission denied: 'hello.mp3'
hacky1997 commented 4 years ago

@edivyasai Okay then try to run it with admin mode!

ankitsharma21598 commented 4 years ago

@ankitsharma21598 This is because google had increased its security. It prevents you from sending a mail via SMTP port as it is more vulnerable. Again you have to check for this own. The solution is in the StackOverflow.

The main problem is that audio speaks multiple times with incomplete 'text' sentences.plz, help me out and I have the project deadline very soon.

??

hacky1997 commented 4 years ago

@ankitsharma21598 This is because google had increased its security. It prevents you from sending a mail via SMTP port as it is more vulnerable. Again you have to check for this own. The solution is in the StackOverflow.

The main problem is that audio speaks multiple times with incomplete 'text' sentences.plz, help me out and I have the project deadline very soon.

??

I really don't have any idea. As your message, It plays twice in your background. But this is not a bug of my code as far as I know. When I was in college I use this code and it works fine for me and with other people who have used my project before. This issue is new to me and I can't solve everything without understanding the actual problem with the system. Maybe in the background, it runs twice. Or maybe the package text-to-speech module itself a bug with its new update. Like google has stopped their text to speech API before with URL link. As I am an Employee So I need time to test this again. I will tell you on Sunday.

ankitsharma21598 commented 4 years ago

@ankitsharma21598 This is because google had increased its security. It prevents you from sending a mail via SMTP port as it is more vulnerable. Again you have to check for this own. The solution is in the StackOverflow.

The main problem is that audio speaks multiple times with incomplete 'text' sentences.plz, help me out and I have the project deadline very soon. ??

I really don't have any idea. As your message, It plays twice in your background. But this is not a bug of my code as far as I know. When I was in college I use this code and it works fine for me and with other people who have used my project before. This issue is new to me and I can't solve everything without understanding the actual problem with the system. Maybe in the background, it runs twice. Or maybe the package text-to-speech module itself a bug with its new update. Like google has stopped their text to speech API before with URL link. As I am an Employee So I need time to test this again. I will tell you on Sunday.

NO problem sir it is sorted out now by another library And thanks for your love and support.

chitti-anu commented 4 years ago

Hi sir I am getting multiple time voice in background and it doesn't take my voice anyone should help me sir.

On Fri, 28 Aug 2020, 6:02 pm ankitsharma21598, notifications@github.com wrote:

@ankitsharma21598 https://github.com/ankitsharma21598 This is because google had increased its security. It prevents you from sending a mail via SMTP port as it is more vulnerable. Again you have to check for this own. The solution is in the StackOverflow.

The main problem is that audio speaks multiple times with incomplete 'text' sentences.plz, help me out and I have the project deadline very soon. ??

I really don't have any idea. As your message, It plays twice in your background. But this is not a bug of my code as far as I know. When I was in college I use this code and it works fine for me and with other people who have used my project before. This issue is new to me and I can't solve everything without understanding the actual problem with the system. Maybe in the background, it runs twice. Or maybe the package text-to-speech module itself a bug with its new update. Like google has stopped their text to speech API before with URL link. As I am an Employee So I need time to test this again. I will tell you on Sunday.

NO problem sir it is sorted out now by another library And thanks for your love and support.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/hacky1997/voice-based-email-for-blind/issues/12#issuecomment-682499574, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQDLHSFVE5JAM7GDUNKCOHLSC6PVBANCNFSM4QMOK4TQ .

edivyasai commented 4 years ago

@ankitsharma21598 This is because google had increased its security. It prevents you from sending a mail via SMTP port as it is more vulnerable. Again you have to check for this own. The solution is in the StackOverflow.

The main problem is that audio speaks multiple times with incomplete 'text' sentences.plz, help me out and I have the project deadline very soon. ??

I really don't have any idea. As your message, It plays twice in your background. But this is not a bug of my code as far as I know. When I was in college I use this code and it works fine for me and with other people who have used my project before. This issue is new to me and I can't solve everything without understanding the actual problem with the system. Maybe in the background, it runs twice. Or maybe the package text-to-speech module itself a bug with its new update. Like google has stopped their text to speech API before with URL link. As I am an Employee So I need time to test this again. I will tell you on Sunday.

NO problem sir it is sorted out now by another library And thanks for your love and support.

hello brother,could you please tell me what is the library you have used to get rid of audio speaks multiple times

ankitsharma21598 commented 4 years ago

@ankitsharma21598 This is because google had increased its security. It prevents you from sending a mail via SMTP port as it is more vulnerable. Again you have to check for this own. The solution is in the StackOverflow.

The main problem is that audio speaks multiple times with incomplete 'text' sentences.plz, help me out and I have the project deadline very soon. ??

I really don't have any idea. As your message, It plays twice in your background. But this is not a bug of my code as far as I know. When I was in college I use this code and it works fine for me and with other people who have used my project before. This issue is new to me and I can't solve everything without understanding the actual problem with the system. Maybe in the background, it runs twice. Or maybe the package text-to-speech module itself a bug with its new update. Like google has stopped their text to speech API before with URL link. As I am an Employee So I need time to test this again. I will tell you on Sunday.

NO problem sir it is sorted out now by another library And thanks for your love and support.

hello brother,could you please tell me what is the library you have used to get rid of audio speaks multiple times

playsound

ankitsharma21598 commented 4 years ago

Hi sir I am getting multiple time voice in background and it doesn't take my voice anyone should help me sir. On Fri, 28 Aug 2020, 6:02 pm ankitsharma21598, @.**> wrote: @ankitsharma21598 https://github.com/ankitsharma21598 This is because google had increased its security. It prevents you from sending a mail via SMTP port as it is more vulnerable. Again you have to check for this own. The solution is in the StackOverflow. The main problem is that audio speaks multiple times with incomplete 'text' sentences.plz, help me out and I have the project deadline very soon. ?? I really don't have any idea. As your message, It plays twice in your background. But this is not a bug of my code as far as I know. When I was in college I use this code and it works fine for me and with other people who have used my project before. This issue is new to me and I can't solve everything without understanding the actual problem with the system. Maybe in the background, it runs twice. Or maybe the package text-to-speech module itself a bug with its new update. Like google has stopped their text to speech API before with URL link. As I am an Employee So I need time to test this again. I will tell you on Sunday. NO problem sir it is sorted out now by another library And thanks for your love and support.* — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#12 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQDLHSFVE5JAM7GDUNKCOHLSC6PVBANCNFSM4QMOK4TQ .

use playsound library to gid rid of audio problem

edivyasai commented 4 years ago

@ankitsharma21598 This is because google had increased its security. It prevents you from sending a mail via SMTP port as it is more vulnerable. Again you have to check for this own. The solution is in the StackOverflow.

The main problem is that audio speaks multiple times with incomplete 'text' sentences.plz, help me out and I have the project deadline very soon. ??

I really don't have any idea. As your message, It plays twice in your background. But this is not a bug of my code as far as I know. When I was in college I use this code and it works fine for me and with other people who have used my project before. This issue is new to me and I can't solve everything without understanding the actual problem with the system. Maybe in the background, it runs twice. Or maybe the package text-to-speech module itself a bug with its new update. Like google has stopped their text to speech API before with URL link. As I am an Employee So I need time to test this again. I will tell you on Sunday.

NO problem sir it is sorted out now by another library And thanks for your love and support.

hello brother,could you please tell me what is the library you have used to get rid of audio speaks multiple times

playsound

Thank you so much brother .It really worked well. But My system is not taking my voice as input.Could you please help me.

ankitsharma21598 commented 4 years ago

My system is not taking my voice as input.C

sure, share the screenshot of the error if it is posible.

edivyasai commented 4 years ago

My system is not taking my voice as input.C

sure, share the screenshot of the error if it is posible.

The error has been sorted out brother by changing some few lines of code .And it is executing very well now. Thank you brother for the support :)

asthakhandelwal27 commented 3 years ago

@edivyasai can you please tell me how did you resolved that issue . I am also facing the same problem

nsandy752 commented 3 years ago

@ankitsharma21598 bro please help me how you solved your issue ,i am facing the same issues my project deadline is very near