Error loading plugin paho-mqtt
See original GitHub issueI’m using Tavern tests to test my REST API here.
On my Windows machine, I can run all tests without problem.
When running my tests on a Ubuntu host or inside an Ubuntu container, I get the following error:
Errors:
E tavern.util.exceptions.PluginLoadError: Error loading plugin paho-mqtt = tavern._plugins.mqtt.tavernhook - [Errno 20] Not a directory: '/home/stefan/venv-tng/lib/python3.6/site-packages/tavern-0.26.1-py3.6.egg/tavern/_plugins/mqtt/schema.yaml'
In don’t get this. I have installed tavern
along with all other dependencies in a virtualenv. The error happens both when using python setup.py install
and python setup.py develop
.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:11 (4 by maintainers)
Top Results From Across the Web
Error while subscribing with paho MQTT broker
I am facing error while subscribing to MQTT broker (org.eclipse.paho.client.mqttv3.MqttClient) with username and password: Version:
Read more >Paho Python MQTT Client - Working with Connections
A look at client connections and the Paho MQTT client. Includes examples of good and failed connections and re-connections.
Read more >Trouble compiling Paho java plugin
Hi, I have successfully setup a simple Mosquitto MQTT server, and now I am attempting to setup Paho so I can experiment with...
Read more >paho-mqtt
This document describes the source code for the Eclipse Paho MQTT Python ... an error when publishing, most likely due to the client...
Read more >RabbitMQ Web MQTT Plugin
hostname; // mqtt websocket enabled broker var wsport = 15675; // port for above var client = new Paho.MQTT.Client(wsbroker, wsport, "/ws", "myclientid_" + ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Unfortunately, the error just came back:
I’m still using the same versions.
Strangely, the tests pass fine when executing them locally and the error only occurs when building and running them in Docker containers, eg, in Jenkins.
I can’t really tell what would be causing that error, this line in particular seems completely wrong:
Glad it’s fixed itself though!