Error 1671 Using Python Script Stored on Network Drive in LabVIEW

Updated Dec 27, 2024

Reported In

Software

  • LabVIEW 2018

Programming Language

  • Python

Issue Details

I use the LabVIEW Python Node, the Python Code is stored on a network storage and the following error occurs:
Code : 1671 
Python returned the following error: <class 'UnicodeDecodeError'> 
'utf-8' codec can't decode byte 0xfc in position 34: invalid start byte 

Solution

If you are using LabVIEW 2018, the reason of this error is the LabVIEW Python Node does not support network storage in LabVIEW 2018. Move or copy the code you want to call to a local storage.

For LabVIEW 2019 and upper version, this error can also occur due to non-English character is used within the module path. Set the module path to have only English character.