Skip to content
This repository has been archived by the owner on Oct 26, 2019. It is now read-only.

Zazu plugin is activating, but Zazu doesn't show plugin output #322

Open
nonbeing opened this issue Jul 13, 2018 · 2 comments
Open

Zazu plugin is activating, but Zazu doesn't show plugin output #322

nonbeing opened this issue Jul 13, 2018 · 2 comments

Comments

@nonbeing
Copy link

nonbeing commented Jul 13, 2018

Expected Behavior

Zazu should display plugin results correctly.

Actual Behavior

Plugins activate properly, but their results are not rendered by Zazu.

Sseems to me that Zazu goes to fallback mode and the actual plugin's output is not shown. Only the fallback (file-search) output is rendered.

Steps to reproduce the behavior

  • install Zazu for windows via zazu-Setup-0.5.2.exe
  • install a plugin, say "zazu-ip-address" from https://github.com/blakek/zazu-ip-address
  • try to activate the above plugin (Open Zazu and type ip)
  • the plugin generates proper output, but it doesn't show up in Zazu.
  • Zazu falls back to file search for the given text, ip

See screenshot with plugin logs: https://imgur.com/XYCnu9M

This erroneous behavior is not limited to the above plugin, it also happens for other plugins too (e.g. the giphy plugin also doesn't work as expected).

Versions

  • Zazu: 0.5.2
  • OS: Windows 10 Pro, 64 bit

Please, include a link to gist of most applicable ~/.zazu/log/ file.

https://gist.github.com/nonbeing/48375a6fbc27a80ad6161acf3a441985

Relevant snippet from logs:

{"results":[{"icon":"fa-globe","title":"Internal IP: 192.168.1.6","subtitle":"(Select to copy to the clipboard)","value":"192.168.1.6"},{"icon":"fa-globe","title":"Public IP: 185.203.122.9","subtitle":"(Select to copy to the clipboard)","value":"185.203.122.9"}],"plugin":"blakek/zazu-ip-address","block":"cjjjp9wau0000lor38cl4rrdf","level":"info","message":"Script Results","timestamp":"2018-07-13T08:08:28.407Z"}

NOTE : the actual value of public IP in the logs has been changed. Have verified that the plugin works correctly and the logs do have the correct public IP.

@nonbeing
Copy link
Author

Here's my .zazurc.json:

{
  "hotkey": "alt+space",
  "theme": "tinytacoteam/zazu-light-theme",
  "displayOn": "detect",
  "plugins": [
    "blakek/zazu-ip-address",
    "tinytacoteam/zazu-calculator",
    "tinytacoteam/zazu-file-finder",
    "tinytacoteam/zazu-template",
    "tinytacoteam/zazu-system",
    "tinytacoteam/zazu-package-manager",
    {
      "name": "tinytacoteam/zazu-fallback",
      "variables": {
        "rootSearches": [
          "google"
        ]
      }
    },
    {
      "name": "tinytacoteam/zazu-clipboard",
      "variables": {
        "ClipboardKey": "cmd+shift+v"
      }
    }
  ]
}

@bayleedev
Copy link
Member

Thank you for reporting it!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants