Package Details: plasma5-applets-mycroft-git r136.9a784bd-1

Git Clone URL: https://aur.archlinux.org/plasma5-applets-mycroft-git.git (read-only, click to copy)
Package Base: plasma5-applets-mycroft-git
Description: Mycroft Ai Plasmoid / Widget for KDE Plasma 5 Desktop
Upstream URL: https://invent.kde.org/utilities/mycroft-plasmoid
Licenses: GPL3
Conflicts: plasma5-applets-mycroft
Provides: plasma5-applets-mycroft
Submitter: z3ntu
Maintainer: z3ntu
Last Packager: z3ntu
Votes: 14
Popularity: 0.002157
First Submitted: 2017-01-19 15:24 (UTC)
Last Updated: 2020-07-11 16:05 (UTC)

Latest Comments

arkades commented on 2020-04-15 13:28 (UTC) (edited on 2020-04-15 13:47 (UTC) by arkades)

@tjbp I think its more elegant to symlink the python module. Anyway I tried to build the mycroft-gui repository as it is defined as minimum requirement to run mycroft-plasmoid. Mycroft-gui contains the Mycroft qml-module btw. Also I had to adjust the pulseaudio config manually. After a re-login mycroft-plasmoid worked. So we need to prepare a mycroft-gui package here. Maybe I can do it today.

tjbp commented on 2020-04-15 11:31 (UTC)

@arkades mycroft-core seems to be up to date with the latest version - this is a packaging issue. I believe this package depends on the Mycroft python libs from /usr/share/mycroft-core/mycroft in the mycroft-core package, but not any of the other files in /usr/share/mycroft-core. I'd split the mycroft-core package into python-mycroft and mycroft-server.

arkades commented on 2020-04-15 10:22 (UTC)

@tjbp do you think its worth trying to add a mycroft-core-git package?

tjbp commented on 2020-01-19 23:25 (UTC)

@microversal it would appear the Mycroft python libs that are missing are packaged with mycroft-core and are installed to /usr/share/mycroft-core/mycroft, but this isn't much use since I believe theoretically that package could be installed on a remote machine and act as a server. What may be needed is for those libs to be separated out into a lib package that this package and mycroft-core would depend on.

microversal commented on 2020-01-19 07:08 (UTC) (edited on 2020-01-19 07:13 (UTC) by microversal)

@tjbp I get the same error when it references the FullRepresentation type, and in the corresponding qml file. Full error message (viewable from the applet window on the KDE system tray):

Error loading QML file: file:///usr/share/plasma/plasmoids/org.kde.plasma.mycroftplasmoid/contents/ui/main.qml:33:34: Type FullRepresentation unavailable

file:///usr/share/plasma/plasmoids/org.kde.plasma.mycroftplasmoid/contents/ui/FullRepresentation.qml:31:1: module "Mycroft" is not installed

tjbp commented on 2019-12-25 01:59 (UTC)

I get a Python error: module "Mycroft" is not installed - anyone had the same? Think it might be a problem with mycroft-core and its non-standard library installation however...

z3ntu commented on 2018-11-08 16:06 (UTC)

@qKUqm3wtY4 No, sorry. I tried getting the mycroft-core package working itself but couldn't get it running (see AUR comments on that package)

qKUqm3wtY4 commented on 2018-11-08 16:05 (UTC)

Mycroft-core is an optional dependency, but if you install it (it does work now), this install won't recognize mycroft and you'll get the "connection error" issue. What is the work-a-round?

kirkyd commented on 2018-08-03 03:40 (UTC) (edited on 2018-08-03 03:41 (UTC) by kirkyd)

the url has changed to:

https://github.com/KDE/plasma-mycroft.git/

also if you have snaps installed there's a snap package for mycroft-core

z3ntu commented on 2018-03-27 14:18 (UTC)

@notuxius No you either have to install mycroft manually and configure that in the applet settings or also install the mycroft-core package (which unfortunately is currently broken but that is outside of my control).

notuxius commented on 2018-03-27 14:14 (UTC) (edited on 2018-03-27 14:14 (UTC) by notuxius)

There is Connection error upon trying to enable Mycroft from the applet - i don't have a physical Mycroft device - is it needed?

GLaDTheresCake commented on 2018-02-27 17:51 (UTC) (edited on 2018-02-27 17:52 (UTC) by GLaDTheresCake)

Package is not installing correctly for some reason:

-- Installing: /home/jari/plasma5-applets-mycroft-git/pkg/plasma5-applets-mycroft-git/usr/share/icons/hicolor/32x32/apps/mycroft-plasma-appicon.svg patching file /home/jari/plasma5-applets-mycroft-git/pkg/plasma5-applets-mycroft-git/usr/share/plasma/plasmoids/org.kde.plasma.mycroftplasmoid/contents/code/pkgstartservice.sh

Hunk #1 FAILED at 1.

1 out of 1 hunk FAILED -- saving rejects to file /home/jari/plasma5-applets-mycroft-git/pkg/plasma5-applets-mycroft-git/usr/share/plasma/plasmoids/org.kde.plasma.mycroftplasmoid/contents/code/pkgstartservice.sh.rej

==> ERROR: A failure occurred in package().

Aborting...

Looking at the rejects file tells me this:

[jari@GLaDOS plasma5-applets-mycroft-git]$ cat /home/jari/plasma5-applets-mycroft-git/pkg/plasma5-applets-mycroft-git/usr/share/plasma/plasmoids/org.kde.plasma.mycroftplasmoid/contents/code/pkgstartservice.sh.rej

--- pkgstartservice.sh.old 2017-03-28 14:42:59.088314085 +0200

+++ pkgstartservice.sh 2017-03-28 14:49:03.106374563 +0200

@@ -1,6 +1,6 @@

#!/bin/bash

-service mycroft-messagebus start

-service mycroft-skills start

-service mycroft-speech-client start

+systemctl --user start mycroft-service.service

+systemctl --user start mycroft-skills.service

+systemctl --user start mycroft-voice.service

paplay /usr/share/sounds/freedesktop/stereo/dialog-error.oga

stardiviner commented on 2017-05-26 09:45 (UTC)

If I use Mycroft Docker image, then which installation path should I select for this Mycroft plasmoid?

z3ntu commented on 2017-03-28 13:15 (UTC)

@stardiviner: Updated the package. Please test!

stardiviner commented on 2017-03-28 08:03 (UTC)

Arch Linux now use systemd now. So the `/usr/share/plasma/plasmoids/org.kde.plasma.mycroftplasmoid/contents/code/*.sh` scripts should change from `service` to `systemctrl`.

z3ntu commented on 2017-03-18 15:26 (UTC) (edited on 2017-03-18 15:27 (UTC) by z3ntu)

@OdinEidolon: This applet uses mycroft installed in your home directory (see the post_install script: https://aur.archlinux.org/cgit/aur.git/tree/plasma5-applets-mycroft-git.install?h=plasma5-applets-mycroft-git). I tried once to make this applet compatible with the mycroft package but I failed because of permission problems. If you manage to get it working, I will gladly accept these changes into the package.

OdinEidolon commented on 2017-03-18 09:31 (UTC)

How can this Not depend on mycroft-core?