Comments (3)
Facing the same issue. More details from the logs (if that helps):
11:40:23.873 - SKILLS - DEBUG - {"type": "recognizer_loop:wakeword", "data": {"session": "xxx", "utterance": "hey mycroft"}, "context": null}
11:40:23.884 - SKILLS - DEBUG - {"type": "Command: mouth.reset", "data": {}, "context": null}
11:40:26.144 - SKILLS - DEBUG - {"type": "recognizer_loop:utterance", "data": {"lang": "en-US", "session": "xxx": ["what time is it"]}, "context": null}
11:40:26.154 - SKILLS - DEBUG - {"type": "skill.converse.request", "data": {"lang": "en-US", "skill_id": 1017122086, "utterances": ["what time is it"]}, "context": null}
11:40:26.164 - SKILLS - DEBUG - {"type": "skill.converse.response", "data": {"skill_id": 1017122086, "result": false}, "context": null}
11:40:26.291 - SKILLS - DEBUG - {"type": "1017122086:SpeakIntent", "data": {"confidence": 1.0, "target": null, "intent_type": "1017122086:SpeakIntent", "TimeKeyword": "time", "__tags__": [{"end_token": 0, "start_
token": 0, "from_context": false, "entities": [{"confidence": 1.0, "data": [["what", "QueryKeyword"]], "key": "what", "match": "what"}], "key": "what", "match": "what"}, {"end_token": 1, "start_token": 1, "from_c
ontext": false, "entities": [{"confidence": 1.0, "data": [["time", "TimeKeyword"]], "key": "time", "match": "time"}], "key": "time", "match": "time"}], "QueryKeyword": "what", "utterance": "what time is it"}, "co
ntext": {"target": null}}
11:40:26.308 - mycroft.client.enclosure.display_manager:set_active:101 - DEBUG - Setting active skill to TimeSkill
11:40:26.312 - SKILLS - DEBUG - {"type": "mycroft.skill.handler.start", "data": {"handler": "TimeSkill.handle_speak_intent"}, "context": null}
11:40:26.330 - SKILLS - DEBUG - {"type": "speak", "data": {"expect_response": false, "utterance": "It is 17:10"}, "context": null}
11:40:26.333 - mycroft.client.enclosure.display_manager:set_active:101 - DEBUG - Setting active skill to TimeSkill
11:40:26.346 - mycroft.client.enclosure.display_manager:set_active:101 - DEBUG - Setting active skill to TimeSkill
11:40:26.361 - mycroft.client.enclosure.display_manager:set_active:101 - DEBUG - Setting active skill to TimeSkill
11:40:26.372 - mycroft.client.enclosure.display_manager:set_active:101 - DEBUG - Setting active skill to TimeSkill
11:40:26.387 - mycroft.client.enclosure.display_manager:set_active:101 - DEBUG - Setting active skill to TimeSkill
11:40:26.399 - mycroft.client.enclosure.display_manager:set_active:101 - DEBUG - Setting active skill to TimeSkill
11:40:26.409 - mycroft.client.enclosure.display_manager:set_active:101 - DEBUG - Setting active skill to TimeSkill
11:40:26.419 - mycroft.client.enclosure.display_manager:set_active:101 - DEBUG - Setting active skill to TimeSkill
11:40:26.434 - mycroft.skills.core:wrapper:371 - ERROR - An error occurred while processing a request in TimeSkill
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/mycroft_core-0.9.0-py2.7.egg/mycroft/skills/core.py", line 358, in wrapper
handler(message)
File "/opt/mycroft/skills/skill-date-time/__init__.py", line 170, in handle_speak_intent
self._update_time()
File "/opt/mycroft/skills/skill-date-time/__init__.py", line 163, in _update_time
self.timer.start()
File "/usr/lib/python2.7/threading.py", line 739, in start
raise RuntimeError("threads can only be started once")
RuntimeError: threads can only be started once
11:40:26.486 - SKILLS - DEBUG - {"type": "speak", "data": {"expect_response": false, "utterance": "An error occurred while processing a request in TimeSkill"}, "context": null}
11:40:26.488 - SKILLS - DEBUG - {"type": "mycroft.skill.handler.complete", "data": {"exception": "threads can only be started once", "handler": "TimeSkill.handle_speak_intent"}, "context": null}
11:40:26.492 - SKILLS - DEBUG - {"type": "mycroft.skill.handler.complete", "data": {"handler": "TimeSkill.handle_speak_intent"}, "context": null}
from skill-date-time.
This PR #19 should address things. But be aware that a skill is considered "active" if it is controlling a display, so when Show Time when Idle is checked then this skill will remain on the active list.
from skill-date-time.
I think this is dealt with now.
from skill-date-time.
Related Issues (20)
- _get_timezone_from_builtins() fails for Europe/Dublin (nominatim gets confused)
- ancient version of pytz isn't compatible with modern python versions
- FEATURE REQUEST: Respond to TimeZone Intent as well as Location Intent
- Skill thrashing after desktop suspend/resume HOT 11
- Shorten date faceplate display HOT 5
- Feature Request: Add AM and PM to 12 hour format Time details... HOT 3
- Time in location gives current local time HOT 1
- Language support using nice_date
- Language support using nice_time - remove hack
- "What's the time" gives time in different timezone HOT 2
- Whats the Date HOT 1
- Support Astral 2.1
- Support querying for holidays HOT 4
- german language issue
- Failed to load skill: mycroft-date-time.mycroftai (ImportError("cannot import name 'geocoder' from 'astral'
- frequent timezone api calls
- Installing skill-date-time on Mark 1 fails because of numpy HOT 8
- Interesting error after LF refactor HOT 7
- Should not answer general "when" questions
- Feature: drop year from date reporting
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from skill-date-time.