Coder Social home page Coder Social logo

Comments (12)

fredrikbaberg avatar fredrikbaberg commented on September 26, 2024 1

Adding gcc is not an issue. There was previously a configuration option to install development packages (including gcc), but I'll probably just add it from the start instead. Disadvantage is that the plugin will be larger from the start.

from hassio-addons.

fredrikbaberg avatar fredrikbaberg commented on September 26, 2024 1

I'm not sure why but pyheatshrink does not install properly, which means I can't get this to work now.

I'll add the following tools for firmware update to OctoPrint Next Dev, hopefully one of them can be used as a replacement: avrdude, stm32flash, dfu-programmer, dfu-util. Version 0.4.100, with those added, should be available in an hour or so.

from hassio-addons.

fredrikbaberg avatar fredrikbaberg commented on September 26, 2024 1

I think I've figured out why it didn't work. I can't use the numbered version according to the instructions, but it works if I don't specify a version.
I plan to clean up the repository, and will make sure it is possible to have it install.

Thank you for the suggestion of installing cython.

from hassio-addons.

fredrikbaberg avatar fredrikbaberg commented on September 26, 2024 1

This should now be included in addon "3DPrinter", which is intended to replace all current "OctoPrint" variations in this repository.

from hassio-addons.

fredrikbaberg avatar fredrikbaberg commented on September 26, 2024

Thank you for all the reports!

It would be best to solve that from the plugin side, so I've created an issue there, and will make sure to add the requirements on gcc etc. to the addon.

from hassio-addons.

bruvv avatar bruvv commented on September 26, 2024

as mentoined there, gcc is needed for heatshrink, which has to be build in the octoprint env. But thank you for the quick reply and all the work you are putting into it :) love it! Keep it up

from hassio-addons.

bruvv avatar bruvv commented on September 26, 2024

Awesome job! I managed to install pyheatshrink in de container itself. So it should be an option. What is the error you're getting ?

from hassio-addons.

fredrikbaberg avatar fredrikbaberg commented on September 26, 2024

This is the output from my development environment (AMD64 architecture): https://pastebin.com/afeZArPg

The base image is homeassistant/amd64-base-debian:bullseye, you can see the full Dockerfile in: https://github.com/fredrikbaberg/hassio-addons/blob/master/octoprint-next-dev/Dockerfile

I suspect the issue is compatibility with Python 3.9, but am not sure.

from hassio-addons.

bruvv avatar bruvv commented on September 26, 2024

As I'm not home I cannot check ATM what I did. From what I can see everything should be good. Will look into it later this week. I do know it had indeed something Todo with python 3. Perhaps this helps: https://github.com/eerimoq/pyheatshrink

from hassio-addons.

bruvv avatar bruvv commented on September 26, 2024

It was pretty easy in the end :) #204

from hassio-addons.

fredrikbaberg avatar fredrikbaberg commented on September 26, 2024

Thank you. I've merged the PR now, will need to build new images before it's available.

from hassio-addons.

fredrikbaberg avatar fredrikbaberg commented on September 26, 2024

Unfortunately the build fails as pip3 is not available at that stage of the build. I've done a modification for it to complete build.

from hassio-addons.

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.