Hi Zito,

   2026-02-20 21:31:49,283 - ERROR - [JobQueueWorker [3]] UM.JobQueue.run [135]:     
line_types = numpy.fromstring(polygon.line_type, dtype = "u1")  # Convert 
bytearray to numpy array
   2026-02-20 21:31:49,283 - ERROR - [JobQueueWorker [3]] UM.JobQueue.run 
[135]: ValueError: The binary mode of fromstring is removed, use frombuffer 
instead

Upstream still has this line of code [1], so I suppose we'll need to fix it 
ourselves.

The deprecation happened in numpy 1.14, according to [2], but it hadn't 
generated ValueErrors up until 2.3.0 (see release notes [3]).

Can you confirm that this is really the same bug as reported by Arcademan?
If not, please file a separate bug report.

I'll forward the issue upstream and try to prepare a fix.

Thanks!

[1] 
https://github.com/Ultimaker/Cura/blob/main/plugins/CuraEngineBackend/ProcessSlicedLayersJob.py#L143
[2] https://numpy.org/doc/stable/reference/generated/numpy.fromstring.html
[3] https://numpy.org/doc/stable/release/2.3.0-notes.html#expired-deprecations

Reply via email to