Giter Site home page Giter Site logo

Comments (24)

davidusb-geek avatar davidusb-geek commented on August 17, 2024

If you are using an ARM architecture (RPi's), then just wait a few more seconds for the images to build.

from emhass.

neil-ennis avatar neil-ennis commented on August 17, 2024

I try to add this repo:
https://github.com/davidusb-geek/emhass-add-on

I get this error:
https://github.com/davidusb-geek/emhass is not a valid add-on repository

Note the error message has a different URI from the repo.

It could just be me - I'm a bit of a gumby, but if I'm doing something wrong, please point me in the right direction.

from emhass.

GeoDerp avatar GeoDerp commented on August 17, 2024

Just tried with https://github.com/davidusb-geek/emhass-add-on.git. Seems to work for me. Let us know if your still having issues.

I have noticed it can be finicky. Maybe restarting HA (or updating) and trying again may resolve some issues.

from emhass.

marst444 avatar marst444 commented on August 17, 2024

Running on a "homeassistant green"
Waiting out did not help.
Tried the above mentioned https instead, no luck:

2024-03-12 12:38:06.999 ERROR (MainThread) [homeassistant.components.hassio.handler] /store/repositories return code 400
2024-03-12 12:38:06.999 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /store/repositories -

Have updated to latest version and restarted.
No success.

from emhass.

GeoDerp avatar GeoDerp commented on August 17, 2024

Running on a "homeassistant green" Waiting out did not help. Tried the above mentioned https instead, no luck:

2024-03-12 12:38:06.999 ERROR (MainThread) [homeassistant.components.hassio.handler] /store/repositories return code 400 2024-03-12 12:38:06.999 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /store/repositories -

Have updated to latest version and restarted. No success.

Thanks @marst444 , the error Failed to to call /store/repositories - is interesting.
Is it possible you could get to the terminal and run ping github.com ? could be a time or DNS issue.

from emhass.

GeoDerp avatar GeoDerp commented on August 17, 2024

Could you also run uname -a (to check architecture and kernel version, should be aarch64). the ssh addon should allow you to do both commands.

from emhass.

davidusb-geek avatar davidusb-geek commented on August 17, 2024

Actually I just realized now that the images for ARM build failed!

image

This is intriguing because the build for docker testing passed correctly here on the emhass core tests:

image

from emhass.

GeoDerp avatar GeoDerp commented on August 17, 2024

Actually I just realized now that the images for ARM build failed!

image

This is intriguing because the build for docker testing passed correctly here on the emhass core tests:

image

Interesting. Ill have a look at the workflow and see if I can find anything. I wonder if its a publish issue and not a build issue.

from emhass.

davidusb-geek avatar davidusb-geek commented on August 17, 2024

Oh boy with more than 5k of lines that's some logging there.
But it seems that for example Publish-armv7 is trying to pull the ghcr.io/home-assistant/amd64-builder:latest image to build this. Probably the cause of the late failure when building?

I wonder if its a publish issue and not a build issue.

Definitely blocked on build

from emhass.

GeoDerp avatar GeoDerp commented on August 17, 2024

Oh boy with more than 5k of lines that's some logging there. But it seems that for example Publish-armv7 is trying to pull the ghcr.io/home-assistant/amd64-builder:latest image to build this. Probably the cause of the late failure when building?

Probably. im sure its the smallest issue. I think I might know what it is. I like how 0.8.2 worked without and issue as well ahaha

Im wondering if its another piwheel timeout issue.

from emhass.

GeoDerp avatar GeoDerp commented on August 17, 2024

The arm builds should take like 15m not 4hrs. So its almost like piwheel wasn't running propperly. Re running the action again could be enough to fix that. Might be good to put in a measure to make sure piwheels is running correctly.

from emhass.

davidusb-geek avatar davidusb-geek commented on August 17, 2024

Ok re-running...

from emhass.

marst444 avatar marst444 commented on August 17, 2024

github ping.pdf

from emhass.

GeoDerp avatar GeoDerp commented on August 17, 2024

its also having a lot of setuptools issues. maybe a pip install or apt-get may help. but why would it only brake once?

from emhass.

GeoDerp avatar GeoDerp commented on August 17, 2024

github ping.pdf

thanks @marst444, my version seems to be different from yours. Mine being 6.1.73-haos-raspi. Since your running arch64 it should be good to go, you can also ping github fine I see. So i'm wondering if there is a difference with haos-raspi and haos. This may require some time to look into. (if time or a patch doesn't resolve issues)

from emhass.

GeoDerp avatar GeoDerp commented on August 17, 2024

Meanwhile the action worked. @davidusb-geek 🤦
My guess, a pi wheel timeout issue.
@marst444 , you could give it a bit and try again and see if the new Docker image fixes the problem.

@davidusb-geek maybe there is a way to throw an error or retry, on pip install if it cant talk to piwheels. We can also set fail-fast: true. and so the whole publish action fails if one arch fails.

from emhass.

davidusb-geek avatar davidusb-geek commented on August 17, 2024

Yes it worked now.
Yes that parameter can be a nice option to not wait 4hrs because of a timeout problem

from emhass.

GeoDerp avatar GeoDerp commented on August 17, 2024

We could also add packages like setup tools in so if it needs to compile the packages it can without error.

from emhass.

marst444 avatar marst444 commented on August 17, 2024

Still no go for me though. Trying both suggested https:
https://github.com/davidusb-geek/emhass-add-on
https://github.com/davidusb-geek/emhass-add-on.git

2024-03-12 19:50:28.598 ERROR (MainThread) [homeassistant.components.hassio.handler] /store/repositories return code 400
2024-03-12 19:50:28.598 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /store/repositories -
2024-03-12 19:50:37.436 ERROR (MainThread) [homeassistant.components.hassio.handler] /store/repositories return code 400

2024-03-12 19:50:37.437 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /store/repositories -

from emhass.

davidusb-geek avatar davidusb-geek commented on August 17, 2024

Well that seems like a problem with your HA instance. Are you able to add any other repository at all?

from emhass.

marst444 avatar marst444 commented on August 17, 2024

Yes I can. And also add addons from repo. But cannot add the "https://github.com/davidusb-geek/emhass-add-on"
Errors as above....
bild

from emhass.

marst444 avatar marst444 commented on August 17, 2024

But now it showed up! This time i only had to wait it out a little longer it seems :) Will try to install now! :)

from emhass.

marst444 avatar marst444 commented on August 17, 2024

Yes. Now its installed. Just the configure part to get it up and running i guess :) Thanx for your help!

from emhass.

davidusb-geek avatar davidusb-geek commented on August 17, 2024

Glad to hear. Closing then.

from emhass.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.