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

wx._core.wxAssertionError: idx < m_size #2963

Open rmhoward33322 opened 5 months ago

rmhoward33322 commented 5 months ago

Traceback (most recent call last): File "inkstitch.py", line 84, in File "inkex\base.py", line 250, in run File "lib\extensions\params.py", line 793, in effect wx._core.wxAssertionError: C++ assertion "idx < m_size" failed at C:\PROJECTS\bb2\dist-win32-py38\build\ext\wxWidgets\include\wx/vector.h(498) in wxVector<class wxDisplayImpl *>::at():

Victory Sports Logo 2020_Official exploded

kaalleen commented 5 months ago

It looks as if you don't use one of our builds. Can you describe how you installed Ink/Stitch?

rmhoward33322 commented 5 months ago

I looked up ink/stitch in google.

Took me to inkstitch.org

Under the heading “NEWS” there were 4 version choices, I selected 3.01, downloaded and installed it.

From: Kaalleen @.> Sent: Monday, June 3, 2024 5:43 PM To: inkstitch/inkstitch @.> Cc: rmhoward33322 @.>; Author @.> Subject: Re: [inkstitch/inkstitch] unexpected error (Issue #2963)

It looks as if you don't use one of our builds. Can you describe how you installed Ink/Stitch?

— Reply to this email directly, view it on GitHub https://github.com/inkstitch/inkstitch/issues/2963#issuecomment-2146176122 , or unsubscribe https://github.com/notifications/unsubscribe-auth/A6XUASCBLIGESI3J2DJDHYDZFTPO3AVCNFSM6AAAAABIWSMHP2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBWGE3TMMJSGI . You are receiving this because you authored the thread. https://github.com/notifications/beacon/A6XUASBVJFK5DOF54SR3GLDZFTPO3A5CNFSM6AAAAABIWSMHP2WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTT75QGHU.gif Message ID: @. @.> >

kaalleen commented 5 months ago

Huh, ok. The path looks a bit strange I thought... Well... then let's investigate. Which display do you have and what is your screen resolution?

rmhoward33322 commented 5 months ago

Not sure what you are asking about the display, it’s the screen on my laptop, resolution is 3840 x 2400.

From: Kaalleen @.> Sent: Tuesday, June 4, 2024 2:44 PM To: inkstitch/inkstitch @.> Cc: rmhoward33322 @.>; Author @.> Subject: Re: [inkstitch/inkstitch] unexpected error (Issue #2963)

Huh, ok. The path looks a bit strange I thought... Well... then let's investigate. Which display do you have and what is your screen resolution?

— Reply to this email directly, view it on GitHub https://github.com/inkstitch/inkstitch/issues/2963#issuecomment-2148180607 , or unsubscribe https://github.com/notifications/unsubscribe-auth/A6XUASF3YQW56WTLQEFVXW3ZFYDGZAVCNFSM6AAAAABIWSMHP2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBYGE4DANRQG4 . You are receiving this because you authored the thread.Message ID: @.***>

kaalleen commented 5 months ago

Because the error message indicates, that it is having issues with your display. Would you mind to try out a recent development build to see if you are still seeing the error message? Try for example: https://github.com/inkstitch/inkstitch/releases/tag/dev-build-rejbasket-version-geos-update Pick the exe file for your system (most probably 64bit).

kaalleen commented 5 months ago

You will also need to simplify your design. Those small dots aren't well suited for embroidery. It would be a hard challenge to stitch them out.

rmhoward33322 commented 5 months ago

When I received the error, I didn’t have the small dots selected. In fact the only thing selected was

And the program did a poor job of emulating the image.

From: Kaalleen @.> Sent: Tuesday, June 11, 2024 2:54 AM To: inkstitch/inkstitch @.> Cc: rmhoward33322 @.>; Author @.> Subject: Re: [inkstitch/inkstitch] unexpected error (Issue #2963)

You will also need to simplify your design. Those small dots aren't well suited for embroidery. It would be a hard challenge to stitch them out.

— Reply to this email directly, view it on GitHub https://github.com/inkstitch/inkstitch/issues/2963#issuecomment-2159933331 , or unsubscribe https://github.com/notifications/unsubscribe-auth/A6XUASFV733H4SLHTT47F5DZG2NJPAVCNFSM6AAAAABIWSMHP2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJZHEZTGMZTGE . You are receiving this because you authored the thread. https://github.com/notifications/beacon/A6XUASBN5ON7ZFBCKANI7ETZG2NJPA5CNFSM6AAAAABIWSMHP2WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUAXX3ZG.gif Message ID: @. @.> >

kaalleen commented 5 months ago

When I received the error, I didn’t have the small dots selected. In fact the only thing selected was

And the program did a poor job of emulating the image.

Does this means, that it sometimes works and sometimes not? I would have expected, that the error isn't depending on the current selected elements...

Do you know how to try recent development builds?

Edit: I am not sure if you were trying to upload images with the latest post. If so, could you login in to GitHub and try again? Sending images per mail usually doesn't work on GitHub.

rmhoward33322 commented 5 months ago

I was never able to get the ribbon to translate properly. It always cuts off the ends. This happens when I have just one layer selected or I had all of the layers selected. But the error only displayed when I had the ribbon layer selected by itself. I am new to Inkscape/Inkstitch. I haven’t tried development builds

From: Kaalleen @.> Sent: Thursday, June 13, 2024 4:58 AM To: inkstitch/inkstitch @.> Cc: rmhoward33322 @.>; Author @.> Subject: Re: [inkstitch/inkstitch] unexpected error (Issue #2963)

When I received the error, I didn’t have the small dots selected. In fact the only thing selected was

And the program did a poor job of emulating the image.

Does this means, that it sometimes works and sometimes not? I would have expected, that the error isn't depending on the current selected elements...

Do you know how to try recent development builds?

— Reply to this email directly, view it on GitHub https://github.com/inkstitch/inkstitch/issues/2963#issuecomment-2165048937 , or unsubscribe https://github.com/notifications/unsubscribe-auth/A6XUASGZZBYRSADMP4XNO4TZHFNIVAVCNFSM6AAAAABIWSMHP2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRVGA2DQOJTG4 . You are receiving this because you authored the thread.Message ID: @.***>

kaalleen commented 5 months ago

Ok, that is an interesting bit of information.

I haven’t tried development builds

Take for example this build here: https://github.com/inkstitch/inkstitch/releases/tag/dev-build-capellan-fix-filter-whitespace

We are close to a release, so any error report on current development releases is very valuable for us.

rmhoward33322 commented 5 months ago

How do I use the dev build? Do I uninstall the current installation and install the dev build? I don’t see an install program. If I try to run inkstitch.exe in the bin directory I get this:

thanks

From: Kaalleen @.> Sent: Thursday, June 13, 2024 10:05 AM To: inkstitch/inkstitch @.> Cc: rmhoward33322 @.>; Author @.> Subject: Re: [inkstitch/inkstitch] unexpected error (Issue #2963)

Ok, that is an interesting bit of information.

I haven’t tried development builds

Take for example this build here: https://github.com/inkstitch/inkstitch/releases/tag/dev-build-capellan-fix-filter-whitespace

We are close to a release, so any error report on current development releases is very valuable for us.

— Reply to this email directly, view it on GitHub https://github.com/inkstitch/inkstitch/issues/2963#issuecomment-2165775261 , or unsubscribe https://github.com/notifications/unsubscribe-auth/A6XUASFP7OPRUDPC7MQSJDDZHGRIXAVCNFSM6AAAAABIWSMHP2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRVG43TKMRWGE . You are receiving this because you authored the thread. https://github.com/notifications/beacon/A6XUASCADABMFF2GRIUTLC3ZHGRIXA5CNFSM6AAAAABIWSMHP2WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUBC4NZ2.gif Message ID: @. @.> >

tyrosinase commented 5 months ago

I should probably rewrite this to be more general (it was in the context of trying out some new satin features) but https://silverseams.com/2024/04/installing-pre-releases.html will get you on the right track.

kaalleen commented 5 months ago

Pick the exe file for your system and run it. It will automatically overwrite previous inkstitch versions.

The installation process doesn't differ from the one for official releases: https://inkstitch.org/docs/install-windows/