Comments (6)
Hi @ChrisMcKee,
Did you have a StackStorm instance already setup and running and the appropriate plugin configuration included in config.py
when you attempted to install the plugin?
In the effort to debug what might be causing the plugin to fail, would you mind installing the plugin manually rather than through the bot command?
Activate the virtualenv (if you're setup is using one)
$ activate ~/errbot/bin/activate
Change to the plugin directory (make it if it doesn't exist)
$ cd ~/errbot/data/plugin/fmnisme
Clone the repo.
$ git clone https://github.com/fmnisme/err-stackstorm.git
Install plugin requirements
$ cd err-stackstorm; pip install -r requirements.txt
Restart errbot
$ cd ~/errbot; errbot
from err-stackstorm.
Thanks, I'll give that a go!
I'd dug into various other GitHub issues and tried manually installing various packages so I'll salt-the-earth
from err-stackstorm.
Great, let me know how you get on with that. If it works (or at least gives a useful back trace) then I'll see how best to handle this case, either document it or find a way for the error message to be more meaningful when the installation fails.
from err-stackstorm.
Thanks; that appeared to work bar a few doc issues.
In st2,py the default configs https://github.com/fmnisme/err-stackstorm/blob/master/st2.py#L30-L35
vs the config causes bad routing to the api.
Computer says nooo. See logs for details:
404 Client Error: Not Found for url: https://192.168.72.128/api/v1/v1/actionalias/help
I can see my requests getting to StackStorm now from errbot but its a bit of a blackhole at present (says it'll perform the command, never feeds back the result). Closer though.
Not sure why it wouldn't install from the bot then; but it seems ok direct.
I did have to add in
import urllib3
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
as the logs were just streaming noise with cert verification turned off.
from err-stackstorm.
I suspect the actual exception being cause during !repo install ...
isn't getting raised all the way to the top calling function, so we were just seeing a generalised message ImportError: No module named 'sseclient'
. I'll test out a few ideas to improve the installation process, thanks for reporting it.
The url looks like it's got 1 too many v1
s. Did you have a look at the troubleshooting section of the plugin docs? Would you be able to join the StackStorm Slack community to discuss your setup directly? http://stackstorm.com/community-signup
from err-stackstorm.
I copied the paths from the st2.py file to correct the api paths (hence it sorta working now)
I'll re-run it all again tomorrow; I discovered an annoying issue with VMWare/Ubuntu wiping state when my laptops in sleep so I've been stuck in a loop of starting from scratch 😁
Thanks for the help and the link; I'll post any question in there. 👍
from err-stackstorm.
Related Issues (17)
- multiple alias formats not working HOT 3
- user not mentioned with reply HOT 2
- MESSAGE_SIZE_LIMIT not honoured HOT 3
- Implement unit tests HOT 1
- Proposal: Out of Band chat backend user authentication HOT 1
- Action alias keyword arguments aren't cleared correctly.
- Support mention for the bot to trigger action-aliases
- Missing step in guide: change post_message.yaml default route HOT 1
- Honour action-alias definition correctly HOT 1
- Rocketchat - error install plugin and callback HOT 6
- Is this repo under active maintenance? HOT 4
- ack.enabled related error while running st2 commands HOT 1
- Possibility of adding threading? HOT 1
- Action-aliases changes in StackStorm aren't being updated in errbot
- Installation documentation missing chatops pack step
- Fix SSL certificate verification. HOT 1
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 err-stackstorm.