<div dir="ltr">Is there a short term workaround you can suggest? I tried searching for the error message in the debian package sources, something like "Re-installing the plugin" or "plugin.*could not be loaded" but couldn't find anything.<div><br></div><div>Ernesto</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 24, 2024 at 2:29 PM Ernesto Alfonso <<a href="mailto:erjoalgo@gmail.com">erjoalgo@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thank you Gregor, it would definitely work. It would also be nice to be able to remove the bundled plugin after clicking "remove plugin", and this may be a separate issue.<div><br></div><div>Ernesto</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 24, 2024 at 4:42 AM Gregor Riepl <<a href="mailto:onitake@gmail.com" target="_blank">onitake@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Ernesto,<br>
<br>
> Any time I open cura, I see two annoying popup messages:<br>
...<br>
> - clicking the "Remove plugin" button in the popup<br>
> - attempting the "pip install trimesh" workaround<br>
> - clicking "Marketplace -> Installed", unchecking the two problematic plugins<br>
...<br>
> None of these solutions appears to have any effect.<br>
<br>
Yes, that's a well-known issue. Sorry about that...<br>
<br>
> I saw a reference somewhere to the package python3-trimesh, but "apt-cache search trimesh" returned no results, and the package doesn't seem to exist.<br>
<br>
The problem with trimesh is that it relies on partially undefined behavior in numpy, which causes it to behave incorrectly on 32-bit architectures.<br>
<br>
See the ITP bug here: <a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950920" rel="noreferrer" target="_blank">https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950920</a><br>
My patch for the issue doesn't use the correct types, and I'd prefer not having to maintain it myself in the end. The issue should be fixed in numpy, IMHO.<br>
<br>
There is one possible solution that would make most users happy, however:<br>
<br>
- Factoring out the two Cura plugins into a separate package<br>
- Adding a Recommends: dependency on this package to Cura<br>
- Making the package runtime-depend on python3-trimesh<br>
- Packaging trimesh for 64-bit archs only<br>
<br>
I haven't checked if this would actually work, but I think it's the correct solution until the numpy developers have figured out a solution for the typing issue.<br>
<br>
Would that work for you?<br>
<br>
Regards,<br>
Gregor<br>
</blockquote></div>
</blockquote></div>