jasperproject / jasper-client

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

Error after running jasper.py #722

Open zeesh1979 opened 4 years ago

zeesh1979 commented 4 years ago

hi, when i run jsper, its not running. below are logs:

pi@raspberrypi:~ $ /home/pi/jasper/jasper.py


below is my .asoudrc file (whenever i make changes to it, after reboot it goes back to same as below)

pcm.!default {
    type hw
    card 1
}

ctl.!default {
    type hw
    card 1
}

below my sound devices: pi@raspberrypi:~ $ arecord -l List of CAPTURE Hardware Devices card 0: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0 pi@raspberrypi:~ $ aplay -l List of PLAYBACK Hardware Devices card 1: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA] Subdevices: 8/8 Subdevice #0: subdevice #0 Subdevice #1: subdevice #1 Subdevice #2: subdevice #2 Subdevice #3: subdevice #3 Subdevice #4: subdevice #4 Subdevice #5: subdevice #5 Subdevice #6: subdevice #6 Subdevice #7: subdevice #7 card 1: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI] Subdevices: 1/1 Subdevice #0: subdevice #0

below my /etc/asound.conf: pcm.!default { type asym capture.pcm "mic" playback.pcm "speaker" } pcm.mic { type plug slave { pcm "hw:0,0" } } pcm.speaker { type plug slave { pcm "hw:1,0" } }

nikhilgg commented 4 years ago

Did you find a solution?

I've the same issue. I had set it up 8-9 months ago. Used to work. Restarted the pi today after a long time and face this issue when trying to use Jasper.

zeesh1979 commented 4 years ago

Nops. I heard the project stopped and no updates coming now

Get Outlook for Androidhttps://aka.ms/ghei36


From: Nikhil Gupta notifications@github.com Sent: Thursday, April 16, 2020 10:10:26 AM To: jasperproject/jasper-client jasper-client@noreply.github.com Cc: zeesh1979 zeesh1979@hotmail.com; Author author@noreply.github.com Subject: Re: [jasperproject/jasper-client] Error after running jasper.py (#722)

Did you find a solution?

I've the same issue. I had set it up 8-9 months ago. Used to work. Restarted the pi today after a long time and face this issue when trying to use Jasper.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/jasperproject/jasper-client/issues/722#issuecomment-614457698, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AE5TO4GED4NMZ56VEMPVMDTRM2VOFANCNFSM4K36VCTA.

appeacock commented 4 years ago

The work is being continued at https://github.com/aplawson/jasper-client, specifically an update to Python3 and a tutorial on how to build it or deploy it with a custom Raspbian ISO image. //adam

zeesh1979 commented 4 years ago

Thanks. i have put the image from sourceforge to my RPi3b but its not booting (red led is continuous on). what could be wrong? my sd card card and rpi both are fine coz i used a working set for this


From: aplawson notifications@github.com Sent: Sunday, April 26, 2020 10:12 PM To: jasperproject/jasper-client jasper-client@noreply.github.com Cc: zeesh1979 zeesh1979@hotmail.com; Author author@noreply.github.com Subject: Re: [jasperproject/jasper-client] Error after running jasper.py (#722)

The work is being continued at https://github.com/aplawson/jasper-client, specifically an update to Python3 and a tutorial on how to build it or deploy it with a custom Raspbian ISO image. //adam

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/jasperproject/jasper-client/issues/722#issuecomment-619608261, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AE5TO4BD3NYPAUWNOFEBNWTROSBRJANCNFSM4K36VCTA.

appeacock commented 4 years ago

I would attach a monitor and watch the output while the rPI is booting. That will disclose many issues (and when they occur) during the boot-up process. //adam

appeacock commented 4 years ago

Also there are two projects with an rPI image. https://sourceforge.net/projects/jasperproject has a stale/broken image. https://sourceforge.net/projects/jasperclient has an image that was tested in February or March of this year so much more current.

zeesh1979 commented 4 years ago

Oh i had downloaded from 1st link. I will check other one. Thanks

Get Outlook for Androidhttps://aka.ms/ghei36


From: aplawson notifications@github.com Sent: Tuesday, April 28, 2020 6:23:59 PM To: jasperproject/jasper-client jasper-client@noreply.github.com Cc: zeesh1979 zeesh1979@hotmail.com; Author author@noreply.github.com Subject: Re: [jasperproject/jasper-client] Error after running jasper.py (#722)

Also there are two projects with an rPI image. https://sourceforge.net/projects/jasperproject has a stale/broken image. https://sourceforge.net/projects/jasperclient has an image that was tested in February or March of this year so much more current.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/jasperproject/jasper-client/issues/722#issuecomment-620675394, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AE5TO4B5G4UO2ISHTUWSOIDRO3YI7ANCNFSM4K36VCTA.

zeesh1979 commented 4 years ago

Hi, I have flashed it to my SD and its up now. but how to run jasper now? i cannt seem to find any python or shell file to run


From: aplawson notifications@github.com Sent: Tuesday, April 28, 2020 6:23 PM To: jasperproject/jasper-client jasper-client@noreply.github.com Cc: zeesh1979 zeesh1979@hotmail.com; Author author@noreply.github.com Subject: Re: [jasperproject/jasper-client] Error after running jasper.py (#722)

Also there are two projects with an rPI image. https://sourceforge.net/projects/jasperproject has a stale/broken image. https://sourceforge.net/projects/jasperclient has an image that was tested in February or March of this year so much more current.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/jasperproject/jasper-client/issues/722#issuecomment-620675394, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AE5TO4B5G4UO2ISHTUWSOIDRO3YI7ANCNFSM4K36VCTA.