# Remote compilation broken

**URL:** <https://cern-ipmc-forum.web.cern.ch/t/remote-compilation-broken/186>\
**Category:** Software\
**Created:** [February 22, 2023, 2:31pm UTC](https://cern-ipmc-forum.web.cern.ch/t/remote-compilation-broken/186 "2023-02-22T14:31:13Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![behrens](https://cern-ipmc-forum.web.cern.ch/letter_avatar_proxy/v4/letter/b/8c91f0/32.png) [@behrens](https://cern-ipmc-forum.web.cern.ch/u/behrens)\
**Post date:** [February 22, 2023, 2:31pm UTC](https://cern-ipmc-forum.web.cern.ch/t/remote-compilation-broken/186/1 "2023-02-22T14:31:13Z")

</div>

Hi there,  
I’m currently trying to recompile the firmware for our DTH boards using the compile.py script in the repository but it fails.  
The last positive messages I get:  
 → Compilation successfully finished  
 → Archive creation successfully finished  
 → Process finished

but then the unpacking of ./.tmp/ipmc-binaries.zip fails: zipfile.BadZipfile: File is not a zip file  
This file has a size of 265 bytes and can’t contain the firmware.

Can you please check what goes wrong?

cheers

ulf

---

<div class="post-metadata">

**Author:** ![joos](https://cern-ipmc-forum.web.cern.ch/letter_avatar_proxy/v4/letter/j/a3d4f5/32.png) [@joos](https://cern-ipmc-forum.web.cern.ch/u/joos)\
**Post date:** [February 23, 2023, 10:15am UTC](https://cern-ipmc-forum.web.cern.ch/t/remote-compilation-broken/186/2 "2023-02-23T10:15:07Z")

</div>

Hello Ulf,

We can reproduce the problem but don’t know yet what has happened. I will come back to you as soon as possible.

Cheers,

Markus

---

<div class="post-metadata">

**Author:** ![joos](https://cern-ipmc-forum.web.cern.ch/letter_avatar_proxy/v4/letter/j/a3d4f5/32.png) [@joos](https://cern-ipmc-forum.web.cern.ch/u/joos)\
**Post date:** [February 23, 2023, 1:31pm UTC](https://cern-ipmc-forum.web.cern.ch/t/remote-compilation-broken/186/3 "2023-02-23T13:31:48Z")

</div>

Hello Ulf,

Ralf has found the source of the problem and fixed it. I don’t get the problem anymore with my reference project. Please be so kind and compile your project again.

Cheers,

Markus

---

<div class="post-metadata">

**Author:** ![behrens](https://cern-ipmc-forum.web.cern.ch/letter_avatar_proxy/v4/letter/b/8c91f0/32.png) [@behrens](https://cern-ipmc-forum.web.cern.ch/u/behrens)\
**Post date:** [February 23, 2023, 1:45pm UTC](https://cern-ipmc-forum.web.cern.ch/t/remote-compilation-broken/186/4 "2023-02-23T13:45:48Z")

</div>

Hi Markus,

I can confirm that it works again for me

thanks

ulf

---

<div class="post-metadata">

**Author:** ![behrens](https://cern-ipmc-forum.web.cern.ch/letter_avatar_proxy/v4/letter/b/8c91f0/32.png) [@behrens](https://cern-ipmc-forum.web.cern.ch/u/behrens)\
**Post date:** [March 10, 2023, 6:10pm UTC](https://cern-ipmc-forum.web.cern.ch/t/remote-compilation-broken/186/5 "2023-03-10T18:10:36Z")

</div>

Hi Markus,

another issue with remote compilation: suddenly I can’t start the compilation anymore and I’m getting:  
LoginError: wrong ursername / password  
when I start python compile.py

Can you please check?

cheers

ulf

---

<div class="post-metadata">

**Author:** ![spiwoks](https://cern-ipmc-forum.web.cern.ch/letter_avatar_proxy/v4/letter/s/e19b73/32.png) [@spiwoks](https://cern-ipmc-forum.web.cern.ch/u/spiwoks)\
**Post date:** [March 11, 2023, 1:28pm UTC](https://cern-ipmc-forum.web.cern.ch/t/remote-compilation-broken/186/6 "2023-03-11T13:28:18Z")

</div>

Dear Ulf,

Sorry, that was my fault. I migrated the interactive login on the web page to the new SSO scheme, but had not checked the pogrammatic login for the remote compilation. This will require still a bit more work. In the meantime, I have reverted the web application to the previous SSO scheme, and the remote compilation should again work. Please let me know if you are still having problems.

Cheers,  
Ralf.

---

<div class="post-metadata">

**Author:** ![behrens](https://cern-ipmc-forum.web.cern.ch/letter_avatar_proxy/v4/letter/b/8c91f0/32.png) [@behrens](https://cern-ipmc-forum.web.cern.ch/u/behrens)\
**Post date:** [March 13, 2023, 10:11am UTC](https://cern-ipmc-forum.web.cern.ch/t/remote-compilation-broken/186/7 "2023-03-13T10:11:39Z")

</div>

Thanks Ralf, it works again for us

cheers

ulf
