Open JairoJosy opened 2 years ago
Hi, I think it's the version of the aiml module this skill relies on that is the issue. There is a slightly more modern version I will try to use instead.
@forslund I s there any way I can use the modern version ?
I've updated the requirements.txt to use the newer module.
You can quickly test try this by installing python-aiml
in your mycroft venv
on picroft simply run mycroft-pip install python-aiml
, on a desktop (from the mycroft-core folder) run
source venv-activate.sh
pip install python-aiml
tried installing but still does not work
I'm having the same issue. Error says that module 'time' has no attribute 'clock'. And it's still not working after installing the new requirements.txt
Sounds like it's still using the old library. can you try to run
pip uninstall aiml
pip uninstall python-aiml
pip install python-aiml
To make sure the newer package is the only one installed in the mycroft-venv?
Output of mycroft-pip list
indicates that I'm using aiml 0.9.2
and python-aiml 0.9.3
This is the error message if that helps:
Ok, but if you try to remove the aiml
-module? I think having both versions is the issue.
Tried that but the skill can't load properly without the aiml
module.
The problem seems to be that both those modules uses the same module name "aiml" which causes some weird issues if both gets installed...Installing python-aiml will not uninstall aiml and Uninstalling aiml will remove files from both modules while pip install info shows python-aiml as installed.
For me (TM), I could do the following when I had the time.clock Attribute error and also made the mistake of installing both aiml and python aiml:
(In the mycroft-core folder)
source venv-activate.sh
pip uninstall aiml
pip uninstall python-aiml
pip install python-aiml
./start-mycroft.sh skills restart
After that little song and dance number it started up and answered the question "do you like ice cream" again.
Can you verify that those steps works for you as well (or if you could get something similar to work), if it solves the issue I can create a requirements.sh script that does this automatically.
Yup that worked! Thanks a lot. This should be in a different issue but is it normal for Mycroft to reply "I like ." to "Do you like icecreams?" and "I am ." to "Are you male or female?"?
When I ask questions like "Do you like Ice Cream", it responds "I don't understand". I tried re-installing mycroft and fallbck-aiml. But no use. THIS IS WHAT I GET ON THE DEBUG SCREEN: