Automated traceback capturing for IPython and reporting to Slack
1.0K
A client and server to post tracebacks to the NSLS2 DAMA slack chat
Install the most recent tagged build: conda install exceptional -c lightsource2-tag
Install the most recent tagged build: conda install exceptional -c lightsource2-dev
Find the tagged recipe here and the dev recipe here
conda install exceptional
Then in the ipython profile configuration, add these three lines
import exceptional
exceptional.install_slack_notifier()
exceptional.HOST = 'bcart01'
There are a number of things that need to be specified in order for this app to work
New images are built on docker hub when new code is pushed to this git repo and are available from nsls2/exceptional
docker run -p 5000:5000
-e DB_PATH="/exceptional/data/db.json"
-e SLACK_TOKEN=cat /exceptional/slack.token
-d
nsls2/exceptional
The DB_PATH environmental variable that gets passed to the docker image will
be the location of the .json based database. This holds all of the
traceback information.
Content type
Image
Digest
Size
301.3 MB
Last updated
over 10 years ago
docker pull nsls2/exceptional