Closed sl33nyc closed 2 years ago
Is that the only output you got?
It looks like it's definitely a problem parsing the arguments, otherwise it would have reached the line that puts the code version in the output.
If you removed the trailing /
on the --svg
option it doesn't crash the same way?
Is that the only output you got?
Yes
If you removed the trailing / on the --svg option it doesn't crash the same way?
Yes
As a side-effect of removing the /
, it attempts to output SVG's to the path, /var/www/html/goveebttemploggergvh-XXXXXXXX.svg
.
@sl33nyc Thanks for pointing this out. I think I introduced the problem a couple of months ago and am not positive how my system has been correctly working. I just pushed new code that should fix it.
I also included a validated parameter dump if you use --verbose 3 or higher. It was especially useful because the machine I was testing didn't have those specific paths, so my validation routine didn't use either one initially.
If this now works properly, you can close the issue. ;-)
I think it works great now! Thanks for the quick fix!
It seems like the trailing
/
on the--svg
directory is what causes the crash. I'm documenting here and will try putting my C++ hat on to submit a follow up pull request. (It's been awhile since I've written C++, so bear with me... :grin:)