LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

EXE UnicodeDecodeError

Hello:

     I was able to run the vi program on my development computer, but there was an error when I ran it as an exe. The error is as follows,

code 1671

error:<class'UnicodeDecodeError'>

'utf-8'codec can't decode byte 0xb1 in position 49:invalid start byte

Is there a configuration error? Any ideas on how to solve it?   

    Looking forward to your reply!

0 Kudos
Message 1 of 6
(759 Views)

Hi and Hallo!

 


@hallo77 wrote:

I was able to run the vi program on my development computer, but there was an error when I ran it as an exe. The error is as follows, code 1671


Which VI?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(747 Views)

Error out from Python node.I have solved it, thank you for your reply.

0 Kudos
Message 3 of 6
(738 Views)

Hi Sir,

 

Could you please tell me how did you solve the problem? I am getting the same error (1671) from Python Node and I cannot solve it. Thank you so much.

0 Kudos
Message 4 of 6
(535 Views)

Error 1671:

 

<class 'UnicodeDecodeError'> 
'utf-8' codec can't decode byte 0xe2 in position 67: invalid continuation byte

 

Does anyone have a solution?

0 Kudos
Message 5 of 6
(293 Views)

As I've just solved the same/similar error and this thread has no posted solution i thought I should share.

 

The error i recieved was:

"Python returned the following error: <class 'UnicodeDecodeError'>
'utf-8' codec can't decode byte 0xe4 in position 34: invalid continuation byte"

 

Check the path for and remove non-standard characters. In my case, I had an 'ä' present at position 34 in the path string to my .py-file. Changing the path to eliminate such characters made the error go away and the vi ran properly.

0 Kudos
Message 6 of 6
(58 Views)