-
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Various issues on MacOS #207
Comments
Hi @e-e-e It's good to hear from someone interested in our project, especially under the hood. How did you discover the project? I've have a bunch of messages in the last 4 days and I don't know why. I assume it's some content aggregator. The library is very much in development (version 1.0 has no planned release date since it's pretty much just me writing it at the moment and we don't get a lot in donations), so there will be bizarre segfaults and stack overflows. The best way to report them is as separate issues with backtrace. For example the valgrind output from:
along with the description of your system. If you've compiled with the debug symbols (this is the default) then it should give you specific line numbers. Another option is the GNU debugger which is
which drops you into a new shell where you can inspect the runtime during execution. The commands So your report here would be more like 4 reports. Which would be a back and forth as we try to fix them. Help with documentation is also useful at the moment, but that is housed on our other repository https://github.com/Embroidermodder/embroidermodder in the docs folder. Is there anything in particular that you'd really like to see this library do? Cheers, Robin |
Thanks for getting back so quickly @robin-swift. I did have a quick look at the latest commits and figured you were early stages, and still very much WIP. I hoped sharing the issues I found might be helpful. I ended up at this project through looking at embroidery formats - thinking I would have to hack something myself, then I found inksketch and the lovely work on pyembroidery by @tatarize. Their project cites the origins as coming from this work via the java implementation. I have been toying with the idea of building a little ipad app to help me generated embroidery from drawings, but obviously python and ios is not a natural fit, so I started to dig into your project to see where it was at. Did not want to reinvent the wheel, and thought that I may be able to help contribute to another projects development.
Ideally all I have been looking for is a simple way to translate low level commands into common embroidery formats. As for the bugs above - I will see if I can get stack trace information using the instructions you have provided and open separate issues here. Once I open them I will close this issue. Thanks so much for open sourcing your work. I really appreciate the labour in support of the commons. |
Oh man, I left this real broken. So the original intension was to share a lot of code between the embedded (i.e. embroidery machine) code, the C library and the CLI. So what I had done was separated out a bunch of data into CSV files to reduce the compiled binary size but haven't finished setting up how to access that data. My latest commit fixes the to flag parsing which was just missing. I'll have a look at those segfaults. |
The last commit should fix some more problems: be sure to |
I am new to machine embroidery, but have been looking for good libraries to help programatically generate patterns.
This library looks wonderful - so I cloned it and attempted to play with it locally.
I am a mac user and the cli tool compiles. However when running it there are a lot of issues that it's difficult for me to isolate and diagnose.
-to
flag fails withPlease enter an output format for your file, see --help.
this is using the commandembroider -t dst cmmn.jef
--test
and--full-test-suite
fails with[1] 61997 segmentation fault ./embroider --test
--render
fails with:Basic conversion passes without seg faults - using the command
emboider cmmn.jef cmmn.txt
. However, converting to csv is showing indications of where segfault may be coming from as the "description" field for threads are showing some weirdness:and for another file it gives:
In good news
embroider -F
andembroider --help
is working as expected.My basic hardware settings are:
Running OSX 12.6
Let me know if there is any other information that would be helpful to provide?
I am interested in your project and would love to contribute anyway I can. Not a solid C developer.
The text was updated successfully, but these errors were encountered: