Comments (3)
I think the problem is related to difference between how python 3 and 2 handles strings...because I'm using python 3, I got this error.
have you use this code under python 3?
from zabbix-template-for-redis.
Hi @starlessboi,
No, this code has not been tested under Python 3. The problem seems indeed the differences between Python 2 and Python 3 string handling: Popen.communicate
by default under Python 3 returns bytes instead of strings and thus its return values can't be written in stderr
without a proper conversion.
A solution could be to set universal_newlines
parameter to True
in the subprocess.Popen
call on line 298 but beware that other incompatibilities with Python 3 could be found in the code (for instance, usage of iteritems
instead of items
). We'll try to test all this in Python 3 as soon as possible.
from zabbix-template-for-redis.
Thanks for quick answer..look forward for your testings
from zabbix-template-for-redis.
Related Issues (9)
- Can you clarify what the "eps" unit is? HOT 1
- Cannot import your template for Zabbix 3.0.2 HOT 1
- redis_server.info key missing? HOT 2
- What if I use a password for authorization? HOT 1
- Redis 6.0 + SSL HOT 1
- Specific instructions needed HOT 1
- Password authentification HOT 1
- --redis-password not work 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 zabbix-template-for-redis.