# SurfaceCut : error on edit points

**URL:** <https://discourse.slicer.org/t/surfacecut-error-on-edit-points/18430>\
**Category:** Development\
**Created:** [June 30, 2021, 1:55pm UTC](https://discourse.slicer.org/t/surfacecut-error-on-edit-points/18430 "2021-06-30T13:55:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chir.set](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/chir.set/32/66982_2.png) [@chir.set](https://discourse.slicer.org/u/chir.set)\
**Post date:** [June 30, 2021, 1:55pm UTC](https://discourse.slicer.org/t/surfacecut-error-on-edit-points/18430/1 "2021-06-30T13:55:23Z")

</div>

Sorry to bother you again.

Editing placed points in SurfaceCut generates this error :

> Traceback (most recent call last):  
> File “/home/user/bin/Slicer\_Ext/SlicerSegmentEditorExtraEffects/SegmentEditorSurfaceCut/SegmentEditorSurfaceCutLib/SegmentEditorEffect.py”, line 257, in onEdit  
> self.logic.setPointsFromString(self, self.segmentMarkupNode, fPosStr)  
> TypeError: setPointsFromString() takes 3 positional arguments but 4 were given

Using SlicerSegmentEditorExtraEffects at 9933c4c2175.

Regards.

---

<div class="post-metadata">

**Author:** ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Post date:** [June 30, 2021, 2:47pm UTC](https://discourse.slicer.org/t/surfacecut-error-on-edit-points/18430/2 "2021-06-30T14:47:35Z")

</div>

This was resolved yesterday in [BUG: Fix traceback due to incorrect number of input arguments by jamesobutler · Pull Request #40 · lassoan/SlicerSegmentEditorExtraEffects · GitHub](https://github.com/lassoan/SlicerSegmentEditorExtraEffects/pull/40) and is available in the latest version of SegmentEditorExtraEffects that can be downloaded with the latest Slicer Preview using the ExtensionsManager.
