clarkio / vscode-twitch-highlighter

This is a VS Code extension that will allow your Twitch chat to highlight a line of code via a command message. Example: `!line 8 server.js`. See master branch README.md for more details
https://clarkio.com
203 stars 14 forks source link

Nothing happens when clicking "Disconnected" #105

Closed brylie closed 5 years ago

brylie commented 5 years ago

Clicking "Disconnected" doesn't open the pop-up, so I can't configure the authentication.

To Reproduce Steps to reproduce the behavior:

  1. Install Twitch Highlighter 0.2.2
  2. Click on 'Disconnected'
  3. Nothing happens

Expected behavior

After clicking it, you'll see a notification that the extension is missing Twitch Credentials.

Screenshots If applicable, add screenshots to help explain your problem.

VSCode Version Version: 1.33.1 Commit: 51b0b28134d51361cf996d2f0a1c698247aeabd8 Date: 2019-04-11T08:20:22.771Z Electron: 3.1.6 Chrome: 66.0.3359.181 Node.js: 10.2.0 V8: 6.6.346.32 OS: Linux x64 5.0.0-13-generic

parithon commented 5 years ago

bitmoji

Unfortunately, I am not able to reproduce this bug. Can you try to manually set the credentials by opening your palette (CTRL+SHIFT+P) and type '>Twitch Highlighter: Set Token'. Additionally, you can also try to connect by using '>Twitch Highlighter: Start Listening to Chat'

brylie commented 5 years ago

K, I'll try that.

brylie commented 5 years ago

When I try the above steps, I get an error:

Screenshot_20190510_214628

Is there a file that the plugin may be trying to overwrite? Perhaps the file doesn't exist, or I need to change permissions?

parithon commented 5 years ago

I'll try to do a little more research on this issue. Can you tell me which Linux OS you're currently using?

brylie commented 5 years ago

Kubuntu 19.04

parithon commented 5 years ago

I've narrowed the issue down to the node-keytar module; it requires gnome-keyring which isn't installed by default on Kubuntu, or any non-gnome UI variants of Linux.

You can solve this problem by installing gnome-keyring.

sudo apt install gnome-keyring

bitmoji

As an aside; until node-keytar is completely independent of gnome-keyring we need to add a pre-requisite for people who wish to use this extension on Linux distros. See node-keytar issue #74

brylie commented 5 years ago

Jep, that was the issue! Thank you for following up and helping me resolve it :-)