hacky1997 / voice-based-email-for-blind

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

Unseen, Important, Starred, Trash #1

Closed hacky1997 closed 4 years ago

hacky1997 commented 6 years ago

Have to add more features like total number of deleted mails, flag a mail to important or starred, select particularly an unseen mail for read.

adarsh-nl commented 4 years ago

getting error

project name

tts = gTTS(text="Project: Voice based Email for blind", lang='en') ttsname=("vmail\vname.mp3") tts.save(ttsname)

OSError:[Errno 22] Invalid argument: 'vmail\x0bname.mp3'

hacky1997 commented 4 years ago

@adarsh-nl use a valid directory like -> C:/Users/sayak/Desktop Use your own proper directory.

hacky1997 commented 4 years ago

@adarsh-nl If 'vmail\x0bname.mp3' occurs I mean its a unicode escape error. To solve this just use "C:\Users\[ur_directory]\Desktop\name.mp3" r"C:\Users[ur_directory]\Desktop\name.mp3"

adarsh-nl commented 4 years ago

[ur_directory] is the path that leads to the file present right

adarsh-nl commented 4 years ago

i installed all the required files via anaconda i gave the path as you mentioned in the eariler comment the code compiles but the speech is not good its like gibberish could you help me fix this

hacky1997 commented 4 years ago

@adarsh-nl Could you please tell me briefly? I know its sound a bit low and its for the tts module.

adarsh-nl commented 4 years ago

the audio is being repeated it doesn't stop

hacky1997 commented 4 years ago

@adarsh-nl I have not used any loop for this. Ok, try to run this from command prompt.

adarsh-nl commented 4 years ago

i coded everything from the scratch but i encounter a error

SMTPAuthenticationError: (535, b'5.7.8 Username and Password not accepted. Learn more at\n5.7.8 https://support.google.com/mail/?p=BadCredentials k16sm24937463pje.18 - gsmtp')

hacky1997 commented 4 years ago

It is because of your gmail account. You have to select the trusted option of the Mailing protocol which i have used in code. I think you will get a mail into your inbox. Have you?

adarsh-nl commented 4 years ago

couldn't understand "trusted option of the mailing protocol"

hacky1997 commented 4 years ago

https://www.google.com/settings/security/lesssecureapps Access for less security app enable karo

hacky1997 commented 4 years ago

@exist-world please create a new issue. This is @adarsh-nl 's issue.

hacky1997 commented 4 years ago

@adarsh-nl have you sorted out your problem?

adarsh-nl commented 4 years ago

yes