Runtime error: coercing to Unicode: need string or buffer, NoneType found - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: General (https://python-forum.io/forum-1.html) +--- Forum: News and Discussions (https://python-forum.io/forum-31.html) +--- Thread: Runtime error: coercing to Unicode: need string or buffer, NoneType found (/thread-14640.html) |
Runtime error: coercing to Unicode: need string or buffer, NoneType found - satheesh_rvs - Dec-10-2018 Hello All, I am using a script from VMWARE Vsphere cli (esxcli ) in a nagios server(centos 7) to get info from Esxi server when i try to execute the command from centos server command line its working fine . But when i deploy in the Nagios checks , am getting the following error message at the front end web browser . " Runtime error: coercing to Unicode: need string or buffer, NoneType found " RE: Runtime error: coercing to Unicode: need string or buffer, NoneType found - Gribouillis - Dec-10-2018 Quote:Runtime error: coercing to Unicode: need string or buffer, NoneType found "It means that at some point in a python file, a None value is passed to a function that expected a string. You need to read the full traceback to understand where the error occurs and if there is something you can do. RE: Runtime error: coercing to Unicode: need string or buffer, NoneType found - satheesh_rvs - Dec-10-2018 I downloaded the vcli package from https://code.vmware.com/tool/vsphere-cli/6.5 and esxcli is binary which am am unable to see the code . Also am wondering when i run it manually at command line its running fine . When i integrate that with the nagios am facing this error at front end . |