Giter Site home page Giter Site logo

aiix / krunner-search-skill Goto Github PK

View Code? Open in Web Editor NEW
12.0 12.0 7.0 42 KB

This skill integrates Plasma 5 Krunner with Mycroft which enables users to search their local desktop for files, images, recent documents, bookmarks and utilize other krunner plugins.

License: GNU General Public License v3.0

Python 100.00%

krunner-search-skill's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

krunner-search-skill's Issues

Literal Operators do not work

When I say: "What is 2 + 2" the script errors out:

Traceback (most recent call last):
  File "/home/optimal/mycroft-core/mycroft/skills/mycroft_skill/event_container.py", line 66, in wrapper
    handler(message)
  File "/opt/mycroft/skills/krunner-search-skill.aiix/__init__.py", line 70, in handle_krunner_plasma_calculateskill_intent
    numbers = [int(x) for x in re.split(
  File "/opt/mycroft/skills/krunner-search-skill.aiix/__init__.py", line 70, in <listcomp>
    numbers = [int(x) for x in re.split(
ValueError: invalid literal for int() with base 10: ' 2 + 2'

However, when I spell out the word as "P. L. U. S" it works. When using voice, mycroft interprets the word "plus" as a literal plus as in "+". However, this script doesn't recognize this and errors out. I may make a fix for this later if I have the time.

Installation of skill freeze?!

Python 3.10
dbus-python: 1.2.18-3

If I install this skill via cli. following happens:

 mycroft-msm remove krunner-search-skill
INFO - building SkillEntry objects for all skills
INFO - Best match (1.0): krunner-search-skill by AIIX
INFO - Skill krunner-search-skill has already been removed
AlreadyRemoved: krunner-search-skill
[suther@secondone ~]$ mycroft-msm install krunner-search-skill
INFO - building SkillEntry objects for all skills
INFO - Best match (1.0): krunner-search-skill by AIIX
INFO - Downloading skill: https://github.com/AIIX/krunner-search-skill
INFO - Installing system requirements...
INFO - Installing requirements.txt for krunner-search-skill

There it freeze. I can wait as long as I want, it doesn't finish the process.
How can I debug this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.