ISISComputingGroup / IBEX

Top level repository for IBEX stories
5 stars 2 forks source link

IBEX-device-generator: Traceback error in "Add OPI to gui" stage #8557

Open iangillingham-stfc opened 3 weeks ago

iangillingham-stfc commented 3 weeks ago

Issue Description

As a developer, I am experiencing an error when trying to execute the IBEX-device-generator python script, which crashes during the "Add OPI to gui" stage.

How & Where?

Reproducible (Yes/No)?

ibex_device_generator TLFW102C 6085 --device_name ThorlabsFW102C --device_count 3 --use_git --github_token -i

Additional Information

Image

Acceptance Criteria

What is the acceptance criteria of this ticket? What should the reviewer expect to be complete?

How to Review

Before making a PR...

If not applicable, write "Not applicable"

...

To the reviewer: Make sure to update submodules!

GRyall commented 3 weeks ago

Can confirm I also encounter this. The workaround is to manually do the commit in the gui repo, as it is the last step in the script. The bug is I believe actually in the git pre-commit hook in the gui repo and how that then interacts with this script. I.e. I think the script makes sensible assumptions about how it expects the repo to behave and the repay defies those expectations....

rerpha commented 1 week ago

to complete this ticket we need to: