You are not logged in.

#1 2022-01-03 17:21:07

exsign
Member
Registered: 2021-10-29
Posts: 3

[SOLVED] Cura crashing when adding support blocker

Ultimaker Cura is crashing when trying to add a support blocker.

Should be the same as described in https://github.com/Ultimaker/Cura/issues/10785
Problem is also solved for me by the described solution of editing PickingPass.py, see https://github.com/Ultimaker/Cura/issue … -971942181

Maybe helping some others, who are also getting crashes of Cura.

Error traceback (for the sake of completeness):

Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/UM/Qt/Bindings/MainWindow.py", line 186, in mousePressEvent
    self._mouse_device.handleEvent(event)
  File "/usr/lib/python3.10/site-packages/UM/Qt/QtMouseDevice.py", line 25, in handleEvent
    self.event.emit(e)
  File "/usr/lib/python3.10/site-packages/UM/Signal.py", line 219, in emit
    self.__performEmit(*args, **kwargs)
  File "/usr/lib/python3.10/site-packages/UM/Signal.py", line 332, in __performEmit
    func(dest, *args, **kwargs)
  File "/usr/lib/python3.10/site-packages/UM/Controller.py", line 397, in event
    if self._active_tool and self._active_tool.event(event):
  File "/usr/lib/cura/plugins/SupportEraser/SupportEraser.py", line 91, in event
    picked_position = picking_pass.getPickedPosition(event.x, event.y)
  File "/usr/lib/python3.10/site-packages/cura/PickingPass.py", line 93, in getPickedPosition
    distance = self.getPickedDepth(x, y)
  File "/usr/lib/python3.10/site-packages/cura/PickingPass.py", line 81, in getPickedDepth
    distance = output.pixel(px, py) # distance in micron, from in r, g & b channels
TypeError: arguments did not match any overloaded call:
  pixel(self, QPoint): argument 1 has unexpected type 'float'
  pixel(self, int, int): argument 1 has unexpected type 'float'

Offline

Board footer

Powered by FluxBB