Comments (10)
from sclack.
It seems like the Slack API has denied the request. This happens often when the same endpoint is requested too many times (Slack API has rating limits). I'll be working on a retry-attempt for requests to handle this kind of issue without breaking the things. Thanks!
from sclack.
I am also getting an error on startup, maybe it is related.
Traceback (most recent call last):
File "./app.py", line 560, in <module>
app.start()
File "./app.py", line 62, in start
self.urwid_loop.run()
File "/usr/local/lib/python3.7/site-packages/urwid/main_loop.py", line 286, in run
self._run()
File "/usr/local/lib/python3.7/site-packages/urwid/main_loop.py", line 384, in _run
self.event_loop.run()
File "./app.py", line 28, in run
self._loop.run_forever()
File "/usr/local/lib/python3.7/asyncio/base_events.py", line 523, in run_forever
self._run_once()
File "/usr/local/lib/python3.7/asyncio/base_events.py", line 1722, in _run_once
event_list = self._selector.select(timeout)
File "/usr/local/lib/python3.7/selectors.py", line 468, in select
fd_event_list = self._selector.poll(timeout, max_ev)
from sclack.
Same for me but with a different message:
from sclack.
for me also not working. same message.
from sclack.
ok it says, we need to give these scopes:
from sclack.
I will make a PR for this with better error messages
from sclack.
Also having issues on startup:
'channels'
File "./app.py", line 126, in component_did_mount
yield from self.mount_sidebar(executor)
File "./app.py", line 135, in mount_sidebar
loop.run_in_executor(executor, self.store.load_users)
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/Users/coryshaw/Documents/Code/sclack/sclack/store.py", line 86, in load_channels)['channels']
from sclack.
from sclack.
Was able to output the response from the Slack API:
{'ok': False, 'error': 'not_allowed_token_type', ...}
I'm using tokens generated here: https://api.slack.com/custom-integrations/legacy-tokens
And my .sclack file looks like:
{
"workspaces": {
"default": "xoxp-xxxx-xxxx-xxxx",
"another": "xoxp-xxxx-xxxx-xxxx"
}
}
Do some Slack workspaces have the ability to disable legacy tokens?
from sclack.
Related Issues (20)
- Snap Package HOT 1
- brew install libcaca --with-imlib2 -> invalid option: --with-imlib2 HOT 5
- Shared Channels Break Everything HOT 2
- Shared channels only show half the conversation
- Stuck at loading screen and HTTPSConnectionPool error HOT 1
- Unread count does not refresh
- ERROR:root:RTM connection failed, reached max connects HOT 4
- Optional storage of config.json in user home directory HOT 1
- Multi-line support would be nice
- No releases? HOT 3
- Missing icons on MacOS HOT 2
- Thread Support HOT 2
- Custom themes
- Support/instructions for Pipx install HOT 1
- Non-standard config location
- Emoji reactions
- Sclack won't work at bootstrap HOT 10
- Problem with 'scope' in token generation method provided in readme file.
- ConnectionError upon starting app.py HOT 1
- No module named 'sclack' HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sclack.