MycroftAI / snapcraft-mycroft-core

This project is for building mycroft-core snaps
MIT License
13 stars 11 forks source link

Running snap edge missing alsa plug #30

Open guyluz11 opened 2 years ago

guyluz11 commented 2 years ago

Describe the bug After a clean installation of snap mycroft edge and running it I am getting a popup asking me to connect the snap to alsa plug. When running the command I am getting an error that the plug does not exist for mycroft

To Reproduce Steps to reproduce the behavior: Steps to reproduce the behavior:

  1. Run command sudo snap install mycroft --beta
  2. Run command sudo snap connect mycroft:mount-observe
  3. Run the command mycroft
  4. In the popup locate the command that it ask you to run, it will be sudo snap connect mycroft:alsa
  5. Run the command sudo snap connect mycroft:alsa in the terminal.

Expected behavior mycroft snap gets connected to the plug alsa and when clicking the Permission has been granted the popup will disappear and mycroft UI will appear.

Log files

:~$ mycroft 
Testing for explicit PulseAudio choice...
Testing for ALSA permissions...

(yad:47235): dbind-WARNING **: 16:14:11.104: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-OJmkldw27F: No such file or directory

(yad:47235): Gtk-WARNING **: 16:14:11.111: Theme parsing error: gtk.css:3456:25: 'font-feature-settings' is not a valid property name
Gtk-Message: 16:14:11.122: Failed to load module "colorreload-gtk-module"
Gtk-Message: 16:14:11.122: Failed to load module "window-decorations-gtk-module"
...confirming that ALSA permissions have been granted.
Testing for ALSA permissions...

(yad:47258): dbind-WARNING **: 16:14:13.049: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-OJmkldw27F: No such file or directory

(yad:47258): Gtk-WARNING **: 16:14:13.057: Theme parsing error: gtk.css:3456:25: 'font-feature-settings' is not a valid property name
Gtk-Message: 16:14:13.068: Failed to load module "colorreload-gtk-module"
Gtk-Message: 16:14:13.068: Failed to load module "window-decorations-gtk-module"

/var/log/mycroft/ folder does not exist so no logs.

image

Environment (please complete the following information):

mycroft 20.8.1-57-g58864ffcc5 1145 latest/edge mycroft-devs -


**Additional context**
Clicking on the button `Start and ask next time` will close the popup, a mycroft logo will appear and then the app crash with the following error in the console

(yad:47517): GLib-CRITICAL **: 16:15:58.548: g_source_remove: assertion 'tag > 0' failed /snap/mycroft/1145/bin/mycroft-launch: line 92: mycroft-cli-client: command not found Stopping all processes... mycroft-skills: no process found mycroft-enclosure-client: no process found mycroft-speech-client: no process found mycroft-audio: no process found Stopped

krisgesling commented 2 years ago

Hey, same as the other one, but I will leave these issues open until we can resolve them.

Thanks for providing the detail on what you're seeing.