I was able to debug and the issue is from extract_datetime(). Looks like parse_hi.py and format_hi.py are not completely in place. Is there a way to validate this code offline.
Also, are there any in built skills that does not require date and time.
Iām not sure what you mean @madhukar by validating the code offline?
Do you mean try to get the code working with a Skill that does not make internet based requests? The Reminder, Alarm and Timer Skills are local to the Device and do not require an internet connection.
I thought may be I could test parse_hi.py and format_hi.py directly on some python editor and validate each function by giving some inputs. If it is fine then I could move it PI. Is this possible to do so. Iām quite new to Python programming.
Meanwhile, I had implemented a new skill which does not deal with any date or time. The output of the request is text. I would like to translate the text to current language (Hindi) before submitting it to TTS engine. I believe mycroft does not provide translate functionality. Is my assumption correct?
I tried to use googletrans, but whenever I tried to import googletrans I see an exception in that skill. I gave the import as
from googletrans import Translator in init.py of that particular skill.