# Actions Quiz: Gradbot assessment is stuck for more than an hour

**URL:** <https://get-help.theconstruct.ai/t/actions-quiz-gradbot-assessment-is-stuck-for-more-than-an-hour/22725>\
**Category:** ROS Basics In 5 Days (Python)\
**Created:** [February 27, 2023, 10:09am UTC](https://get-help.theconstruct.ai/t/actions-quiz-gradbot-assessment-is-stuck-for-more-than-an-hour/22725 "2023-02-27T10:09:21Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![bayodesegun](https://get-help.theconstruct.ai/user_avatar/get-help.theconstruct.ai/bayodesegun/32/10684_2.png) [@bayodesegun](https://get-help.theconstruct.ai/u/bayodesegun)\
**Post date:** [February 28, 2023, 10:06am UTC](https://get-help.theconstruct.ai/t/actions-quiz-gradbot-assessment-is-stuck-for-more-than-an-hour/22725/2 "2023-02-28T10:06:58Z")

</div>

Please check that you don’t have any infinite loops running and that your code is not crashing at any point.

In your code, you have a line that reads:

```auto
while not i == 3:

```

That should be:

```auto
while i < 3

```

That said, you do not need to publish to the topics in a loop You should see [how to publish once to a topic and make it work](https://get-help.robotigniteacademy.com/t/how-to-publish-once-only-one-message-into-a-topic-and-get-it-to-work/346).

---

_[View the full topic](https://get-help.theconstruct.ai/t/actions-quiz-gradbot-assessment-is-stuck-for-more-than-an-hour/22725)._
