mysamai / mysam

An open "intelligent" assistant for the web that can listen to you and learn.
https://mysamai.com
GNU General Public License v3.0
621 stars 65 forks source link

Can't click on UI? #21

Open Cryptophobia opened 8 years ago

Cryptophobia commented 8 years ago

Hi,

What version of node was this built with?

I tried to run this on Fedora and OS X Yosemite. It works when installing as a global package. However, when I get to the screen after inputing my name, I cannot click on anything. Also I tried Firefox and Chrome. I ran it in both server and regular mode with Electron.

I tried to run it in development mode but still the same UI problem. After running once and closing, restarting it gives me an image of a brain with neural network screen, can't go beyond that screen (that is probably a db problem?). At that point I have to reinstall the packages in order to get it to work again.

EDIT: Just for the record, I tried node v0.10.2 and v4.4.4, both work but still have the problems with the UI with both.

Any help on these problems?

Thank you,

daffl commented 8 years ago

You have to talk to it 😄 Listening can be triggered by either clicking the microphone icon in the top right or pressing the CTRL + SPACE shortcut. A way to test if it is working is to ask if it can hear you.

Cryptophobia commented 8 years ago

Haha, works now that I have a working microphone! Looks like a working microphone is a prerequisite. :)

By the way, I am still having trouble getting the mysam-weather plugin to work. Seems to freeze when I ask it about the weather. And it also does not seem to learn anything when I tag a new location.

Also, the Electron UI is not recognizing my microphone when i click CTRL + SPACE it unclicks the microphone right away, so I had to run it with mysam --server to get around that for now.

Anyways, can't wait to try to build a plugin for this!!! Calendar assistant, code deployer, website tours guide, so many things you can do!

daffl commented 8 years ago

Hm... maybe it can't get the location? I'll double check to see if something broken. What version of Node are you using?

Definitely let me know if you have any other questions for writing plugins. I started working on the next iteration of the UI and plugin system which will hopefully be a little less clunky (and also include a new plugin generator). I can keep you posted if you are interested in beta testing?

Cryptophobia commented 8 years ago

I have been running it on 4.2.2.

Yes, I hope to get a chance to explore it more and get some free time to write a plugin soon. Beta testing would be cool. Keep me posted!

Thanks for all the hard work!

darrindickey commented 7 years ago

For what it's worth, I have a similar issue. Installed on El Capitan 10.11.6 using NVM 0.31.4 and Python 6.5.0 (also run with Python 4.3.1). I get the initial screen where I type my name and it welcomes me. After that, the mic only stays on for a second after clicking it or using CTRL+Space, then goes off.

It seems to work running "mysam -s".

"mysam -d" gets stuck on the loading screen and throws about 50 console errors. Most, if not all of them, appear to be the app looking for node modules that are either not there or the files aren't where the app expects them to be.

Cryptophobia commented 7 years ago

Seems to be the problem on OS X with Electron UI.

Using mysam --server to get around that worked for me... 👷

daffl commented 7 years ago

I have a branch with a (also much nicer looking) new version which also updates the Electron and all other dependencies. Hopefully it will fix this issue.

darrindickey commented 7 years ago

@daffl Awesome! Can't wait to try it. Also, is there any kind of community outside of issue reports where we can ask general questions? I don't want to open "bug" reports to ask basic stuff.