Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error on skill_id and gui.clear.namespace #37

Open
AIIX opened this issue Feb 25, 2020 · 0 comments
Open

error on skill_id and gui.clear.namespace #37

AIIX opened this issue Feb 25, 2020 · 0 comments

Comments

@AIIX
Copy link
Collaborator

AIIX commented Feb 25, 2020

The error seems to occur randomly, sometimes when mycroft-gui is restarted or when mycroft-core looses internet connection and reconnects, or between sending pages

Adding two instances when the error has occurred:

2020-02-25 21:35:11.215 | ERROR    |  6208 | mycroft.skills.mycroft_skill.mycroft_skill:on_error:805 | An error occurred while processing a request in Bit Chute Skill
Traceback (most recent call last):
  File "/opt/mycroft/skills/bitchute-skill/__init__.py", line 389, in get_play_video
    self.set_video_thumb(vid_thumb)
  File "/opt/mycroft/skills/bitchute-skill/__init__.py", line 378, in set_video_thumb
    self.gui.show_page("BitchutePlayer.qml", override_idle=True)
  File "/home/aix/mycroft-core/mycroft/enclosure/gui.py", line 137, in show_page
    self.show_pages([name], 0, override_idle)
  File "/home/aix/mycroft-core/mycroft/enclosure/gui.py", line 162, in show_pages
    data.update({'__from': self.skill.skill_id})
AttributeError: 'NoneType' object has no attribute 'skill_id'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/aix/mycroft-core/mycroft/skills/mycroft_skill/event_container.py", line 66, in wrapper
    handler(message)
  File "/opt/mycroft/skills/bitchute-skill/__init__.py", line 126, in bitchute
    self.get_play_video(utterance)
  File "/opt/mycroft/skills/bitchute-skill/__init__.py", line 401, in get_play_video
    self.gui.clear()
  File "/home/aix/mycroft-core/mycroft/enclosure/gui.py", line 111, in clear
    self.skill.bus.emit(Message("gui.clear.namespace",
AttributeError: 'NoneType' object has no attribute 'bus'
2020-02-25 22:09:14.214 | ERROR    |  6208 | mycroft.skills.mycroft_skill.mycroft_skill:on_error:805 | An error occurred while processing a request in Bit Chute Skill
Traceback (most recent call last):
  File "/home/aix/mycroft-core/mycroft/skills/mycroft_skill/event_container.py", line 66, in wrapper
    handler(message)
  File "/opt/mycroft/skills/bitchute-skill/__init__.py", line 73, in launcherId
    self.show_homepage({})
  File "/opt/mycroft/skills/bitchute-skill/__init__.py", line 188, in show_homepage
    self.process_home_page()
  File "/opt/mycroft/skills/bitchute-skill/__init__.py", line 197, in process_home_page
    self.gui.clear()
  File "/home/aix/mycroft-core/mycroft/enclosure/gui.py", line 111, in clear
    self.skill.bus.emit(Message("gui.clear.namespace",
AttributeError: 'NoneType' object has no attribute 'bus'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant