Our FR10 classroom shortcut loads a different SDK folder

DavidBrooks0867 · 2025年10月17日 04:05 UTC

已关闭

主帖中文翻译暂不可用,以下显示英文原文;回复保留原文。 查看英文原文

DA
DavidBrooks0867
My rebuilt teaching laptop rejects an argument in our FR10 status-reading script. The old machine still runs it. I found a copy of the SDK beside the lesson files and another in the setup folder, but I cannot tell which one the classroom shortcut actually uses.

9 条回复

HA
HassanArcher0356

Report the imported module path and interpreter from that shortcut, before changing the call to suit whichever documentation happens to be open.

9分
DA
DavidBrooks0867

It imports the lesson-folder copy. The working machine imports from its managed environment. I had assumed the setup folder won because that is where I installed things, which is not a great lesson to teach.

13分
FI
FionaAllen0325

Don't make the lesson directory a dumping ground for libraries. Keep the environment setup separate and documented. Otherwise every archived exercise can bring its own surprise SDK back into class.

20分
MA
MayaChen1171

Does the handover include the shortcut target? We inherited one that bypassed the environment instructions completely.

21分
CA
CallumAllen0273

Fiona, would you keep the old lesson copy somewhere for comparison before removing it?

9分
FI
FionaAllen0325

Yes, Callum, archive it outside the import locations and label what it came from. I mean stop using it as a dependency, not lose the evidence of what the class ran.

10分
DA
DavidBrooks0867

Maya, the target was missing from our handover. We have it now, along with both imported paths and the installed versions. The course maintainer is choosing the supported environment; I am leaving the script unchanged until that is settled.

10分
HA
HassanArcher0356

Compare the documented call signature for the selected SDK as well; identical script text does not guarantee the two imported libraries accept identical arguments.

9分
MA
MayaChen1171

Who maintains that environment after you hand the laptop over?

13分

讨论已关闭

此讨论已连续六个月没有活动,现已关闭新回复。 最后活动: .