QCoDeS / Qcodes_loop

Loop and matching dataset that used to be part of qcodes
Other
1 stars 1 forks source link

Encountering 'UnicodeDecodeError' While Executing 'loop.run()' #81

Open CCvitaminHsieh opened 6 months ago

CCvitaminHsieh commented 6 months ago

Hello,

I'm currently following the YouTube video tutorial titled "QCoDes - Plotting loop data." However, when I execute loop.run(), I encounter the following error message followed by a "UnicodeDecodeError." I've attempted to resolve this issue by switching between several Python versions, but the error persists. Below is the error code displayed during runtime.

image

image

jenshnielsen commented 6 months ago

@CCvitaminHsieh Unfortunately that tutorial is based on an old construct that is no longer part of qcodes and not actively maintained.

I suggest that you have a look at the tutorial here https://microsoft.github.io/Qcodes/examples/15_minutes_to_QCoDeS.html and use the supported way of performing measurements.

CCvitaminHsieh commented 6 months ago

I recently ran the example "QCodes_loop/docs/examples/Tutorial.ipynb" that you provided and tested this notebook on Python 3.9.12. However, I'm still encountering the same error message: "UnicodeDecodeError: 'cp950' codec cannot decode byte 0x85 in position 10633: illegal multi-byte sequence".

image image