Rebuilt laptop imports the wrong FR5 bits

LinBrown0879 · 21 Apr 2025, 08:15 UTC

Closed
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 replies

AM
AmaraCarter1035
Replying to LinBrown0879

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

7 points
LI
LinBrown0879
Replying to AmaraCarter1035

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

5 points
AM
AmaraCarter1035
Replying to LinBrown0879

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

8 points
OS
OscarCarter0967
Replying to LinBrown0879

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 points
LI
LinBrown0879
Replying to OscarCarter0967

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 points
AM
AmaraCarter1035
Replying to LinBrown0879

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

13 points
HE
HenryBennett0699
Replying to LinBrown0879

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 points
LI
LinBrown0879
Replying to AmaraCarter1035

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

24 points
IM
ImranBrown0914
Replying to LinBrown0879

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 points
LI
LinBrown0879
Replying to ImranBrown0914

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 points
HE
HenryBennett0699
Replying to LinBrown0879

Did the clean setup run the documented check?

15 points
AM
AmaraCarter1035
Replying to LinBrown0879

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 points
LI
LinBrown0879
Replying to HenryBennett0699

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 points
LI
LinBrown0879
Replying to 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 points
AM
AmaraCarter1035
Replying to LinBrown0879

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

20 points

Discussion closed

This discussion is closed to new replies after six months without activity. Last activity: .