ValueError: source code string cannot contain null bytes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Plant3D have not specified which script the error occurs in but i still get this when i type plantregistercustomscripts
Command: PLANTREGISTERCUSTOMSCRIPTS
Command: Traceback (most recent call last):
File "<string>", line 1, in <module>
File "varmain\custom.pyc", line 372, in dumpAll
File "varmain\custom.pyc", line 326, in dumpAll
File "varmain\custom.pyc", line 307, in dumpFile
File "<frozen importlib._bootstrap_external>", line 407, in _check_name_wrapper
File "<frozen importlib._bootstrap_external>", line 907, in load_module
File "<frozen importlib._bootstrap_external>", line 732, in load_module
File "<frozen importlib._bootstrap>", line 265, in _load_module_shim
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 724, in exec_module
File "<frozen importlib._bootstrap_external>", line 860, in get_code
File "<frozen importlib._bootstrap_external>", line 791, in source_to_code
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
ValueError: source code string cannot contain null bytes
I have tried remove all scripts from the folder and even created a new CustomScript folder but still getting this error.
Is there a way to solve this without reinstall plant3D