inkstitch / inkstitch

Ink/Stitch: an Inkscape extension for machine embroidery design
https://inkstitch.org
GNU General Public License v3.0
986 stars 172 forks source link

auto_fill: path_to_stitches: TypeError: 'NoneType' object is not iterable #3223

Open anitarafiq opened 1 month ago

anitarafiq commented 1 month ago

Windows 10 version: 10.0.22631

Ink/Stitch Version: v3.1.0 (windows) 2024-07-27 09:05

Traceback (most recent call last): File "lib\elements\element.py", line 641, in handle_unexpected_exceptions File "lib\elements\element.py", line 605, in embroider File "lib\elements\fill_stitch.py", line 961, in to_stitch_groups File "lib\elements\fill_stitch.py", line 1044, in do_auto_fill File "lib\debug\debug.py", line 166, in decorated File "lib\stitches\auto_fill.py", line 116, in auto_fill File "lib\debug\debug.py", line 166, in decorated File "lib\stitches\auto_fill.py", line 929, in path_to_stitches TypeError: 'NoneType' object is not iterable head-of-a-lion-with-a-crown-logo-free-vector

kaalleen commented 1 month ago

Thank you for the error report. Can you upload the svg file which was causing the issue? The uploaded file is a jpg file.

anitarafiq commented 1 month ago

Thank you for the error report. Can you upload the svg file which was causing the issue? The uploaded file is a jpg file.

Thank you for the error report. Can you upload the svg file which was causing the issue? The uploaded file is a jpg file.

lion lion

kaalleen commented 1 month ago

Interesting. Thank you. Can you describe your last steps before the error showed up?

anitarafiq commented 1 month ago

Well this error is happening with the fill stitch only when I run it with stroke it runs perfectly but in fill settings it only worked with gradient fill with imperfect filling and auto fill didn't work at all

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Kaalleen @.> Sent: Friday, October 4, 2024 6:31:30 PM To: inkstitch/inkstitch @.> Cc: anitarafiq @.>; Author @.> Subject: Re: [inkstitch/inkstitch] bug (Issue #3223)

Interesting. Thank you. Can you describe your last steps before the error showed up?

— Reply to this email directly, view it on GitHubhttps://github.com/inkstitch/inkstitch/issues/3223#issuecomment-2393966862, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BL2TSTKIUQW55P65RSIXQR3ZZ2YFFAVCNFSM6AAAAABPMA7M4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJTHE3DMOBWGI. You are receiving this because you authored the thread.Message ID: @.***>

kaalleen commented 1 month ago

That's a bit strange. I tried to reproduce the error, but can't. Anybody else able to reproduce?

tyrosinase commented 1 month ago

That's a bit strange. I tried to reproduce the error, but can't. Anybody else able to reproduce?

I couldn't (on 3.1.0/Linux).

kaalleen commented 1 month ago

Thanks for testing it!

kaalleen commented 5 days ago

@anitarafiq Is there a chance that you had underpathing disabled when the error showed up?

anitarafiq commented 4 days ago

Kallen my dear what is under patching??

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Kaalleen @.> Sent: Wednesday, November 20, 2024 9:10:09 AM To: inkstitch/inkstitch @.> Cc: anitarafiq @.>; Mention @.> Subject: Re: [inkstitch/inkstitch] auto_fill: path_to_stitches: TypeError: 'NoneType' object is not iterable (Issue #3223)

@anitarafiqhttps://github.com/anitarafiq Is there a chance that you had underpathing disabled when the error showed up?

— Reply to this email directly, view it on GitHubhttps://github.com/inkstitch/inkstitch/issues/3223#issuecomment-2487581057, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BL2TSTMMLCNG2MVZPKJKRP32BQRUDAVCNFSM6AAAAABPMA7M4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBXGU4DCMBVG4. You are receiving this because you were mentioned.Message ID: @.***>

kaalleen commented 4 days ago

My questions was, if you disabled the option "underpath" in the fill params :)

https://inkstitch.org/docs/stitches/fill-stitch/#params