# Build Error - no log?!

**URL:** <https://discuss.huggingface.co/t/build-error-no-log/19747>\
**Category:** Spaces\
**Created:** [June 28, 2022, 8:56pm UTC](https://discuss.huggingface.co/t/build-error-no-log/19747 "2022-06-28T20:56:35Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikachou](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@mikachou](https://discuss.huggingface.co/u/mikachou)\
**Post date:** [June 28, 2022, 8:56pm UTC](https://discuss.huggingface.co/t/build-error-no-log/19747/1 "2022-06-28T20:56:35Z")

</div>

Hi,  
I’m trying to upload my app on Spaces.  
This app built with gradio works on my computer but I have a build error without any explanation (no log).  
So I’m interested if anyone knows something about this issue.  
Thanks in advance  
[https://huggingface.co/spaces/mikachou/dog-breed-detection](https://huggingface.co/spaces/mikachou/dog-breed-detection)

---

<div class="post-metadata">

**Author:** ![mikachou](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@mikachou](https://discuss.huggingface.co/u/mikachou)\
**Post date:** [June 28, 2022, 9:36pm UTC](https://discuss.huggingface.co/t/build-error-no-log/19747/2 "2022-06-28T21:36:48Z")

</div>

Finally I have a “ValueError: bad marshal data (unknown type code)”

due to the fact that I have trained my model with tf on python 3.7 (Google colab) and the execution environment is in python 3.8  
(it works at home with pyenv and python 3.7)  
thanks

---

<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:** [June 29, 2022, 5:27pm UTC](https://discuss.huggingface.co/t/build-error-no-log/19747/3 "2022-06-29T17:27:58Z")

</div>

hi @mikachou I see you’re now using the [`python_version`](https://huggingface.co/docs/hub/spaces-config-reference#:~:text=streamlit%2520or%2520static.-,python_version,-%253A%2520string) parameter  
Did you succeed running your project?

---

<div class="post-metadata">

**Author:** ![mikachou](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@mikachou](https://discuss.huggingface.co/u/mikachou)\
**Post date:** [June 29, 2022, 8:39pm UTC](https://discuss.huggingface.co/t/build-error-no-log/19747/4 "2022-06-29T20:39:22Z")

</div>

Hi,

Sorry for late answer.

I put `python_version` parameter, it worked yesterday.

But today I changed some files in project, and parameters in `README.md`.  
I also changes the space url from `/dog-breed-detection` to `/dog-breed-identification`.  
Anyway it stopped working.

For today I’ve always had the same message :

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

```

with no log

My app works on local machine. Please help me!

Thanks in advance.

---

<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:** [June 29, 2022, 8:42pm UTC](https://discuss.huggingface.co/t/build-error-no-log/19747/5 "2022-06-29T20:42:56Z")

</div>

sorry @mikacho, it seems like we’re having issues on our infra, which is affecting Spaces. You could try a factory reboot meanwhile.

---

<div class="post-metadata">

**Author:** ![mikachou](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@mikachou](https://discuss.huggingface.co/u/mikachou)\
**Post date:** [June 29, 2022, 8:46pm UTC](https://discuss.huggingface.co/t/build-error-no-log/19747/6 "2022-06-29T20:46:12Z")

</div>

no pb,  
I already tried factory reboot many times, I will try it again.  
keep finger croosed 🤞 hope it will work

---

<div class="post-metadata">

**Author:** ![mikachou](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@mikachou](https://discuss.huggingface.co/u/mikachou)\
**Post date:** [June 29, 2022, 8:50pm UTC](https://discuss.huggingface.co/t/build-error-no-log/19747/7 "2022-06-29T20:50:15Z")

</div>

OK I’ve just tried factory reboot again twice, each time after a few second I’ve had the problem : build error, message:None, no logs

---

<div class="post-metadata">

**Author:** ![mikachou](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@mikachou](https://discuss.huggingface.co/u/mikachou)\
**Post date:** [June 30, 2022, 8:00am UTC](https://discuss.huggingface.co/t/build-error-no-log/19747/8 "2022-06-30T08:00:39Z")

</div>

@radames  
OK I made many factory reboot, and I’ve just done another one earlier this morning and this one finally worked.  
Is this case (build error; message: None; no log) likely to occur again in future?  
Thank you

---

<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:35pm UTC](https://discuss.huggingface.co/t/build-error-no-log/19747/9 "2022-06-30T15:35:08Z")

</div>

Issue were linked to an outage on an underlying service of the space build process. The build error case with no logs is not supposed to happen in the nominal cases.

---

<div class="post-metadata">

**Author:** ![mikachou](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@mikachou](https://discuss.huggingface.co/u/mikachou)\
**Post date:** [June 30, 2022, 5:23pm UTC](https://discuss.huggingface.co/t/build-error-no-log/19747/10 "2022-06-30T17:23:31Z")

</div>

@chris-rannou thanks for answer  
I hope it won’t happen again 🤞  
I would like to make later further modifications on code but now I fear a bit about deployments 😬  
I’ll do the modifications another time.  
Thanks

---

<div class="post-metadata">

**Author:** ![cointegrated](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/cointegrated/32/28379_2.png) [@cointegrated](https://discuss.huggingface.co/u/cointegrated)\
**Post date:** [November 3, 2022, 2:25pm UTC](https://discuss.huggingface.co/t/build-error-no-log/19747/11 "2022-11-03T14:25:30Z")

</div>

Hi everyone!  
I am having the same problem [here](https://huggingface.co/spaces/slone/myv-translit/discussions/1) (also reported [here](https://discuss.huggingface.co/t/build-error-when-accessing-space-app/14057/4)).  
After a forced rebuild, the space works for a while, but then the “Build error” with empty logs happens again.

Is there a way to debug or fix it?
