# Build error with "hello world" Gradio example (logs don't contain an obvious error)

**URL:** <https://discuss.huggingface.co/t/build-error-with-hello-world-gradio-example-logs-dont-contain-an-obvious-error/19738>\
**Category:** Spaces\
**Created:** [June 28, 2022, 5:55pm UTC](https://discuss.huggingface.co/t/build-error-with-hello-world-gradio-example-logs-dont-contain-an-obvious-error/19738 "2022-06-28T17:55:47Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![kristyc](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/kristyc/32/5224_2.png) [@kristyc](https://discuss.huggingface.co/u/kristyc)\
**Post date:** [June 28, 2022, 5:55pm UTC](https://discuss.huggingface.co/t/build-error-with-hello-world-gradio-example-logs-dont-contain-an-obvious-error/19738/1 "2022-06-28T17:55:47Z")

</div>

Hi all,

I’m getting a build error with the following logs for this space: [Hello World Again - a Hugging Face Space by kristyc](https://huggingface.co/spaces/kristyc/hello-world-again)

```auto
Build error
build failed with exit code: 1, message: None

--> FROM docker.io/library/python:3.8.9@sha256:49d05fff9cb3b185b15ffd92d8e6bd61c20aa916133dca2e3dbe0215270faf53
CACHED

--> RUN apt-get update && apt-get install -y git-lfs
DONE 13.1s

--> RUN git lfs install
DONE 0.2s

--> RUN apt-get update && apt-get install -y ffmpeg libsm6 libxext6 cmake libgl1-mesa-glx
DONE 24.2s

```

Not sure if this is a coincidence, but this seemed to start happening to my spaces after I changed my account username. I initially saw it for one of my private spaces and wasn’t sure if it was related to something specific in that demo, so I created this more simple example to verify.

I have tried a factory reboot. Please let me know if anyone has any thoughts on how else to troubleshoot this. Happy to provide more details if needed. Thanks!

---

<div class="post-metadata">

**Author:** ![abspython](https://avatars.discourse-cdn.com/v4/letter/a/c2a13f/32.png) [@abspython](https://discuss.huggingface.co/u/abspython)\
**Post date:** [June 28, 2022, 6:07pm UTC](https://discuss.huggingface.co/t/build-error-with-hello-world-gradio-example-logs-dont-contain-an-obvious-error/19738/2 "2022-06-28T18:07:51Z")

</div>

I think I have the same issue too. But I have no build logs for my spaces. I tried to replicate my old space with no change in code, still it failed in building and gives no log. I suppose is this a HuggingFace issue caused by the increase in traffic to the site?

---

<div class="post-metadata">

**Author:** ![kristyc](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/kristyc/32/5224_2.png) [@kristyc](https://discuss.huggingface.co/u/kristyc)\
**Post date:** [June 28, 2022, 6:10pm UTC](https://discuss.huggingface.co/t/build-error-with-hello-world-gradio-example-logs-dont-contain-an-obvious-error/19738/3 "2022-06-28T18:10:20Z")

</div>

Sometimes my logs are completely empty as well. The example I pasted above is intermittent after a factory reboot.

---

<div class="post-metadata">

**Author:** ![abspython](https://avatars.discourse-cdn.com/v4/letter/a/c2a13f/32.png) [@abspython](https://discuss.huggingface.co/u/abspython)\
**Post date:** [June 28, 2022, 6:11pm UTC](https://discuss.huggingface.co/t/build-error-with-hello-world-gradio-example-logs-dont-contain-an-obvious-error/19738/4 "2022-06-28T18:11:18Z")

</div>

Yeah, mine too. But in my case the factory reset doesn’t helped me much.

---

<div class="post-metadata">

**Author:** ![blastd](https://avatars.discourse-cdn.com/v4/letter/b/54ee81/32.png) [@blastd](https://discuss.huggingface.co/u/blastd)\
**Post date:** [June 28, 2022, 8:21pm UTC](https://discuss.huggingface.co/t/build-error-with-hello-world-gradio-example-logs-dont-contain-an-obvious-error/19738/5 "2022-06-28T20:21:15Z")

</div>

Huh luckily it’s only an Issue that came up some hours, ago. At first i tought it was me making real bad python code.  
I’ve got the same issue, Build failed and still fails with no logs, even when I revert the code.

---

<div class="post-metadata">

**Author:** ![kristyc](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/kristyc/32/5224_2.png) [@kristyc](https://discuss.huggingface.co/u/kristyc)\
**Post date:** [June 28, 2022, 8:41pm UTC](https://discuss.huggingface.co/t/build-error-with-hello-world-gradio-example-logs-dont-contain-an-obvious-error/19738/6 "2022-06-28T20:41:17Z")

</div>

I guess it’s good to hear it’s not just me. Sounds like the fact that it happened after I changed my account username is just a coincidence.

---

<div class="post-metadata">

**Author:** ![kristyc](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/kristyc/32/5224_2.png) [@kristyc](https://discuss.huggingface.co/u/kristyc)\
**Post date:** [June 28, 2022, 10:16pm UTC](https://discuss.huggingface.co/t/build-error-with-hello-world-gradio-example-logs-dont-contain-an-obvious-error/19738/7 "2022-06-28T22:16:27Z")

</div>

Update to share. My spaces are still not building, but I am seeing more logs now: [Hello World Again - a Hugging Face Space by kristyc](https://huggingface.co/spaces/kristyc/hello-world-again)

Seems to failing at the push image step due to an internal error. Snippet:

```auto
--> Pushing image
error: unexpected status: 503 Service Temporarily Unavailable
retrying in 1s
error: unexpected status: 503 Service Temporarily Unavailable
retrying in 1s
error: unexpected status: 503 Service Temporarily Unavailable
retrying in 1s
.........
error: unexpected status: 503 Service Temporarily Unavailable
retrying in 4s
error: unexpected status: 503 Service Temporarily Unavailable
retrying in 4s
error: unexpected status: 503 Service Temporarily Unavailable
error: unexpected status: 503 Service Temporarily Unavailable

--> ERROR: unexpected status: 503 Service Temporarily Unavailable

```

---

<div class="post-metadata">

**Author:** ![kristyc](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/kristyc/32/5224_2.png) [@kristyc](https://discuss.huggingface.co/u/kristyc)\
**Post date:** [June 29, 2022, 12:45am UTC](https://discuss.huggingface.co/t/build-error-with-hello-world-gradio-example-logs-dont-contain-an-obvious-error/19738/8 "2022-06-29T00:45:22Z")

</div>

All my spaces are now up and running. I don’t know the root cause, but looks like an issue (possibly transient) with down internal dependencies.

---

<div class="post-metadata">

**Author:** ![chris-rannou](https://avatars.discourse-cdn.com/v4/letter/c/7feea3/32.png) [@chris-rannou](https://discuss.huggingface.co/u/chris-rannou)\
**Post date:** [June 30, 2022, 3:32pm UTC](https://discuss.huggingface.co/t/build-error-with-hello-world-gradio-example-logs-dont-contain-an-obvious-error/19738/9 "2022-06-30T15:32:59Z")

</div>

There was an issue with the internal build system unrelated to spaces specs/code. Issue is solved now

---

<div class="post-metadata">

**Author:** ![circulartext](https://avatars.discourse-cdn.com/v4/letter/c/85e7bf/32.png) [@circulartext](https://discuss.huggingface.co/u/circulartext)\
**Post date:** [October 12, 2023, 11:48pm UTC](https://discuss.huggingface.co/t/build-error-with-hello-world-gradio-example-logs-dont-contain-an-obvious-error/19738/10 "2023-10-12T23:48:31Z")

</div>

it must be back

---

<div class="post-metadata">

**Author:** ![radames](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/radames/32/28246_2.png) [@radames](https://discuss.huggingface.co/u/radames)\
**Post date:** [October 13, 2023, 12:37am UTC](https://discuss.huggingface.co/t/build-error-with-hello-world-gradio-example-logs-dont-contain-an-obvious-error/19738/11 "2023-10-13T00:37:25Z")

</div>

It should be back to normal now. Apologies for the interruption
