augustnmonteiro / mycroft-youtube

A skill to play youtube
14 stars 15 forks source link

Mycroft not understanding "youtube" #11

Open NathanLKing opened 6 years ago

NathanLKing commented 6 years ago

Hi August,

I'm hoping to get some assistance on this Skill as it isn't functioning. Could you spare some time to assist?

Thanks.

Nathan

glor commented 5 years ago

I had the same problem and took the time to investigate. There seams to be a problem in the mycroft-core/.venv/lib/python3.7/site-packages/firebase/ package which is a dependency for this skill.

Problem

async is a keyword in newer python versions and there exists a file mycroft-core/.venv/lib/python3.7/site-packages/firebase/async.py which cannot be imported.

How to solve/dirty fix

  1. rename mycroft-core/.venv/lib/python3.7/site-packages/firebase/async.py to asyncn.py
  2. edit mycroft-core/.venv/lib/python3.7/site-packages/firebase/__init__.py:
    • change the line from .async import process_pool to from .asyncn import process_pool
  3. edit mycroft-core/.venv/lib/python3.7/site-packages/firebase/firebase.py:
    • change the line from .async import process_pool to from .asyncn import process_pool
glor commented 5 years ago

I forked and updated this skill: https://gitlab.com/glor/mycroft-youtube