Closed salfter closed 7 months ago
Building from https://github.com/p3p/pyheatshrink/releases/download/0.3.3/pyheatshrink-pip.zip (as described in the docs) doesn't work either...same error. I tried making a tarball that included the missing header file (/usr/include/python3.11/cpython/longintrepr.h, which some pages, but wound up with a bunch more errors.
I'm beginning to think that Python 3.11 is to blame, based on similar issues with other projects. I'm going to try again with Python 3.10, which I've figured out how to get on the latest Alpine instead of 3.11.
It looks like marlin-binary-protocol was never updated following the obsolescence of Python 2. I've fixed it to remove the heatshrink dependency...it'll only use heatshrink2 now. It builds just fine that way. I've forked it and pushed out a new release:
The plugin should work with this version, but I've not had a chance to test it just yet. If it does work, you might want to update the installation instructions accordingly.
This issue has been automatically marked as stale because it has not had any recent activity. Please add a reply if you want to keep this issue active, otherwise it will be automatically closed in 5 days.
This issue has been automatically locked because there was no further activity after it was closed. Please open a new issue for any related problems.
Hardware Setup BTT SKR 1.4 Turbo
Describe the problem https://github.com/trippwill/marlin-binary-protocol was archived over two years ago. It doesn't build under current versions of Python. I had used it previously to upgrade firmware in my AM8 as the LPC176x support isn't suitable for my installation (UART connection to the printer, not USB). The firmware updater plugin still requires marlin-binary-protocol to support binary file transfers...or it says it does, anyway.
(More precisely, it looks like it's heatshrink that isn't building properly, but it's a dependency of marlin-binary-protocol, which in turn is a dependency of this plugin.)
Log Files