# Simple Gradio app is stuck on building and/or having exitCode 1

**URL:** <https://discuss.huggingface.co/t/simple-gradio-app-is-stuck-on-building-and-or-having-exitcode-1/33825>\
**Category:** Beginners\
**Created:** [March 15, 2023, 2:03am UTC](https://discuss.huggingface.co/t/simple-gradio-app-is-stuck-on-building-and-or-having-exitcode-1/33825 "2023-03-15T02:03:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pvasudev](https://avatars.discourse-cdn.com/v4/letter/p/46a35a/32.png) [@pvasudev](https://discuss.huggingface.co/u/pvasudev)\
**Post date:** [March 15, 2023, 2:03am UTC](https://discuss.huggingface.co/t/simple-gradio-app-is-stuck-on-building-and-or-having-exitcode-1/33825/1 "2023-03-15T02:03:51Z")

</div>

Hi everyone. I’m having an issue where my Gradio space isn’t working. Please feel free to take a look at it [here](https://huggingface.co/spaces/pvasudev/zidane_scholes_mbappe)

I am following the fastai course and I’m practicing deploying a simple app. Yesterday, I was seeing some errors in the build/container log, which were some Python errors I could address.

Today, one of three things is happening: (i) it is just stuck on building with nothing in the build log, (ii) the app “runs” but I get a 504 gateway error with nothing in the build log, or (iii) I get a `Runtime error ### Space not ready. Reason: Error, exitCode: 1, message: None`

I have tried rebooting my project from the settings tab a couple times already too, as suggested in another HuggingFace forum post.

I’ve tried looking around for some other posts, and error (iii) suggests it might be [server related](https://discuss.huggingface.co/t/build-error-exit-code-1/27963)?

If anyone would be able to help, that’d be great!

Thanks!

---

<div class="post-metadata">

**Author:** ![dikshap07](https://avatars.discourse-cdn.com/v4/letter/d/6f9a4e/32.png) [@dikshap07](https://discuss.huggingface.co/u/dikshap07)\
**Post date:** [March 15, 2023, 2:42am UTC](https://discuss.huggingface.co/t/simple-gradio-app-is-stuck-on-building-and-or-having-exitcode-1/33825/2 "2023-03-15T02:42:33Z")

</div>

Hi,  
I am facing the same problem, my simple app(my app is using resnet18 model, can that be the problem?) has been stuck since this afternoon with the same error:  
"

# Runtime error

## Space not ready. Reason: Error, exitCode: 1, message: None"

No error logs.

Let me know if you figure something out!

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![pvasudev](https://avatars.discourse-cdn.com/v4/letter/p/46a35a/32.png) [@pvasudev](https://discuss.huggingface.co/u/pvasudev)\
**Post date:** [March 15, 2023, 5:01pm UTC](https://discuss.huggingface.co/t/simple-gradio-app-is-stuck-on-building-and-or-having-exitcode-1/33825/3 "2023-03-15T17:01:48Z")

</div>

I think it might have just been a server error. Mine works fine now.

Also, just a heads up, [this](https://discuss.huggingface.co/t/runtimeerror-share-is-not-supported-when-you-are-in-spaces/15316/2) article solved my original Python error about `launch(..., share=True, ...)`

---

<div class="post-metadata">

**Author:** ![DebasishDhal99](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/debasishdhal99/32/19893_2.png) [@DebasishDhal99](https://discuss.huggingface.co/u/DebasishDhal99)\
**Post date:** [September 28, 2023, 11:08am UTC](https://discuss.huggingface.co/t/simple-gradio-app-is-stuck-on-building-and-or-having-exitcode-1/33825/4 "2023-09-28T11:08:46Z")

</div>

Mine was stuck in building., until I noticed that there was an error in a commit.

Basically, I edited a file and the commit had not been registered for some reason, that’s why it was taking forever to build. I did the commit again, and it worked.
