Zabbix-Network-Weathermap icon indicating copy to clipboard operation
Zabbix-Network-Weathermap copied to clipboard

ValueError: source code string cannot contain null bytes

Open livan389 opened this issue 8 years ago • 2 comments

hi, i have an error :

./weathermap.py -h

Traceback (most recent call last): File "./weathermap.py", line 10, in from config import ConfigLoader, ConfigCreate ValueError: source code string cannot contain null bytes

livan389 avatar Jun 05 '17 03:06 livan389

Hi, I dont have this problem. http://permalink.gmane.org/gmane.comp.python.django.user/164608 https://stackoverflow.com/questions/31233777/python-source-code-string-cannot-contain-null-bytes

Prototype-X avatar Jun 05 '17 11:06 Prototype-X

@livan389 open your file with an editor that can show you all invisible characters (if you are using a mac you can do it with Coda), you will see where is the invalid char, just delete and re-type it.

fabiocaccamo avatar Apr 16 '19 09:04 fabiocaccamo