简体中文界面。帖子、指南及政策正文保留原文;未对原文作自动翻译。

Rebuilt laptop imports the wrong FR5 bits

LinBrown0879 · 2025年4月21日 08:15 UTC

已关闭
LI
LinBrown0879
Our old laptop runs the FR5 read-only status script. Fresh install rejects an argument before it even connects. Four SDK folders here. Apparently documenting the one we actually use was optional.

15 条回复

AM
AmaraCarter1035

Print the loaded module path on both machines, the folder you've been looking at might not be the folder Python is using.

7
LI
LinBrown0879

It isn't. Old laptop imports from a folder inside the project. New one finds an installed package.

5
AM
AmaraCarter1035

Compare the function signatures there. Which copy accepts the argument your script passes?

8
OS
OscarCarter0967

Are you using the same Python environment when launching it? Our shortcut selected a different environment from the terminal, despite both opening the same script.

21
LI
LinBrown0879

Shortcut and terminal agree on each machine. The project copy accepts the argument; installed package doesn't. Now trying to identify where that project copy came from.

13
AM
AmaraCarter1035

Any version file or supplier archive left with it? Don't rename the folder final and call the mystery solved.

13
HE
HenryBennett0699

We had a working laptop become the only backup. Once you identify this copy, keep its source and setup instructions with the cell files rather than inside one person's machine.

2
LI
LinBrown0879

Found the original archive in the handover email. It matches the project copy. The newer installed package came from whoever rebuilt the laptop.

24
IM
ImranBrown0914

Our old laptop sat under a bench with a do not update note for ages because nobody could recreate its setup. It worked until the battery failed and then we had a much worse day. Who will try your instructions on a clean machine?

14
LI
LinBrown0879

Another technician, not me. I've documented the interpreter, imported path and archive version. Controller compatibility is recorded in the existing read-only test notes.

13
HE
HenryBennett0699

Did the clean setup run the documented check?

15
AM
AmaraCarter1035

And don't change the script just to please the new package while you're reproducing the old setup, that's another job with its own things to check.

16
LI
LinBrown0879

Clean setup imports the identified copy and gets past the argument check. Waiting for cell access for the documented read-only call. Script stayed unchanged.

11
LI
LinBrown0879

Read-only check passed on the rebuilt laptop. Response matches what our script expects. Archive and setup notes are in the cell handover folder now, which beats the archaeological collection of SDK directories.

0
AM
AmaraCarter1035

Good. Keep the import-path check in the diagnostics so the next rebuild tells you immediately which copy it found.

20

讨论已关闭

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