Skip to content
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

PARSE ERROR: Argument: -r (--resolution-mm) Couldn't find delimiter for this argument! when used in Powershell on Windows 10. #73

Open
DarkAlchy opened this issue Aug 7, 2021 · 5 comments

Comments

@DarkAlchy
Copy link

Following a video from January and I typed what he typed for the -r command, and it crapped out.

PS E:\Downloads\Windows-MSVC\bin> .\arcwelder.exe -r=.1 body26568.gcode b-aw.gcode
PARSE ERROR: Argument: -r (--resolution-mm)
Couldn't find delimiter for this argument!

Powershell is the cmd (console) replacement that Microsoft has been heavily trying to get people over to it.

@FormerLurker
Copy link
Owner

Hi @DarkAlchy, sorry for the delayed response! I was out of town last week, and am still playing catch-up!

I am familiar with powershell, but haven't tried it with ArcWelder. I use a third party argument library called TCLAP to parse the command line arguments. I will take a look at this ASAP, but for the time being, maybe try -r=0.1? Also, can you grab the version number of the arcwelder.exe binary you are using? Run ```arcwelder.exe --help`` and the version should look something like this:

Version: 1.1.0, Branch: HEAD, BuildDate: 2021-01-24T20:19:26Z

Thanks!

@DarkAlchy
Copy link
Author

The r value is irrelevant as it simply will not parse it. Version: 1.1.0, Branch: HEAD, BuildDate: 2021-01-24T20:19:26Z

@FormerLurker
Copy link
Owner

@DarkAlchy, looks like an issue with TCLAP and powershell. The following form seems to work:

image

I will see what I can do, but I'm guessing this will require me to create an issue on the TCLAP github since it appears to be upstream. In the meanwhile, let me know if the workaround helps you out.

@DarkAlchy
Copy link
Author

DarkAlchy commented Aug 11, 2021

I bet so. I have seen this before many years ago where the parameter used was actually a parameter for the interpreter. I wonder if TCLAP has something internal that uses -r? It takes the long form so it is something with -r though I only used that so might be more than just that parameter too.

Thank you.

@FormerLurker
Copy link
Owner

I appreciate the report, and will add a note about this in the help. I will test the other parameters too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants