Code Monkey home page Code Monkey logo

alfred-slack-status's Introduction

import.re

alfred-slack-status's People

Contributors

importre avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

alfred-slack-status's Issues

Token acquisition needs documenting

Apologies if it's me being clueless, but it looks like either Slack has changed the way authorisation works for their API rendering this helper useless, or I'm having difficulty working out where to get the appropriate tokens.

Some documentation on this might help.

Alfred preferences plist not resolving correctly

When I try and run this it isn't correctly finding the preferences file.

{ Error: Command failed: alfred-link Error: Alfred preferences not found at location /Users/dknight/Library/Preferences/com.runningwithcrayons.Alfred-Preferences-3.plist

Looking into the file system my Alfred preferences is actually com.runningwithcrayons.Alfred-3.plist, not com.runningwithcrayons.Alfred-Preferences-3.plist?

I had a look in the source code but can't work out how that path is getting resolved? I assume it has something to do with https://github.com/samverschueren/resolve-alfred-prefs?

npm install fails when Alfred preferences aren’t in the default location

My Alfred preferences are shared across multiple users (using Alfred’s syncing feature), and are therefore stored in /Users/Shared/Library/Application Support/Alfred 3. However, this could also be any other location, e.g. Dropbox.

npm i -g alfred-slack-status                                       ⏎

> [email protected] postinstall /usr/local/lib/node_modules/alfred-slack-status
> alfy-init

{ Error: Command failed: alfred-link
Error: Alfred preferences not found at location /Users/aaron/Library/Preferences/com.runningwithcrayons.Alfred-Preferences-3.plist
    at pathExists.then.exists (/usr/local/lib/node_modules/alfred-slack-status/node_modules/resolve-alfred-prefs/index.js:15:10)
    at <anonymous>

    at Promise.all.then.arr (/usr/local/lib/node_modules/alfred-slack-status/node_modules/execa/index.js:201:11)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
  code: 1,
  killed: false,
  stdout: '',
  stderr: 'Error: Alfred preferences not found at location /Users/aaron/Library/Preferences/com.runningwithcrayons.Alfred-Preferences-3.plist\n    at pathExists.then.exists (/usr/local/lib/node_modules/alfred-slack-status/node_modules/resolve-alfred-prefs/index.js:15:10)\n    at <anonymous>\n',
  failed: true,
  signal: null,
  cmd: 'alfred-link',
  timedOut: false }
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `alfy-init`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/aaron/.npm/_logs/2018-02-01T12_14_04_834Z-debug.log
```

In a meeting status fails

I just tested this, Clearing status works, setting to Eating works, but the In a meeting preset fails, not quite sure why.

image

At least, custom messages work so it's cool :) tested with slackstatus :sunglasses: @_@

Workaround:

slackstatus :calendar: In a meeting

I saw nothing special in the logs debugging logs from Alfred prefences (not sure if I'm looking at the right place tho).

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.