MycroftAI / skill-volume

Mycroft AI official Volume Skill - control the volume of your Device
https://mycroft.ai/skills
Apache License 2.0
10 stars 30 forks source link

Cannot modify the volume to Picroft #19

Closed redviper2100 closed 4 years ago

redviper2100 commented 6 years ago

Hi,

I copied the latest image of the Picroft for a Raspberry pi 3 B+, but I cannot set the Volume. It seems there's a problem with the skill since i can manually set the volume from python command line. https://github.com/MycroftAI/enclosure-picroft/tree/stretch

I get this following error:


Traceback (most recent call last):
File "/home/pi/mycroft-core/mycroft/skills/core.py", line 707, in wrapper
handler(message)
~~~~/skills/mycroft-volume.mycroftai/__init__.py", line 95, in handle_set_volume
level = self.__get_volume_level(message, self.mixer.getvolume()[0])
AttributeError: 'VolumeSkill' object has no attribute 'mixer'

Can anybody help me?
forslund commented 6 years ago

Hi, can you check the skills log (/var/log/mycroft/skills.log) for something like

Couldn't allocate mixer, followed by some sort of reason for the failure.

forslund commented 6 years ago

Hi again, I think I've found a workaround for this issue. I will create a PR shortly

forslund commented 6 years ago

You can now try the beta hey mycroft install the beta version of the volume skill

krisgesling commented 4 years ago

Hi there, we believe this issue has been resolved. Please let us know if you're still seeing issues.