OpenAdapt icon indicating copy to clipboard operation
OpenAdapt copied to clipboard

[Bug]: Local development record, replay and start fail

Open shashank40 opened this issue 1 year ago • 3 comments

Describe the bug

So the current local development setup is buggy due to recent code changes. The helper function definitions were changed but the usage was not updates. Ex: functions for recording start, replay etc

To Reproduce

Any record start will fail

shashank40 avatar Jun 18 '24 14:06 shashank40

@abrichr would you mind if i raise a PR on this?

shashank40 avatar Jun 18 '24 14:06 shashank40

@shashank40 thank you for reporting! Please try https://github.com/OpenAdaptAI/OpenAdapt/pull/774 and see if that fixes your issues.

Otherwise please submit a PR 🙏

abrichr avatar Jun 18 '24 14:06 abrichr

@abrichr it has a few more things to update.

  1. During instruction submissions on replay, it fails.
  2. During data fetch from DB, it fails as session was not passed.
  3. During start, the code fails as the function imported is not found in start.py

I will raise a quick PR, i think this could be the reason why even downloaded openadapt app is not working as i mentioned here.

https://github.com/OpenAdaptAI/OpenAdapt/pull/771#discussion_r1644517094

shashank40 avatar Jun 18 '24 14:06 shashank40