jasperproject / jasper-client

Client code for Jasper voice computing platform
MIT License
4.52k stars 1.01k forks source link

Need help about jasper #684

Open zack2213 opened 6 years ago

zack2213 commented 6 years ago

RROR:apscheduler.executors.default:Job "Notifier.gather (trigger: interval[0:00:30], next run at: 2018-06-01 14:15:23 UTC)" raised an exception Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/apscheduler/executors/base.py", line 108, in run_job retval = job.func(*job.args, *job.kwargs) File "/home/pi/jasper/client/notifier.py", line 39, in gather [client.run() for client in self.notifiers] File "/home/pi/jasper/client/notifier.py", line 18, in run self.timestamp = self.gather(self.timestamp) File "/home/pi/jasper/client/notifier.py", line 43, in handleEmailNotifications emails = Gmail.fetchUnreadEmails(self.profile, since=lastDate) File "/home/pi/jasper/client/modules/Gmail.py", line 63, in fetchUnreadEmails conn.login(profile['gmail_address'], profile['gmail_password']) File "/usr/lib/python2.7/imaplib.py", line 507, in login raise self.error(dat[-1]) error: Empty username or password. g40-v6mb41438488ywk INFO:client.stt:Transcribed: [''] INFO:client.stt:Transcribed: [''] INFO:client.stt:Transcribed: ['IN'] INFO:client.stt:Transcribed: ['IN'] INFO:client.stt:Transcribed: [''] INFO:client.stt:Transcribed: ['IN'] INFO:client.stt:Transcribed: ['IN'] INFO:client.stt:Transcribed: ['IN'] INFO:client.stt:Transcribed: ['IN'] INFO:client.stt:Transcribed: [''] INFO:client.stt:Transcribed: [''] INFO:client.stt:Transcribed: ['IN'] INFO:client.stt:Transcribed: [''] ERROR:apscheduler.executors.default:Job "Notifier.gather (trigger: interval[0:00:30], next run at: 2018-06-01 14:15:53 UTC)" raised an exception Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/apscheduler/executors/base.py", line 108, in run_job retval = job.func(job.args, **job.kwargs) File "/home/pi/jasper/client/notifier.py", line 39, in gather [client.run() for client in self.notifiers] File "/home/pi/jasper/client/notifier.py", line 18, in run self.timestamp = self.gather(self.timestamp) File "/home/pi/jasper/client/notifier.py", line 43, in handleEmailNotifications emails = Gmail.fetchUnreadEmails(self.profile, since=lastDate) File "/home/pi/jasper/client/modules/Gmail.py", line 63, in fetchUnreadEmails conn.login(profile['gmail_address'], profile['gmail_password']) File "/usr/lib/python2.7/imaplib.py", line 507, in login raise self.error(dat[-1]) error: Empty username or password. m68-v6mb261731760yba INFO:client.stt:Transcribed: ['IN']

dedenker commented 6 years ago

The error states "Empty username or password". So check these.

zack2213 commented 6 years ago

So how to edit username or password.....do i need using sudo nano ~/.jasper/profile.yml???please guide me....im so newbie in python...

dedenker commented 6 years ago

Yes. RTFM. Fill in the information in the profile.yml or disable it. Same file. All is documented.

zack2213 commented 6 years ago

pi@raspberrypi ~/jasper $ python jasper.py


thanks man....but i got new error this...im using logitech usb earphone+microphone.....

dedenker commented 6 years ago

I only see an error in the email module. Try to disable it (read the documentarion on how to disable email). And restart, i do not see an error with any sound device.